roelofjan-elsinga/flat-file-cms-gui

This package is abandoned and no longer maintained. The author suggests using the roelofjan-elsinga/aloia-cms-gui package instead.

The GUI for the roelofjan-elsinga/aloia-cms package


README

Build status StyleCI Status Code coverage Total Downloads Latest Stable Version License

This is the official Graphical User Interface (GUI) for the Flat File CMS package. This package includes the latest version of the Flat File CMS, Authentication, User creation, Media management and the ability to manage the data used by the Flat File CMS package in a clear and visual web environment.

Installation

You can include this package through Composer using:

composer require roelofjan-elsinga/flat-file-cms-gui

and if you want to customize any of the default settings used by this package, you can publish the configuration:

php artisan vendor:publish --provider="AloiaCms\\GUI\\ServiceProvider"

This will create a aloiacmsgui.php in your config folder.

After this, you'll need to publish the assets for this package, by running:

php artisan aloiacmsgui:publish:assets

This places the assets for the dashboard in public/vendor/aloiacmsgui.

Creating a user

You can create a user by running:

php artisan aloiacmsgui:create:account --username=yourusername --password=yourpassword

After this, you'll be able to log in using the credentials.

Editors

By default, two editors are included in this package: CKEditor for HTML pages, and InscrybMDE for Markdown pages.

You can customize which editors you want to use for HTML and Markdown pages by overwriting the views.

Testing

You can run the included tests by running ./vendor/bin/phpunit in your terminal.