Search by

folklore / laravel-folklore

dmongeau

The shared foundation of Folklore's Laravel sites: entities, repositories, JSON columns with references, and opt-in modules

Package info

github.com/folkloreinc/laravel-folklore

pkg:composer/folklore/laravel-folklore

Statistics

Installs: 1 996

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 3

v2.0.0-alpha.4 2026-10-24 02:30 UTC

README

The shared foundation of the Laravel sites built by Folklore: entities and repositories over Eloquent models, JSON columns with references to other models (through folklore/laravel-json-data), and opt-in modules for medias, pages, auth and third-party services.

Versions

Version Branch Status Requires
2.x v2.x (default) In development, released as alphas PHP 8.3+, Laravel 12 or 13
1.x v1.1 Maintained: fixes and security PHP 8.3+, Laravel 11 to 13

Installation

2.x, during its pre-releases:

composer require folklore/laravel-folklore:^2.0@alpha folklore/laravel-json-data:^1.0@alpha

folklore/laravel-json-data is required by the core. Require it too while it has no stable release: a stability flag doesn't apply to the dependencies of a required package.

The modules are off by default and are turned on in config/site.php; each one suggests the packages it needs. See the architecture.

1.x:

composer require folklore/laravel-folklore:^1.1

Documentation

License

MIT