Skip to content
A CMS for laravel to easily create pages for your web application
JavaScript CSS Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
dist
src
.gitignore
.styleci.yml
LICENCE
README.md
composer.json
composer.lock
mix-manifest.json
package-lock.json
package.json
webpack.config.bak.js
webpack.mix.js

README.md

Laravel Pages

Laravel pages is a package that makes creating custom pages for your web app easy!

Installation

composer require appoly/laravel-pages

Assets

To publish the packages assets run the following command.

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

To include the packages JS and CSS you need to add the following to the top of your layout.app file

@yield('scripts')

Config

To publish the packages config file run the following command.

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

To include the packages JS and CSS you need to add the following to the top of your layout.app file

How to use

Once you've installed this package new routes will be created for your web app. To see all of your apps pages navigate to

/admin/pages

From there you can create and edit your pages. To view your pages you can navigate to

/page/{slug}

These routes are editable via the config file.

You can’t perform that action at this time.