appoly / laravel-pages
A CMS for laravel to easily create pages for your web application
Installs: 1 069
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 3
Forks: 3
Open Issues: 38
Language:Vue
Requires
- dev-master
- 0.2.0
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1
- dev-dependabot/npm_and_yarn/minimist-and-minimist-and-mkdirp-1.2.8
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/engine.io-and-browser-sync-6.2.1
- dev-dependabot/npm_and_yarn/loader-utils-and-loader-utils-and-webpack-cli-and-resolve-url-loader-1.4.2
- dev-dependabot/npm_and_yarn/socket.io-parser-and-browser-sync-4.2.1
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/axios-0.21.2
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/url-parse-1.5.3
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/tar-4.4.15
- dev-dependabot/composer/league/flysystem-1.1.4
- dev-dependabot/npm_and_yarn/color-string-1.5.5
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/url-parse-1.5.1
- dev-dependabot/add-v2-config-file
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/y18n-3.2.2
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/axios-0.21.1
- dev-dependabot/npm_and_yarn/ini-1.3.7
- dev-dependabot/npm_and_yarn/js-yaml-3.14.1
- dev-dependabot/npm_and_yarn/browser-sync-2.26.13
- dev-dependabot/composer/league/flysystem-aws-s3-v3-1.0.29
- dev-dependabot/npm_and_yarn/tiptap-1.30.0
- dev-dependabot/npm_and_yarn/sass-1.26.11
- dev-dependabot/npm_and_yarn/tiptap-extensions-1.32.7
- dev-dependabot/npm_and_yarn/sweetalert2-9.17.2
- dev-dependabot/npm_and_yarn/sass-loader-10.0.1
- dev-dependabot/npm_and_yarn/eslint-7.5.0
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
This package is auto-updated.
Last update: 2024-11-04 08:14:20 UTC
README
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=laravel-pages-config --force
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.
If you are removing the page
part from the config, place this as the last time in your routes file:
Route::get(config('laravel_pages.view_pages_route'), '\Appoly\LaravelPages\Http\Controllers\PagesController@show')->name('laravel-pages.show');