PHPackages                             webook/laravel-cms - 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. webook/laravel-cms

ActiveLibrary[Admin Panels](/categories/admin)

webook/laravel-cms
==================

A lightweight, file-based inline CMS for Laravel that allows direct editing of content on the page

043PHP

Since Oct 16Pushed 7mo agoCompare

[ Source](https://github.com/weboook/laravel-cms)[ Packagist](https://packagist.org/packages/webook/laravel-cms)[ RSS](/packages/webook-laravel-cms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel CMS Package
===================

[](#laravel-cms-package)

A Webflow-like inline content management system for Laravel applications.

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

[](#installation)

### 1. Install via Composer

[](#1-install-via-composer)

```
composer require webook/laravel-cms
```

### 2. Publish Configuration

[](#2-publish-configuration)

```
php artisan vendor:publish --provider="Webook\LaravelCMS\CMSServiceProvider" --tag=cms-config
```

### 3. Publish and Run Migrations

[](#3-publish-and-run-migrations)

```
php artisan vendor:publish --provider="Webook\LaravelCMS\CMSServiceProvider" --tag=cms-migrations
php artisan migrate
```

### 4. Create Storage Link

[](#4-create-storage-link)

For image uploads to work properly, you need to create a symbolic link:

```
php artisan storage:link
```

### 5. Publish Assets (Optional)

[](#5-publish-assets-optional)

If you want to customize the CMS assets:

```
php artisan vendor:publish --provider="Webook\LaravelCMS\CMSServiceProvider" --tag=cms-assets
```

Configuration
-------------

[](#configuration)

The configuration file will be published to `config/cms.php`. You can customize:

- **Toolbar settings**: Position (top/bottom), theme (dark/light), auto-injection
- **Storage settings**: Disk and path for media uploads
- **Cache settings**: Enable/disable caching, TTL
- **Editor settings**: Toolbar buttons available in the rich text editor
- **Media settings**: Upload disk, path, max file size, allowed file types

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

Once installed, the CMS toolbar will automatically be injected into your pages when enabled.

1. Navigate to any page in your application
2. Click "Edit" in the toolbar to enter edit mode
3. Hover over any content to see editable areas
4. Click to edit text inline
5. For images, hover to see the gear icon for changing images
6. Click "Save" to persist changes

### Permissions

[](#permissions)

By default, the CMS is available without authentication. To restrict access, add your own middleware to the configuration:

```
// config/cms.php
'middleware' => [
    'web',
    'auth',  // Add authentication
    'can:edit-content', // Add authorization
],
```

### Excluding Content

[](#excluding-content)

To prevent content from being editable, add the `data-cms-ignore` attribute:

```

    This content won't be editable

```

### Database Content

[](#database-content)

Content fetched from database models will automatically be marked as "coming soon" and won't be editable yet.

Features
--------

[](#features)

- ✅ Inline content editing
- ✅ Rich text editor with formatting options
- ✅ Image upload with drag-and-drop
- ✅ Link editing
- ✅ Automatic backup system
- ✅ Dark mode toolbar
- ✅ Mobile responsive
- ✅ Pages explorer
- ✅ Multi-language ready (coming soon)
- ✅ Media library (coming soon)

Troubleshooting
---------------

[](#troubleshooting)

### Images return 403 Forbidden

[](#images-return-403-forbidden)

Make sure you've created the storage link:

```
php artisan storage:link
```

### Content changes don't persist

[](#content-changes-dont-persist)

Clear the view cache after updates:

```
php artisan view:clear
php artisan config:clear
```

### Toolbar doesn't appear

[](#toolbar-doesnt-appear)

1. Check that CMS is enabled in your `.env`:

    ```
    CMS_ENABLED=true

    ```
2. Clear caches:

    ```
    php artisan cache:clear
    php artisan config:clear
    ```

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- Laravel 10.x or 11.x

License
-------

[](#license)

MIT License

Support
-------

[](#support)

For issues and questions, please use the GitHub issue tracker.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance45

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/21460cd3789731b8768ea0e9612ebc34b170f5a0711c5bdd2eaead358ade03f0?d=identicon)[weboook](/maintainers/weboook)

---

Top Contributors

[![weboook](https://avatars.githubusercontent.com/u/194430162?v=4)](https://github.com/weboook "weboook (2 commits)")

### Embed Badge

![Health badge](/badges/webook-laravel-cms/health.svg)

```
[![Health](https://phpackages.com/badges/webook-laravel-cms/health.svg)](https://phpackages.com/packages/webook-laravel-cms)
```

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
