Registry / orm / laravel-doctrine-extensions

laravel-doctrine-extensions

JSON →
library2.0.3phppackagistunverified

Doctrine extensions for Laravel

composer require laravel-doctrine/extensions
INSTALL
IMPORT
SIG · LARAVEL-DOCTRINE-E
L
laravel-doctrine-extensions
ormphpv2.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ExtensionsServiceProvider
use LaravelDoctrine\Extensions\ExtensionsServiceProvider;

Register the service provider and use Doctrine in Laravel

// In config/app.php 'providers' => [ // ... LaravelDoctrine\Extensions\ExtensionsServiceProvider::class, ], // Usage in a controller use Doctrine\ORM\EntityManagerInterface; class UserController extends Controller { public function index(EntityManagerInterface $em) { $users = $em->getRepository('App\User')->findAll(); return response()->json($users); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
OpenAI (training)
1
Resources
laravel-doctrine-extensions — pip install laravel-doctrine-extensions · libregistry