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
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Tighten logo

Tighten

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

Tighten
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
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Laravel Cloud logo

Laravel Cloud

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

Laravel Cloud
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum