All Projects → digiaonline → Lumen Doctrine

digiaonline / Lumen Doctrine

Licence: mit
Doctrine module for the Lumen PHP framework.

Projects that are alternatives of or similar to Lumen Doctrine

Lumen-Doctrine-DDD-Example
Domain Driven Design Application Example, built with Lumen 5.3 and Doctrine.
Stars: ✭ 72 (+75.61%)
Mutual labels:  doctrine, lumen
Zf Doctrine Hydrator
A collection of common hydrators for phpro/zf-doctrine-hydration-module
Stars: ✭ 9 (-78.05%)
Mutual labels:  doctrine
Rest Api With Lumen
Rest API boilerplate for Lumen micro-framework.
Stars: ✭ 464 (+1031.71%)
Mutual labels:  lumen
Uuid Doctrine
Allow the use of a ramsey/uuid UUID as Doctrine field type.
Stars: ✭ 751 (+1731.71%)
Mutual labels:  doctrine
Lumen Generator
A Lumen Generator You Are Missing
Stars: ✭ 578 (+1309.76%)
Mutual labels:  lumen
Idea Php Symfony2 Plugin
IntelliJ IDEA / PhpStorm Symfony Plugin
Stars: ✭ 797 (+1843.9%)
Mutual labels:  doctrine
Doctrine Json Odm
An object document mapper for Doctrine ORM using JSON types of modern RDBMS.
Stars: ✭ 420 (+924.39%)
Mutual labels:  doctrine
Zf Doctrine Graphql
GraphQL for Doctrine using Hydrators
Stars: ✭ 36 (-12.2%)
Mutual labels:  doctrine
Doctrinemigrations
[DEPRECATED] Use Phinx instead
Stars: ✭ 24 (-41.46%)
Mutual labels:  doctrine
Bugsnag Laravel
Bugsnag notifier for the Laravel PHP framework. Monitor and report Laravel errors.
Stars: ✭ 746 (+1719.51%)
Mutual labels:  lumen
Laravel Elasticsearch
An easy way to use the official Elastic Search client in your Laravel applications.
Stars: ✭ 717 (+1648.78%)
Mutual labels:  lumen
Lumen Passport
Making Laravel Passport work with Lumen
Stars: ✭ 585 (+1326.83%)
Mutual labels:  lumen
Doctrinetraitbundle
Generate the entities stub methods in a trait
Stars: ✭ 6 (-85.37%)
Mutual labels:  doctrine
Laravel Soap
A soap client wrapper for Laravel
Stars: ✭ 559 (+1263.41%)
Mutual labels:  lumen
Lumen Api Demo
Lumen rest api demo with Dingo/Api, JWT, CORS, PHPUNIT
Stars: ✭ 856 (+1987.8%)
Mutual labels:  lumen
Flextype
Hybrid Content Management System with the freedom of a headless CMS and with the full functionality of a traditional CMS
Stars: ✭ 436 (+963.41%)
Mutual labels:  doctrine
Orm
A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen
Stars: ✭ 712 (+1636.59%)
Mutual labels:  doctrine
Doctrinebehaviors
Doctrine2 behavior traits
Stars: ✭ 782 (+1807.32%)
Mutual labels:  doctrine
Http Basic Auth Guard
HTTP Basic Auth Guard for Lumen 5.x
Stars: ✭ 39 (-4.88%)
Mutual labels:  lumen
Freshdesk Laravel
Freshdesk Service Provider for Laravel 5 and Lumen
Stars: ✭ 14 (-65.85%)
Mutual labels:  lumen

Lumen Doctrine ORM

Code Climate Scrutinizer Code Quality StyleCI Latest Stable Version Total Downloads License

Doctrine module for the Lumen PHP framework.

Requirements

Usage

Installation

Run the following command to install the package through Composer:

composer require nordsoftware/lumen-doctrine

Bootstrapping

Add the following line to bootstrap/app.php:

$app->register('Nord\Lumen\Doctrine\ORM\DoctrineServiceProvider');

You can now use the EntityManager facade or inject the EntityManagerInterface where needed.

Configure

Copy config/doctrine.php into config and modify according to your needs.

The available configurations are:

  • mapping - Mapping driver to use (xml, yaml or annotations), defaults to xml
  • paths - Paths to entity mappings, defaults to an empty array
  • types - Custom Doctrine types to register, defaults to an empty array
  • proxy - Proxy configuration
  • repository - Repository class to use
  • logger - Logger class to use

Run Artisan

Run php artisan and you should see the new commands in the doctrine:* namespace section.

Contributing

Please read the guidelines.

License

See LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].