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

ActiveLibrary

xtnd/cms
========

Content management system for laravel 5.6.\*

05JavaScript

Since Mar 15Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

XTND CMS
========

[](#xtnd-cms)

A simple content management system for laravel

Installation
============

[](#installation)

Install the package via composer using "composer require xtnd/cms" and follow the 5 simple steps below.

Setup
=====

[](#setup)

Step 1
======

[](#step-1)

Add to the autoload/psr-4 object in the composer.json file in your project's root the following:

"Xtnd\\\\Cms\\\\": "vendor/xtnd/cms/src"

Step 2
======

[](#step-2)

Add to the providers array in config/app.php the following:

Xtnd\\Cms\\CmsServiceProvider::class

Step 3
======

[](#step-3)

Add to the guards array in config/auth.php the following:

'cms\_user' =&gt; \[ 'driver' =&gt; 'session', 'provider' =&gt; 'cms\_users' \]

and to the providers array the following:

'cms\_users' =&gt; \[ 'driver' =&gt; 'eloquent', 'model' =&gt; Xtnd\\Cms\\CmsUser::class \]

Step 4
======

[](#step-4)

Run the following commands in terminal:

composer dump-autoload

php artisan vendor:publish --tag=public --force

php artisan migrate

Step 5
======

[](#step-5)

In app/exceptions/handler.php:

Add to the top the following:

use Illuminate\\Auth\\AuthenticationException;

And add to the class the following function to redirect unauthenticated routes to the login page:

```
use Illuminate\Auth\AuthenticationException;

protected function unauthenticated($request, AuthenticationException $exception){

    if ($request->expectsJson()) {
        return response()->json(['message' => $exception->getMessage()], 401);
    }

    $guard = array_get($exception->guards(),0);
    switch ($guard) {
        case 'cms_user':
            $login = 'cmslogin';
            break;

        default:
            $login = 'login';
            break;
    }

    return redirect()->guest(route($login));
}

```

Step 6
======

[](#step-6)

To create your first CMS user, go to the following route:

/cms/register

And voila! You're all set.

IMPORTANT:
==========

[](#important)

every time you add a table or column, you need to run these 2 routes while being logged in, to configure the cms:

/cms/configure

/cms/configureTables

This step wil be made easier in future releases

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

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/3b5c002fe05d2c0e956d4b6bc759d92471b191dd2a8ca33a0dfa3de8d363d0a7?d=identicon)[joegabdelsater](/maintainers/joegabdelsater)

---

Top Contributors

[![joegabdelsater](https://avatars.githubusercontent.com/u/23471249?v=4)](https://github.com/joegabdelsater "joegabdelsater (27 commits)")

### Embed Badge

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

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

PHPackages © 2026

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