Polyscope - The agent-first dev environment for Laravel

Orm

laravel-doctrine/orm image

Orm stats

Downloads
3M
Stars
807
Open Issues
32
Forks
175

View on GitHub →

A Doctrine ORM bridge for Laravel 5

Laravel Doctrine ORM

Laravel Doctrine ORM is a comprehensive package that integrates Doctrine ORM 2 seamlessly with Laravel, providing a robust solution for handling database interactions using object-relational mapping. Ideal for developers who prefer Doctrine over Eloquent, this package ensures smooth integration into Laravel projects.

Key Features:

  • Simple Configuration: Set up entities, managers, and repositories effortlessly.
  • Multiple Metadata Mappings: Supports various metadata mappings including Fluent, Annotations, YAML, XML, and more.
  • Multiple Entity Managers and Connections: Manage different databases or connections smoothly.
  • Laravel-Specific Integrations: Includes Laravel naming strategy, simple authentication, and password reminders.
  • Doctrine Extensions: Enhance functionality with supported DoctrineExtensions.
  • Additional Utilities: Features like pagination, timestamping, soft deletes, and table prefixes are available out of the box.
  • Doctrine Console Commands: Leverage Doctrine's powerful console commands directly in Laravel.

Installation and Setup:

  1. Install via Composer:

    composer require laravel-doctrine/orm
  2. Publish Configuration:

    php artisan vendor:publish --tag="config" --provider="LaravelDoctrine\ORM\DoctrineServiceProvider"
  3. Automatic Service Provider Registration: Thanks to Laravel's auto package discovery, ServiceProvider and Facades are registered automatically.

Documentation and Versions:

  • Documentation: Comprehensive guides and references are available on the official documentation site.
  • Compatibility: Supports a range of Laravel versions, from 6.x up to the latest Laravel 9.x.

Laravel Doctrine ORM is perfect for developers looking for a Doctrine-based ORM solution in Laravel, providing a rich set of features that enhance both development speed and application performance.

laravel-doctrine photo

A drop-in Doctrine ORM 2 implementation for Laravel 5+ & Lumen

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Laravel Doctrine Orm Related Articles

Skipper is a powerful visual editor for Laravel Eloquent image

Skipper is a powerful visual editor for Laravel Eloquent

Read article
ActiveRecord and the Beauty Lost in Translation image

ActiveRecord and the Beauty Lost in Translation

Read article
Getting started with Doctrine 2 and Laravel image

Getting started with Doctrine 2 and Laravel

Read article
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
LoadForge logo

LoadForge

Scalable load testing for web apps & APIs. Simulate real-world traffic and identify breaking points and performance limits with powerful, scalable load tests designed for Laravel.

LoadForge
Typesense Search logo

Typesense Search

Typesense is an open source, blazing-fast search engine, optimized for helping you build delightful search experiences for your sites and apps. Natively integrated with Laravel Scout.

Typesense Search
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Statamic logo

Statamic

The drop-in ready Laravel CMS you’re been waiting for. Go full-stack or headless, flat file or database – it’s up to you.

Statamic