PHPackages                             uniben/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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. uniben/cms

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

uniben/cms
==========

Laravel frontend CMS that allows you to output any model property as an editable field on your frontend.

065PHP

Since Dec 1Pushed 6y agoCompare

[ Source](https://github.com/UniBen/CMS)[ Packagist](https://packagist.org/packages/uniben/cms)[ RSS](/packages/uniben-cms/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (4)Used By (0)

Frontend CMS
============

[](#frontend-cms)

[![Latest Stable Version](https://camo.githubusercontent.com/ecba6c4eb2ee1c83c131ec7fae97bdd7916ac490499520a3bb77be96c9f0c661/68747470733a2f2f706f7365722e707567782e6f72672f756e6962656e2f636d732f76657273696f6e)](https://packagist.org/packages/uniben/cms)[![Total Downloads](https://camo.githubusercontent.com/47c3fca02fd1b9b757627b8dc4ecdf8a76c2d188e402cd7d79f61da3d51205b8/68747470733a2f2f706f7365722e707567782e6f72672f756e6962656e2f636d732f646f776e6c6f616473)](https://packagist.org/packages/uniben/cms)[![Latest Unstable Version](https://camo.githubusercontent.com/26b27195040a1e8b6c4c82548631bec6b7f4d2c4e58fa4121925e6c0bde0e446/68747470733a2f2f706f7365722e707567782e6f72672f756e6962656e2f636d732f762f756e737461626c65)](//packagist.org/packages/uniben/cms)[![License](https://camo.githubusercontent.com/f268a0baa3b97bd732745ec10025a9e9ec478f35a3cd8f63b92775586bcafb94/68747470733a2f2f706f7365722e707567782e6f72672f756e6962656e2f636d732f6c6963656e7365)](https://packagist.org/packages/uniben/cms)

A content management system that allows you to output editable content to the page.

Install
-------

[](#install)

```
$ composer require uniben/cms
```

Examples
--------

[](#examples)

```
$model->field // Field value
```

```
$model->field->title('Default value', 'h2', ['class' => 'example', 'rand']) // Output Field value
```

```
$model->field->image() // Output
```

Restricting editable capabilities
---------------------------------

[](#restricting-editable-capabilities)

Allow everyone to edit a particular model:

```
class X extends Editable {
    public function canEdit()
    {
        return true;
    }
}
```

Only allow logged in users to edit:

```
class X extends Editable {
    public function canEdit()
    {
        return auth()->user(); // Could even check their permissions here?
    }
}
```

Contributing
------------

[](#contributing)

For an easy install of a development environment you can use docker to run using docker. The docker file will install laravel and the package for you along with a temporary database.

### Install

[](#install-1)

```
$ make install
```

### Start

[](#start)

```
docker-compose up -d
```

Visit `localhost:8080`

How it works
------------

[](#how-it-works)

When an editable field is rendered it is given an id which maps to the model type, model id and updated field. When an update/save is made editable fields which belong to the same model are collated in to an array and sent to an update controller.

Todo
----

[](#todo)

- Switch edtable types render methods over to views rather than generatng inside of a method.
- Handle redirect responses from edtables when a new product is created.
- Make edtables on the frontend reactive using VueX
- Use UniBen/laravel-graphqlable for an easy to use documented API.
- Get wwyswig and image upload fields working using standard libraries.
- Improve editable type caching and queries in admin
- Make editable fields revisionable
- Improve code qualiity
- Aim for 100% code coverage
- Make dynamic registration of editable types easy via a service provider
- Reduce JS bundle size as much as possible
- Remove server side rendered editables and use vue components with ssr instead to simplify process.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

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/fcd9d328ee65e191579e2185a68a531b36fbdcb750d1b24fc06ea79f3facee97?d=identicon)[Uniben](/maintainers/Uniben)

---

Top Contributors

[![blwsh](https://avatars.githubusercontent.com/u/32358483?v=4)](https://github.com/blwsh "blwsh (14 commits)")

---

Tags

cmsdockerfrontend-cmslaravel

### Embed Badge

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

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

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

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