PHP Eloquent

Open-source PHP projects categorized as Eloquent

Top 23 PHP Eloquent Projects

  • laravel-mongodb

    A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)

    Project mention: likelyhood of MongoDb composer package being maintained for 10x? | | 2023-02-28

    I use jenssegers /laravel-mongodb composer package fairly heavily. this issue seems to imply the mongodb plugin is sort of in limbo, and may be in jeopardy.

  • laravel-medialibrary

    Associate files with Eloquent models

    Project mention: What's up with spatie not touching s3 | | 2022-10-06

    The current version as of writing this is 10.5.2 released 8 days ago.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • corcel

    Use WordPress backend with Laravel or any PHP application

    Project mention: How do i deal with wordpress if i dont want to code in its ecosystem but can code | | 2022-08-23

    Or alternatively - there are php packages for working directly with a wp database outside of wordpress:,

  • bouncer

    Laravel Eloquent roles and abilities.

    Project mention: Best way to only allow a user to view their own models? | | 2022-10-12

    Bouncer on the other hand supports scoped permission assignments where the assigned permission applies to a specific model only.

  • cms

    Multilingual PHP CMS built with Laravel and bootstrap (by LavaLite)

  • laravel-auditing

    Record the change log from models in Laravel

    Project mention: Looking for a package that I can track the changes on a model | | 2022-08-04

    My go has been Laravel Auditing for audits, complete with who, when, where (url), what fields changed and exactly from what and to what value.

  • laravel-translatable

    Making Eloquent models translatable

    Project mention: Laravel Localization with Database Items | | 2022-06-28

    Have a look at It allows you to save translations of model fields.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • EloquentFilter

    An Eloquent Way To Filter Laravel Models And Their Relationships

    Project mention: Workplaces for digital nomads: the API | | 2022-10-31

    Apart from the validators, requests are passed through EloquentFilter-based filters - a very expressive solution instead of a bunch of if's and when's.

  • laravel-tags

    Add tags and taggable behaviour to your Laravel app

  • eloquent-sortable

    Sortable behaviour for Eloquent models

    Project mention: What is the correct way to store position of items related to a parent model ? | | 2022-11-29

    You can just store a sort order field on the model or use a package like this:

  • laravel-sluggable

    An opinionated package to create slugs for Eloquent models

    Project mention: Laravel Ecommerce Tutorial: Part 5, Managing Brands | | 2023-02-08

    We also need the ability to generate slugs using Spatie Sluggable, we will configure that as well

  • laravel

    Reliese Laravel Model Generator (by reliese)

    Project mention: Using pre-existing database - HELP | | 2022-07-17
  • rememberable

    Query caching for Laravel

  • laravel-love

    Add Social Reactions to Laravel Eloquent Models. It lets people express how they feel about the content. Fully customizable Weighted Reaction System & Reaction Type System with Like, Dislike and any other custom emotion types. Do you react?

  • laravel-model-states

    State support for models

    Project mention: What's the best way to implement a state machine / state pattern with my Eloquent models in Laravel? Thanks :) | | 2022-11-29
  • compoships

    Multi-columns relationships for Laravel's Eloquent ORM

    Project mention: Multi column unique constraint | | 2022-09-09

    There are packages that do 'compound keys' or composite keys: These could work but are more about the relationships.

  • laravel-eloquent-query-cache

    Adding cache on your Laravel Eloquent queries' results is now a breeze.

  • laravel-roles

    A Powerful package for handling roles and permissions in Laravel with GUI. Supports Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6.0, 7.0, 8.0, and 9.0

    Project mention: Best way to only allow a user to view their own models? | | 2022-10-12

    I use this package. It’s been around for a while, and I like it more than the spatie one personally.

  • laravel-schemaless-attributes

    Add schemaless attributes to Eloquent models

    Project mention: Choosing Between Relationships and JSON Columns | | 2022-09-16
  • squire

    A library of static Eloquent models for common fixture data. (by squirephp)

  • laravel-imageup

    Auto Image & file upload, resize and crop for Laravel eloquent model using Intervention image

    Project mention: laravel-imageup VS php-image-resize - a user suggested alternative | | 2022-04-30
  • laravel-mediable

    Laravel-Mediable is a package for easily uploading and attaching media files to models with Laravel 5.

    Project mention: Intervention or Spatie Laravel-MediaLibrary (or both)? | | 2022-11-19

    If I might offer an alternative, I am the maintainer of a similar competing library: laravel-mediable ( It covers all of the same bases as spatie's lib, though it has a different underlying architecture that makes it more suitable for a number of additional use cases. While medialibrary has a 1-many architecture which allows each file to be attached to one model, Mediable is many-to-many which allows files to be reused and referenced by multiple entities. It also offers full integration of the intervention library, and provides a system for keeping track of all of the variants of a given file that you have created.

  • laravel-moderation

    A simple Content Moderation System for Laravel 5.* that allows you to Approve or Reject resources like posts, comments, users, etc.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-02-28.

PHP Eloquent related posts


What are some of the best open-source Eloquent projects in PHP? This list will help you:

Project Stars
1 laravel-mongodb 6,397
2 laravel-medialibrary 5,268
3 corcel 3,930
4 bouncer 3,212
5 cms 2,599
6 laravel-auditing 2,560
7 laravel-translatable 1,942
8 EloquentFilter 1,534
9 laravel-tags 1,394
10 eloquent-sortable 1,196
11 laravel-sluggable 1,152
12 laravel 1,107
13 rememberable 1,043
14 laravel-love 1,020
15 laravel-model-states 929
16 compoships 890
17 laravel-eloquent-query-cache 881
18 laravel-roles 847
19 laravel-schemaless-attributes 844
20 squire 770
21 laravel-imageup 710
22 laravel-mediable 666
23 laravel-moderation 510
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives