Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alireaza/doctrine-orm
Doctrine ORM
https://github.com/alireaza/doctrine-orm
composer doctrine orm php
Last synced: about 2 months ago
JSON representation
Doctrine ORM
- Host: GitHub
- URL: https://github.com/alireaza/doctrine-orm
- Owner: alireaza
- License: mit
- Created: 2021-12-30T01:59:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-06T11:18:54.000Z (almost 3 years ago)
- Last Synced: 2024-11-27T20:12:18.020Z (2 months ago)
- Topics: composer, doctrine, orm, php
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Doctrine ORM
## Install
Via Composer
```bash
$ composer require alireaza/doctrine-orm
```## Usage
```php
use AliReaza\Doctrine\ORM\Doctrine;$doctrine = new Doctrine([
'driver' => 'pdo_mysql',
'host' => 127.0.0.1,
'port' => 3306,
'user' => 'root',
'password' => '',
'dbname' => 'database_name'
], [
'app/Entities'
]);$em = $doctrine->getEntityManager();
```## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.