---
title: "Laravel Paper: A Flat-File Eloquent Driver"
url: https://daily.dev/posts/laravel-paper-a-flat-file-eloquent-driver-de8wq2vd3
source_url: https://laravel-news.com/laravel-paper-a-flat-file-eloquent-driver
type: article
source: "Laravel News"
published: 2026-05-25T13:18:35.196Z
updated: 2026-08-24T06:55:52.140Z
tags: ["php", "laravel", "markdown"]
reading_time: 2
upvotes: 82
comments: 16
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Laravel Paper: A Flat-File Eloquent Driver

**[Laravel News](https://daily.dev/sources/ln)** · 2 min read · 82 upvotes · 16 comments

## Summary

Laravel Paper is a package that lets you use Markdown and JSON files as Eloquent data sources, eliminating the need for a traditional database in content-heavy scenarios. It supports the standard Eloquent query API (where, orderBy, find, whereContains), file-based relationships (belongsToPaper, hasManyPaper), and full CRUD operations that map directly to filesystem reads and writes. The package requires PHP 8.4 and Laravel 12.0+, uses PHP 8 attributes for configuration, and supports YAML frontmatter for metadata in Markdown files.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laravel-news.com/laravel-paper-a-flat-file-eloquent-driver>

## Community discussion

Top comments from developers on daily.dev.

**@markojr** · 4 upvotes

> Finally a real Document-Database

**@ax\_prashant** · 3 upvotes

> Can we rename package to filebase?

**@tranduc01** · 3 upvotes

> ![GIF](https://static.klipy.com/ii/feea28532d9709f5128558f418c779d0/10/36/4rZGmVf9.gif)

**@igds76** · 1 upvotes

> Nice! Simple and elegant approach to bringing the Eloquent experience to flat files.

**@di2namic11** · 1 upvotes

> ![GIF](https://static.klipy.com/ii/35ccce3d852f7995dd2da910f2abd795/87/20/yfyke2Vc.gif)

## Similar posts on daily.dev

- [Use a Google Sheet as Your Laravel Database with the Google Sheets Database Driver](https://daily.dev/posts/use-a-google-sheet-as-your-laravel-database-with-the-google-sheets-database-driver-m7d0ptvqg) · Laravel News · 0 upvotes · 1 comments
- [Version-Controlled Documentation Inside Your Laravel App with Laradocs](https://daily.dev/posts/version-controlled-documentation-inside-your-laravel-app-with-laradocs-jk21vslab) · Laravel News · 45 upvotes · 8 comments

---

Tags: [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel), [#markdown](https://daily.dev/tags/markdown)

[View this post on daily.dev](https://daily.dev/posts/laravel-paper-a-flat-file-eloquent-driver-de8wq2vd3)
