PHPackages                             kluverp/laravel-pcmn - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kluverp/laravel-pcmn

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kluverp/laravel-pcmn
====================

05PHP

Since Feb 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/kluverp/laravel-pcmn)[ Packagist](https://packagist.org/packages/kluverp/laravel-pcmn)[ RSS](/packages/kluverp-laravel-pcmn/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-pcmn
============

[](#laravel-pcmn)

laravel-pcmn is a simple yet powerful CMS you can use to manage your sites' content. The CMS is a 'programmers' CMS, which means you have to build your site yourself using your favorite framework: Laravel. The content however can easily be managed with this CMS.

All you need to do is focus on your application, the hassle of managing the content is done by PCMN!

PCMN is designed to be as invisible as possible, meaning it won't interfere with the way you build your site or application.

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

[](#installation)

Require this package with composer. It is recommended to only require the package for development.

```
Composer require "kluverp/laravel-pcmn": "dev-master"
```

```
Add the following to youer composer.json:
"repositories": [
    {
        "type": "vcs",
        "url": "git://github.com/kluverp/laravel-pcmn.git"
    }
]
```

Add the ServiceProvider to the providers array in config/app.php

```
'pcmn' => \Kluverp\Pcmn\Providers\PcmnServiceProvider::class
```

Add the Pcmn Middleware the the /app/Http/Kernel.php file in the $routeMiddleware array:

```
'pcmn' => \Kluverp\Pcmn\Middleware\Pcmn::class
```

Publish the assets

```
php artisan vendor:publish --provider="Kluverp\Pcmn\Providers\PcmnServiceProvider" --tag=public
```

Run the migrations

```
php artisan migrate
```

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

[](#configuration)

### Table config

[](#table-config)

### Title

[](#title)

The title field consists of two entries *singular* and *plural*. The plural version is shown on index pages. This page consists of a datatable with an overview of all underlying records. Hence the plural form. The singular field is used on a single record, when editing a record. This screen is shown as a form.

### Description

[](#description)

The description field is used to show a descriptive text above the datatable and the form. This should be a short text informing the user at what data he is looking.

### Permissions

[](#permissions)

These are boolean values indicating what CRUD actions are allowed and what actions are not. Sometimes you do not want a user to be able to remove a record. For instance when a records holds the texts for a 'homepage', you do not want the user to be able to remove this record

### Index

[](#index)

This array holds the fieldnames you want to show in the datatable view (the overview). Each field will represent a column. The order of the fields given, is the order of the columns shown. Each field has 3 options:

#### Sortable (boolean)

[](#sortable-boolean)

True, if this field is sortable. When sortable the column header will be clickable and the datatable can be sorted on this column.

#### Searchable (boolean)

[](#searchable-boolean)

When true, the colum will be searchable throught the search box.

#### Presenter (string)

[](#presenter-string)

The presenter will format the column in a certain way for better representation. The following presenters can be used:

`boolean` - The value will be shown as true (green) or false (red) and in human-readable format (yes == 1 and no == 0).

`text` - The field contains a text and will be cut-off at 50 chars. This will be clear by the ellipsis at the end of the text.

`date` - The field is represented as a date string.

`function($value){ // my stuff }` - And you can define your own Closure function as Presenter. This for easy on-the-fly presenting of data by your choosing.

### Fields

[](#fields)

Basic types:

- hidden
- text
- textarea
- select
- radio
- checkbox
- date
- date-time

##### hidden

[](#hidden)

A hidden field. Does not show up in form, but can be used to have the ID column show up in datatable.

##### text

[](#text)

A basic text input field.

#### textarea

[](#textarea)

A textarea for writing large pieces of plain text.

#### select

[](#select)

A dropdown select box.

Extended types:

- slug (title input that also translates to a 'title\_slug' field)
- datepicker (a jQuery UI datepicker)
- integer (a select box with integers, range can be given.
- boolean (radio with yes/no options. Loads the Boolean presenter by default.)
- editor (a WYSIWYG editor).

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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/4dbe5079b26008680e8b5e7179173f137ad7f7087fb0d3779e8ef9b0acc495b8?d=identicon)[kluverp](/maintainers/kluverp)

---

Top Contributors

[![kluverp](https://avatars.githubusercontent.com/u/14176515?v=4)](https://github.com/kluverp "kluverp (7 commits)")

### Embed Badge

![Health badge](/badges/kluverp-laravel-pcmn/health.svg)

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

PHPackages © 2026

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