tecnodesignc / orm
A Doctrine ORM bridge for Laravel 5
1.7.3
2020-10-16 04:26 UTC
Requires
- php: ^7.3
- doctrine/inflector: ^2.0
- doctrine/orm: ^2.6|^2.7
- doctrine/persistence: ^1.3
- illuminate/auth: ^8.0
- illuminate/console: ^8.0
- illuminate/container: ^8.0
- illuminate/contracts: ^8.0
- illuminate/pagination: ^8.0
- illuminate/routing: ^8.0
- illuminate/support: ^8.0
- illuminate/validation: ^8.0
- illuminate/view: ^8.0
- symfony/serializer: ^2.7|^3.0|^4.0|^5.0
Requires (Dev)
- barryvdh/laravel-debugbar: ~3.0
- illuminate/log: ^8.0
- illuminate/notifications: ^8.0
- illuminate/queue: ^8.0
- itsgoingd/clockwork: ~1.9
- mockery/mockery: ^1.3.1
- phpunit/phpunit: ^9.3
Suggests
- fzaninotto/faker: Required to use the entity factory builder (~1.4).
- laravel-doctrine/acl: to integrate Doctrine roles & permissions with Laravel's Authorization system (~1.0)
- laravel-doctrine/extensions: to add Behavioral and Query/Type Extensions for Laravel Doctrine (~1.0)
- laravel-doctrine/fluent: Fluent mapping driver (alternative to xml, yaml, ... (~1.1).
- laravel-doctrine/migrations: to add support for migrations in Laravel Doctrine (~1.0)
- yajra/laravel-oci8: Support for Laravel native queue and session database drivers in Oracle (~2.0).
This package is auto-updated.
Last update: 2024-10-29 05:59:41 UTC
README
A drop-in Doctrine ORM 2 implementation for Laravel 5+
$scientist = new Scientist( 'Albert', 'Einstein' ); $scientist->addTheory( new Theory('Theory of relativity') ); EntityManager::persist($scientist); EntityManager::flush();
- Easy configuration
- Pagination
- Pre-configured metadata, connections and caching
- Extendable: extend or add your own drivers for metadata, connections or cache
- Fluent, Annotations, YAML, SimplifiedYAML, XML, SimplifiedXML, Config and Static PHP metadata mappings
- Multiple entity managers and connections
- Laravel naming strategy
- Simple authentication implementation
- Password reminders implementation
- Doctrine console commands
- DoctrineExtensions supported
- Timestamps, Softdeletes and TablePrefix listeners
Documentation
Versions
Require this package
composer require "laravel-doctrine/orm:1.6.*"
Because of the auto package discovery feature Laravel 5.5 has, the ServiceProvider and Facades are automatically registered.
To publish the config use:
php artisan vendor:publish --tag="config"
License
This package is licensed under the MIT license.