4,000 emails/month for free | Mailtrap sends real emails now!

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


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
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Shift logo

Shift

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

Shift
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review