PHPackages                             nickdekruijk/larapages - 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. [Framework](/categories/framework)
4. /
5. nickdekruijk/larapages

Abandoned → [nickdekruijk/admin](/?search=nickdekruijk%2Fadmin)Library[Framework](/categories/framework)

nickdekruijk/larapages
======================

A simple CMS build on Laravel 5

0.8.0(8y ago)2245MITPHPPHP &gt;=5.5.9CI failing

Since Jan 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nickdekruijk/larapages)[ Packagist](https://packagist.org/packages/nickdekruijk/larapages)[ Docs](http://www.larapages.nl)[ RSS](/packages/nickdekruijk-larapages/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (19)Used By (0)

The future of LaraPages
=======================

[](#the-future-of-larapages)

[nickdekruijk/admin](https://github.com/nickdekruijk/admin) is the next evolution of the LaraPages package in early development. New features include localisation, improved GUI design, beter authentication with user roles and it will be even easier to implement in your Laravel project. As soon as all current larapages fuctionality is ported into the new package this nickdekruijk/larapages repo won't be updated anymore but will remain online for historical reference.

LaraPages
=========

[](#larapages)

A simple CMS build on Laravel 5 (requires 5.1 or higher). Basically it's a webbased editor for your Laravel models. Each model must have a `$pagesAdmin` array. See the samples folder for an example. A basic media/filemanager is included too.

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

[](#installation)

To install package use
`composer require nickdekruijk/larapages`
or
`composer require nickdekruijk/larapages:dev-master`

For Laravel 5.4 and lower add the Service Provider to the `'providers'` array in `config/app.php`

```
NickDeKruijk\LaraPages\LaraPagesServiceProvider::class,
```

Add the larapages middleware to the `$routeMiddleware` array in `app/Http/Kernel.php`

```
'larapages' => \NickDeKruijk\LaraPages\LaraPagesAuth::class,
```

After installing for the first time publish the css/js/config with

`php artisan vendor:publish --provider="NickDeKruijk\LaraPages\LaraPagesServiceProvider"`

After a `composer update` publish the public assets again with

`php artisan vendor:publish --tag=public --force --provider="NickDeKruijk\LaraPages\LaraPagesServiceProvider"`

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

[](#configuration)

After installation (if you did `php artisan vendor:publish`) a default config file called `larapages.php` will be available in your Laravel `app/config` folder.

Frontend
--------

[](#frontend)

To get you started an example model and migration is provided in the samples folder. To use the Frontend template and to parse the pages add this to your `routes.php` (Laravel 5.2 and earlier) or `web.php` (Laravel 5.3 or later) if you use the Page model from our sample

```
Route::get('{any}', 'PageController@route')->where('any', '(.*)');
```

### Enable Preview button while editing a model

[](#enable-preview-button-while-editing-a-model)

If you use pagesAdmin\['preview'\] like this:

```
'preview' => '/preview/page/{id}',          # Enable preview button, links to this url
```

you will need a route that enables it. For example add this to your `web.php` or `routes.php`:

```
Route::get('/preview/page/{id}', function ($id) {
    $page = App\Page::findOrFail($id);
    if (!View::exists($page->view)) $page['view']='detail';
    return view($page->view, compact('page'));
})->middleware('larapages');
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~42 days

Recently: every ~74 days

Total

18

Last Release

3040d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b01fc7c2c39bbe8f87b4afa70ffe1cf2bb787310e1d22fcfed6ae527d4573bb?d=identicon)[nickdekruijk](/maintainers/nickdekruijk)

---

Top Contributors

[![nickdekruijk](https://avatars.githubusercontent.com/u/607302?v=4)](https://github.com/nickdekruijk "nickdekruijk (148 commits)")

---

Tags

laravelcms

### Embed Badge

![Health badge](/badges/nickdekruijk-larapages/health.svg)

```
[![Health](https://phpackages.com/badges/nickdekruijk-larapages/health.svg)](https://phpackages.com/packages/nickdekruijk-larapages)
```

###  Alternatives

[orchid/platform

Platform for back-office applications, admin panel or CMS your Laravel app.

4.8k2.5M59](/packages/orchid-platform)[statamic/statamic

Statamic

824170.4k](/packages/statamic-statamic)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[kompo/kompo

Laravel &amp; Vue.js FullStack Components for Rapid Application Development

11812.4k21](/packages/kompo-kompo)[devisephp/cms

Content Management System using the Laravel Framework

817.3k](/packages/devisephp-cms)

PHPackages © 2026

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