PHPackages                             preflow/folio - 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. [Admin Panels](/categories/admin)
4. /
5. preflow/folio

ActiveLibrary[Admin Panels](/categories/admin)

preflow/folio
=============

Folio — drop-in CMS for Preflow: shipped admin, JSON content types, slug rendering

00PHP

Since Jun 18Pushed todayCompare

[ Source](https://github.com/getpreflow/folio)[ Packagist](https://packagist.org/packages/preflow/folio)[ RSS](/packages/preflow-folio/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

preflow/folio
=============

[](#preflowfolio)

Folio is a drop-in CMS for Preflow. Require it into any Preflow app and you get a shipped admin (mounted at a configurable path), content types defined as JSON, and slug-based frontend rendering — without touching the framework.

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

[](#installation)

```
composer require preflow/folio
```

Requires PHP 8.4+. Composes `preflow/data`, `preflow/view`, `preflow/routing`, and `preflow/form` (all already present in a standard Preflow app).

> **Pre-1.0:** Preflow currently publishes `dev-main` only, so your project must allow dev stability. The Preflow skeleton already sets `"minimum-stability": "dev"` and `"prefer-stable": true`. If you're adding Folio to a different setup, add those to your `composer.json` (or require it explicitly with `composer require preflow/folio:@dev`).

Getting started
---------------

[](#getting-started)

Folio is opt-in: a fresh Preflow skeleton does not wire it for you. Three small steps.

### 1. Register the service provider

[](#1-register-the-service-provider)

In `config/providers.php`:

```
return [
    \App\Providers\AppServiceProvider::class,
    \Preflow\Folio\FolioServiceProvider::class,
];
```

### 2. Choose the admin mount path (optional)

[](#2-choose-the-admin-mount-path-optional)

The admin mounts at `/folio` by default. To change it, add `config/folio.php`:

```
