laravel-paper maintained by jacobjoergensen
Last update
2026/08/26 15:10
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
- symfony/yaml ^7.0|^8.0
Last update
2026/08/25 21:20
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/08/25 20:56
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/07/30 23:15
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/07/22 02:49
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/06/17 21:44
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/06/13 10:25
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/06/04 22:05
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/05/22 06:30
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/05/20 09:44
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/04/23 21:23
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/04/08 20:57
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/04/01 19:47
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/03/27 07:03
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/03/19 23:26
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/03/19 05:46
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/03/19 05:10
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/03/19 04:26
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/03/19 02:25
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Last update
2026/03/18 23:12
License
Require
- php ^8.4
- illuminate/database ^12.0|^13.0
- illuminate/filesystem ^12.0|^13.0
- illuminate/support ^12.0|^13.0
- spatie/yaml-front-matter ^2.0
Laravel Paper
Laravel-Paper is a Laravel package that adds flat-file driver support for Eloquent in Laravel with a focus on modern features and type-safety. It supports Markdown and JSON files and works with Laravel 12 and 13 with PHP 8.4 or 8.5 .
Get Started
To get started run the following command in your project
composer require jacobjoergensen/laravel-paper
Usage
Markdown Files
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use JacobJoergensen\LaravelPaper\Attributes\ContentPath;
use JacobJoergensen\LaravelPaper\Attributes\Driver;
use JacobJoergensen\LaravelPaper\Paper;
#[Driver('markdown')]
#[ContentPath('content/posts')]
class Post extends Model
{
use Paper;
}
JSON Files
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use JacobJoergensen\LaravelPaper\Attributes\ContentPath;
use JacobJoergensen\LaravelPaper\Attributes\Driver;
use JacobJoergensen\LaravelPaper\Paper;
#[Driver('json')]
#[ContentPath('content/authors')]
class Author extends Model
{
use Paper;
}
License
This project is licensed under the MIT License - see the LICENSE file for details.