Installation - larawhale/cms GitHub Wiki
The following will help you install and start using the package.
Requirements
Before you can install this package, make sure your system meets the following requirements:
"php": "^7.4"
"laravel/framework": "^7.0"
Composer
This package can be installed using composer:
composer require larawhale/cms
Publish
Publish the resources by using the cms
tag:
php artisan vendor:publish --tag=cms
This package also provides separate publishing tags to prevent your application from being cluttered with files you do not need.
cms.assets
(required) All public asset files required for the user interface, this includes fonts, css and javascript.cms.config
The configuration file to add custom fields, change the user provider and more.cms.entries
One or more pre made entry configurations.cms.views
All the views that are rendered as the user interface.cms.lang
The translations used in the user interface.
Database
After publishing and optionally altering the configuration file, you should run the migrations:
php artisan migrate
Creating a user
A user needs to be present in the database in order to gain access to the user interface. A user can be created by running a command:
php artisan cms:create-user
This command will prompt for a few answers before the user will be created.
The user may now login at /cms/login
after it has been created.