Orm

laravel-doctrine/orm image

Orm stats

Downloads
3M
Stars
807
Open Issues
32
Forks
175

View on GitHub →

A Doctrine ORM bridge for Laravel 5

Laravel Doctrine ORM

Laravel Doctrine ORM is a comprehensive package that integrates Doctrine ORM 2 seamlessly with Laravel, providing a robust solution for handling database interactions using object-relational mapping. Ideal for developers who prefer Doctrine over Eloquent, this package ensures smooth integration into Laravel projects.

Key Features:

  • Simple Configuration: Set up entities, managers, and repositories effortlessly.
  • Multiple Metadata Mappings: Supports various metadata mappings including Fluent, Annotations, YAML, XML, and more.
  • Multiple Entity Managers and Connections: Manage different databases or connections smoothly.
  • Laravel-Specific Integrations: Includes Laravel naming strategy, simple authentication, and password reminders.
  • Doctrine Extensions: Enhance functionality with supported DoctrineExtensions.
  • Additional Utilities: Features like pagination, timestamping, soft deletes, and table prefixes are available out of the box.
  • Doctrine Console Commands: Leverage Doctrine's powerful console commands directly in Laravel.

Installation and Setup:

  1. Install via Composer:

    composer require laravel-doctrine/orm
  2. Publish Configuration:

    php artisan vendor:publish --tag="config" --provider="LaravelDoctrine\ORM\DoctrineServiceProvider"
  3. Automatic Service Provider Registration: Thanks to Laravel's auto package discovery, ServiceProvider and Facades are registered automatically.

Documentation and Versions:

  • Documentation: Comprehensive guides and references are available on the official documentation site.
  • Compatibility: Supports a range of Laravel versions, from 6.x up to the latest Laravel 9.x.

Laravel Doctrine ORM is perfect for developers looking for a Doctrine-based ORM solution in Laravel, providing a rich set of features that enhance both development speed and application performance.

laravel-doctrine photo

A drop-in Doctrine ORM 2 implementation for Laravel 5+ & Lumen

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Laravel Doctrine Orm Related Articles

Skipper is a powerful visual editor for Laravel Eloquent image

Skipper is a powerful visual editor for Laravel Eloquent

Read article
ActiveRecord and the Beauty Lost in Translation image

ActiveRecord and the Beauty Lost in Translation

Read article
Getting started with Doctrine 2 and Laravel image

Getting started with Doctrine 2 and Laravel

Read article
Tighten logo

Tighten

We help companies turn great ideas into amazing apps, products, and services.

Tighten
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
The Certification of Competence for Laravel logo

The Certification of Competence for Laravel

A community-driven, proctored assessment across 4 levels designed to validate real-world Laravel knowledge, from Junior to mastery-level Artisan. Official Vue.js, Official Nuxt, Angular, React, JS certifications also available.

The Certification of Competence for Laravel
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
Honeybadger logo

Honeybadger

Simple developer-focused application monitoring for Laravel. Error tracking, log management, uptime monitoring, status pages, and more!

Honeybadger
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift