orm

A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen

Github星跟踪图

Laravel Doctrine ORM

GitHub release
Travis
StyleCI
Scrutinizer
Packagist
Packagist

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

Read the full documentation.

Versions

Version, Supported Laravel Versions
:---------, :----------
1.0.x, 5.1.x
1.1.x, 5.2.x
1.2.x, 5.2.x, 5.3.x
1.3.x, 5.4.x
~1.4.0, 5.5.x
~1.4.3, 5.6.x
~1.4.8, 5.7.x
~1.4.10, 5.8.x
~1.5, 6.x

Require this package

composer require "laravel-doctrine/orm:1.5.*"

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.

主要指标

概览
名称与所有者laravel-doctrine/orm
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2015-07-13 20:37:59
推送于2025-05-22 02:40:39
最后一次提交
发布数134
最新版本名称3.1.1 (发布于 )
第一版名称1.0.0 (发布于 )
用户参与
星数833
关注者数39
派生数175
提交数1k
已启用问题?
问题数294
打开的问题数3
拉请求数275
打开的拉请求数1
关闭的拉请求数90
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?