rakshitbharat / orm
为 Laravel 5 设计的 Doctrine ORM 桥接器
资助包维护!
patrickbrouwers
1.6.2
2020-07-01 13:42 UTC
Requires
- php: ^7.2.5
- doctrine/orm: ^2.6|^2.7
- doctrine/persistence: ^1.3
- symfony/serializer: ^2.7|^3.0|^4.0|^5.0
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).
- 1.6.x-dev
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.x-dev
- 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.x-dev
- 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.x-dev
- 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.x-dev
- 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.x-dev
- 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.x-dev
- 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
This package is auto-updated.
Last update: 2024-09-29 05:42:47 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 许可协议。
