lightning / orm
轻量快速PHP ORM,使用Hydrahon(查询构建器)、Carbon(DateTime扩展)和Eloquent的集合组件(Laravel)。
0.3.37
2024-05-21 11:32 UTC
Requires
- php: ^7.2
- clancats/hydrahon: ^1.1.8
- doctrine/inflector: ^1.3
- nesbot/carbon: 1.36.2|^2
- tightenco/collect: ^5.7
Requires (Dev)
- phpunit/phpunit: ^7.5
- dev-master
- 0.3.37
- 0.3.36
- 0.3.35
- 0.3.34
- 0.3.33
- 0.3.32
- 0.3.31
- 0.3.30
- 0.3.29
- 0.3.28
- 0.3.27
- 0.3.26
- 0.3.25
- 0.3.24
- 0.3.23
- 0.3.22
- 0.3.21
- 0.3.20
- 0.3.19
- 0.3.18
- 0.3.17
- 0.3.16
- 0.3.15
- 0.3.14
- 0.3.13
- 0.3.12
- 0.3.11
- 0.3.10
- 0.3.9
- 0.3.8
- 0.3.7
- 0.3.6
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.24
- 0.2.23
- 0.2.22
- 0.2.21
- 0.2.20
- 0.2.19
- 0.2.18
- 0.2.17
- 0.2.16
- 0.2.15
- 0.2.14
- 0.2.13
- 0.2.12
- 0.2.11
- 0.2.10
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-feature/hotfix_exception_bag_construct
- dev-develop
- dev-feature/new_select_arg
- dev-feature/hotfix_unset
- dev-feature/empty_collection_one_to_many
- dev-feature/bug_exception_bag
- dev-feature/lazy_loaded_entity_property_is_set
- dev-feature/lazyload_and_pluck
- dev-feature/many_to_many_prefix
- dev-feature/tryLoadingFromUniqueFields
- dev-feature/loadOrNew_cache_fix
- dev-feature/cache_fix
- dev-feature/cache_for_existing_entities
- dev-feature/cache_on_chained_relations
- dev-feature/many_to_one_on_null
- dev-feature/relation_prefix
- dev-feature/exceptionbag_dedoublon_messages
- dev-feature/relations_cache
- dev-feature/relation_prefix_one_to_many
- dev-feature/correctif
- dev-feature/factory
- dev-feature/many_to_many_with_prefix
- dev-feature/entitites_collection_construct_parameters
- dev-feature/specific_entitiescollection
- dev-feature/iterator_aggregate
- dev-feature/collections_many_to_many
- dev-feature/truncate_in_entitytest
- dev-feature/mac_decimal_separator
- dev-feature/issues_pull_request_11
- dev-feature/many_to_many
- dev-feature/specific_setter
- dev-feature/array_to_entities_collection
- dev-feature/clone_collection
- dev-feature/without_prefix
- dev-feature/new-collection-functions
- dev-feature/save-all-exeptions
- dev-feature/collection-relations
- dev-feature/external-collections
This package is auto-updated.
Last update: 2024-09-21 12:40:25 UTC
README
Lightning ORM 是一个用 PHP 编写的 对象关系映射器。
为什么要重新发明轮子?
待办...
安装
Lightning ORM 遵循 PSR-4
自动加载,可以使用 composer 安装
$ composer require 'lightning/orm'
运行测试
root 用户应该能够无需密码连接到 MySQL。
您还应该运行以下两个命令来安装依赖项和测试数据库
$ composer install
$ tests/bin/init.sh
之后,您可以使用 Composer 运行测试
$ composer test
快速开始
待办...
依赖项
Lightning ORM 使用 Hydrahon(查询构建器)、Carbon(DateTime扩展)和 Eloquent 的集合组件(Laravel)。
许可
MIT 许可证(MIT)。有关更多信息,请参阅 许可文件。