kilip / laravel-doctrine-orm
为 Laravel 5 的 Doctrine ORM 桥接器
资助包维护!
patrickbrouwers
1.7.9
2021-07-15 05:55 UTC
Requires
- php: ^7.3|^8.0
- doctrine/cache: ^1
- doctrine/inflector: ^1.4
- doctrine/orm: ^2.6
- doctrine/persistence: ^1.3.5|^2.0
- 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|^5.0
- 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).
- dev-patch
- 2.0.x-dev
- 1.7.x-dev
- 1.7.9
- 1.7.8
- 1.7.7
- 1.7.6
- 1.7.5
- 1.7.4
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.x-dev
- 1.6.7
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.x-dev
- 1.5.13
- 1.5.12
- 1.5.11
- 1.5.10
- 1.5.9
- 1.5.8
- 1.5.7
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.18
- 1.4.17
- 1.4.16
- 1.4.15
- 1.4.14
- 1.4.13
- 1.4.12
- 1.4.11
- v1.4.10
- 1.4.9
- 1.4.8
- 1.4.7
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.10
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.12
- 1.2.11
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-test
This package is auto-updated.
Last update: 2023-10-10 12:35:43 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
- 时间戳、软删除和表前缀监听器
文档
版本
版本 | 支持的 Laravel 版本 |
---|---|
~1.5 | 6.x |
~1.6 | 7.x |
~1.7 | 8.x |
需要此包
composer require laravel-doctrine/orm doctrine/inflector:"^1.4|^2.0"
由于 Laravel 具有自动包发现功能,ServiceProvider 和 Facades 将自动注册。
要发布配置,请使用
php artisan vendor:publish --tag="config" --provider="LaravelDoctrine\ORM\DoctrineServiceProvider"
许可协议
本软件包受 MIT 许可证 保护。