PHPackages                             thebatclaudio/eloquent-markdown - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. thebatclaudio/eloquent-markdown

ActiveLibrary[Database &amp; ORM](/categories/database)

thebatclaudio/eloquent-markdown
===============================

Convert markdown files to Eloquent models

v2.0.0(1mo ago)656MITPHPPHP ^8.3CI passing

Since May 9Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/thebatclaudio/eloquent-markdown)[ Packagist](https://packagist.org/packages/thebatclaudio/eloquent-markdown)[ RSS](/packages/thebatclaudio-eloquent-markdown/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (20)Versions (14)Used By (0)

Eloquent Markdown
=================

[](#eloquent-markdown)

[![GitHub License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://raw.githubusercontent.com/thebatclaudio/eloquent-markdown/LICENSE)[![Latest Stable Version](https://camo.githubusercontent.com/9ed7224d8770599606aa09439e0806a58e8ea5c554f9e8641556fcee2d28e17a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746865626174636c617564696f2f656c6f7175656e742d6d61726b646f776e2e737667)](https://packagist.org/packages/thebatclaudio/eloquent-markdown)[![Total Downloads](https://camo.githubusercontent.com/5e81d7bbb57c556087cd8a0b2135c4f8cb282afa6c3969daa76002ce240d4cd7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746865626174636c617564696f2f656c6f7175656e742d6d61726b646f776e)](https://packagist.org/packages/thebatclaudio/eloquent-markdown)[![StyleCI Status](https://camo.githubusercontent.com/f48bade17c514149b70a09ac0c5b75d03f71534966cbab66bc8aa54a3b9c4ef5/68747470733a2f2f7374796c6563692e696f2f7265706f732f3739323532303432352f736869656c64)](https://styleci.io/repos/792520425)[![GitHub Workflow Status](https://camo.githubusercontent.com/e542146e1d06533ce63a6fc8af7e8738e854f7648ba33e8b128289285255fa84/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746865626174636c617564696f2f6c61726176656c2d656c6f7175656e742d6d61726b646f776e2f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://img.shields.io/github/actions/workflow/status/thebatclaudio/laravel-eloquent-markdown/tests.yml?branch=main&label=tests&style=flat-square)

Easily manage Markdown files with a YAML Front Matter section using Eloquent models in your Laravel application.

Compatibility
-------------

[](#compatibility)

PackagePHPLaravel`^2.0``^8.3``^12.0`, `^13.0``^1.0``^8.2``^10.0`, `^11.0`, `^12.0`, `^13.0`> **Upgrading from v1 to v2?** v2 drops PHP 8.2 (security-only since Dec 2024) and Laravel 10/11 (EOL). No application code changes are required if you are already on PHP 8.3+ and Laravel 12+.

Installation
------------

[](#installation)

1. **Install the package via Composer**:

    ```
    composer require thebatclaudio/eloquent-markdown
    ```
2. **Configure the filesystem disk**

    By default, markdown files will be retrieved from `markdown` storage disk, so you need to define it in your `config/filesystems.php` file:

    ```
