tecnodesignc / orm
Laravel 5 的 Doctrine ORM 桥接器
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-09-29 05:36:31 UTC
README
Laravel 5+ 的 Doctrine ORM 2 实现的即插即用版本
$scientist = new Scientist( 'Albert', 'Einstein' ); $scientist->addTheory( new Theory('Theory of relativity') ); EntityManager::persist($scientist); EntityManager::flush();
- 易于配置
- 分页
- 预配置元数据、连接和缓存
- 可扩展性:扩展或添加您自己的元数据、连接或缓存驱动器
- 流畅的、注解的、YAML、简化的YAML、XML、简化的XML、配置和静态PHP元数据映射
- 多个实体管理器和连接
- Laravel 命名策略
- 简单的认证实现
- 密码提醒实现
- Doctrine 控制台命令
- 支持 DoctrineExtensions
- 时间戳、软删除和表前缀监听器
文档
版本
需要此包
composer require "laravel-doctrine/orm:1.6.*"
由于 Laravel 5.5 具有自动包发现功能,因此 ServiceProvider 和 Facades 会自动注册。
要发布配置,请使用
php artisan vendor:publish --tag="config"
许可证
此包根据 MIT 许可证 许可。