ipitchkhadze/lightpages

There is no license information available for the latest version (v1.0.1) of this package.

Page admin crud generator

Installs: 26

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 0

Open Issues: 0

Language:JavaScript

v1.0.1 2017-04-11 15:49 UTC

This package is auto-updated.

Last update: 2024-04-28 21:05:14 UTC


README

Laravel 5.4 page crud admin generator

Installation

First, you'll need to install the package via Composer:

$ composer require ipitchkhadze/lightpages v1.0.*

Then, update config/app.php by adding an entry for the service provider.

'providers' => [
    // ...
    Ipitchkhadze\LightPages\LightPagesServiceProvider::class,
];

Then, make migration of lightpages table.

php artisan migrate

Then, generate needed files for Lightpages.

php artisan lightpages:generate

Finally, from the command line again, publish assets:

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

Visit http://your.site/admin/pages to see admin panel.

Done!

Usage

For creating new pages first you need to add languages.

Language crud

After adding languages you can go to /admin/pages and create new pages.

You can change base template in

/resources/pages/layout/layout.blade.php

You can change page view in

/resources/pages/index.blade.php

Default page view

New page form

Have fun!