This is the Clarity Content Management System (CMS).
Via Composer
$ composer require claritytech/cms
Add the CmsServiceProvider
to your config/app.php
file.
'providers' => [
claritytech\cms\CmsServiceProvider::class,
],
You can choose to publish everything at once
php artisan vendor:publish --provider="claritytech\cms\CmsServiceProvider"
or you can publish them individually.
php artisan vendor:publish --provider="claritytech\cms\CmsServiceProvider" --tag="config"
php artisan vendor:publish --provider="claritytech\cms\CmsServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="claritytech\cms\CmsServiceProvider" --tag="views"
php artisan vendor:publish --provider="claritytech\cms\CmsServiceProvider" --tag="public"
After package updates, make sure you run the migrations to update your database schema.
php artisan migrate
To update the package start with composer.
composer update
Then publish and run all new migrations.
php artisan vendor:publish --provider="claritytech\cms\CmsServiceProvider" --tag="migrations"
php artisan migrate
If upgrading a major version, please take note of any breaking changes and address them as need be.
While we try to stay as independent as possible, there are specific assumptions this package makes in order to function correctly and still be useful. Make sure your application meets all of these assumptions.
- Bootstrap v4 is available.
- FontAwesome v4.5 is available.
- A middleware called 'web' is available.
- A base controller exists that is autoloadable from
App\Http\Controllers\Controller
. This base controller acceptsIlluminate\Http\Request
as the first parameter in its constructor. - Layout called 'master'.
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Clarity Technology Group License. Please see License File for more information.