Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erdiko/doctrine
Easily add Doctrine in your application
https://github.com/erdiko/doctrine
doctrine entities entity erdiko php
Last synced: 1 day ago
JSON representation
Easily add Doctrine in your application
- Host: GitHub
- URL: https://github.com/erdiko/doctrine
- Owner: Erdiko
- License: mit
- Created: 2016-03-05T00:30:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-04T23:50:36.000Z (about 7 years ago)
- Last Synced: 2024-08-18T07:29:05.887Z (3 months ago)
- Topics: doctrine, entities, entity, erdiko, php
- Language: PHP
- Homepage: http://erdiko.org/framework/databases/
- Size: 16.6 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Doctrine
Use the Doctrine ORM in your framework. This package will install Doctrine and include a way to configure your db credentials.
Install
-------To use doctrine in your Erdiko project simply run
composer require erdiko/doctrine
Then update /app/config/shared/database.json with the specifics of your database
You're all set! Create some entities/models and you'll be working with Doctrine
If you don't have a config file called /app/config/shared/database.json then copy the one in this package into that location (located at /vendor/erdiko/doctrine/app/config/shared/database.json)
Extras
------We added some sample code of how to use Doctrine. It includes a sample entity and model to query the entity. Code is located at /vendor/erdiko/doctrine/app/
It's a great way to get going, but the best way to learn how to use doctrine is to visit the site and read the docs.
http://www.doctrine-project.org/