Orm
Orm stats
- Downloads
- 3M
- Stars
- 807
- Open Issues
- 32
- Forks
- 175
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:
-
Install via Composer:
composer require laravel-doctrine/orm -
Publish Configuration:
php artisan vendor:publish --tag="config" --provider="LaravelDoctrine\ORM\DoctrineServiceProvider" -
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.