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

ActiveProject

shabaz-ejaz/laravel-cms
=======================

A Laravel 5 CMS with CRUD scaffolding and API.

20PHP

Since Oct 10Pushed 7y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![alt text](https://camo.githubusercontent.com/31ad9492baa312c24d1447a6060ab72b7d246ba16fbaf644ee4f4dd374f4a895/687474703a2f2f7777772e6b6e6f636b7465636862642e636f6d2f696d616765732f746563686e6f6c6f67792f6c61726176656c2e706e67)](https://camo.githubusercontent.com/31ad9492baa312c24d1447a6060ab72b7d246ba16fbaf644ee4f4dd374f4a895/687474703a2f2f7777772e6b6e6f636b7465636862642e636f6d2f696d616765732f746563686e6f6c6f67792f6c61726176656c2e706e67)

Laravel Grafite
===============

[](#laravel-grafite)

This is a pre-packaged [Laravel](https://laravel.com/) 5.6.\* project which uses [Grafite CMS](https://github.com/GrafiteInc/CMS)

### What does this project include?

[](#what-does-this-project-include)

- [Laravel Framework 5.6.\*](https://laravel.com/)
- [Grafite CMS](https://github.com/GrafiteInc/CMS)
- [Grafite Builder for CRUD Scaffolding](https://github.com/GrafiteInc/Builder)
- [GraphQL](https://github.com/Folkloreatelier/laravel-graphql)
- [Datatables](https://github.com/yajra/laravel-datatables)
- [Laravel-Excel](https://github.com/Maatwebsite/Laravel-Excel)
- [Laravel Media Library](https://github.com/spatie/laravel-medialibrary)
- [Laravel Passport API Authentication](https://laravel.com/docs/5.6/passport)
- [Laravel Cashier for Stripe Billing](https://laravel.com/docs/5.6/billing)

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

[](#requirements)

- [Node](https://nodejs.org) 4.\* or better
- PHP 7.1.3 or better

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

[](#installation)

Start by installing dependencies:

```
composer install
```

```
npm install
```

Publish the assets:

```
php artisan vendor:publish
```

Generate an app key:

```
php artisan key:generate
```

Create a symbolic link from the public disk directory (this is required for images stored in public):

```
php artisan storage:link
```

Database
--------

[](#database)

Configure a database: Open the `.env` file in the root of the project and configure a database connection. If the `.env` file does not exist then clone the `.env.example` file and rename it to `.env`.

Run migrations:

```
php artisan migrate
```

Seed the database:

```
php artisan db:seed
```

Set up Laravel Passport for api authentication:

```
php artisan passport:install
```

There should be a default admin account for you with the following credentials:

- **Username**:  or
- **Password**: admin

Running
-------

[](#running)

Once dependencies are installed, run with:

```
php artisan serve
```

This will open up a Laravel development server at localhost:8000

If you want to open multiple Laravel dev servers you can specify the port like this:

```
php artisan serve --port=6060
```

Admin Access
------------

[](#admin-access)

Login to Admin Panel by visiting: localhost:8000/login or if you've got a vhost set up then [www.yoursite.com/login](http://www.yoursite.com/login)

CRUD Builder
------------

[](#crud-builder)

To use the CRUD builder you need to run the following command:

```
php artisan crudmaker:new Post --api --ui=bootstrap --migration --schema="id:increments,name:string,author:string" --relationships="belongsToMany|\App\Models\Tag|tags"
```

You can use the following options for the above command:

```
php artisan crudmaker:new ModelName
{--api} # if you want to generate REST api routes, controllers and middleware
{--ui=bootstrap|semantic} # css style
{--serviceOnly} # if you only want service classes generated
{--withFacade} # fuck knows
{--withoutViews}  # don't generate view files
{--migration} # generate a migration script
{--schema} # specify the schema data i.e. db columns
{--relationships} # generate relationships
```

You can view the full documentation for this [here](https://docs.grafite.ca/others/crud/)

Using GraphQL
-------------

[](#using-graphql)

Use [this article](http://www.qcode.in/build-api-for-twitter-like-app-using-graphql-in-laravel/) as a guide for setting up and using GraphQL as an API service

Cache
-----

[](#cache)

Laravel configuration and app settings are cached in memory by default. You would near to clear the cache if you have made changes to the config files, expecially the `.env` file. To clear the cache you can run the following commands:

**Clear config cache:**`php artisan config:clear`

**Clear general cache:**`php artisan cache:clear`

**Clear config cache and generate new cache file:**`php artisan config:cache`

If you are using `php artisan serve` to run your application then you'll need to restart it if you've made changes in any of the cached config files.

Running Tests
-------------

[](#running-tests)

**Run all tests:**

```
.\vendor\bin\phpunit
```

**Run all tests from one class**

```
.\vendor\bin\phpunit --filter MyTestClass
```

**Run single test method**

```
.\vendor\bin\phpunit tests/Feature/{testfilename}

.\vendor\bin\phpunit tests/Unit/{testfilename}
```

Laravel Architecture
--------------------

[](#laravel-architecture)

[![Scheme](public/img/Lara-Rest.jpg)](public/img/Lara-Rest.jpg)

### Contribution guidelines

[](#contribution-guidelines)

- Writing tests
- Code review
- Other guidelines

### Who do I talk to?

[](#who-do-i-talk-to)

- Repo owner or admin
- Other community or team contact

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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/66f2d84cda4432132ce96e56ed7d1be81ba107b06fb8d9c9fb4329c6ce44fe04?d=identicon)[shabaz-ejaz](/maintainers/shabaz-ejaz)

---

Tags

cmscms-frameworkcontent-management-systemlaravellaravel-5-packagelaravel-apilaravel-api-boilerplatelaravel-boilerplatelaravel5portal

### Embed Badge

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

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

PHPackages © 2026

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