Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laravel-doctrine/orm
A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen
https://github.com/laravel-doctrine/orm
doctrine doctrine-extension doctrine-orm hacktoberfest laravel laravel-5-package laravel-package orm
Last synced: 6 days ago
JSON representation
A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen
- Host: GitHub
- URL: https://github.com/laravel-doctrine/orm
- Owner: laravel-doctrine
- License: mit
- Created: 2015-07-13T20:37:59.000Z (over 9 years ago)
- Default Branch: 2.0
- Last Pushed: 2024-05-13T06:56:57.000Z (7 months ago)
- Last Synced: 2024-05-22T04:04:15.371Z (7 months ago)
- Topics: doctrine, doctrine-extension, doctrine-orm, hacktoberfest, laravel, laravel-5-package, laravel-package, orm
- Language: PHP
- Homepage: http://laraveldoctrine.org
- Size: 987 KB
- Stars: 820
- Watchers: 45
- Forks: 178
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-framework - Laravel Doctrine - Doctrine 2 ORM implementation (Popular Packages)
- awesome-laravel - Laravel Doctrine - Implementación de Doctrine ORM (Paquetes utiles)
- laravel-awesome - Laravel Doctrine - Doctrine 2 ORM implementation (Popular Packages)
- awesome-laravel - Laravel Doctrine - Doctrine 2 ORM implementation (Popular Packages)
README
# Laravel Doctrine ORM
[![GitHub release](https://img.shields.io/github/release/laravel-doctrine/orm.svg?style=flat-square)](https://packagist.org/packages/laravel-doctrine/orm)
[![Github actions](https://github.com/laravel-doctrine/orm/workflows/CI/badge.svg?branch=1.8)](https://github.com/laravel-doctrine/orm/actions?query=workflow%3ACI+branch%3A1.7)
[![Scrutinizer](https://img.shields.io/scrutinizer/g/laravel-doctrine/orm.svg?style=flat-square)](https://github.com/laravel-doctrine/orm)
[![Packagist](https://img.shields.io/packagist/dm/laravel-doctrine/orm.svg?style=flat-square)](https://packagist.org/packages/laravel-doctrine/orm)
[![Packagist](https://img.shields.io/packagist/dt/laravel-doctrine/orm.svg?style=flat-square)](https://packagist.org/packages/laravel-doctrine/orm)*A drop-in Doctrine ORM 2 implementation for Laravel*
```php
$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](http://laraveldoctrine.org/docs/current/orm).
## Versions
Version | Supported Laravel Versions
:---------|:----------
~1.5 | 6.x
~1.6 | 7.x
~1.7 | 8.x
~1.8 | 9.x
~2.0 | 10.xBecause of the auto package discovery feature Laravel has, the ServiceProvider and Facades are automatically registered.
To publish the config use:
```bash
php artisan vendor:publish --tag="config" --provider="LaravelDoctrine\ORM\DoctrineServiceProvider"
```## License
This package is licensed under the [MIT license](https://github.com/laravel-doctrine/orm/blob/master/LICENSE).