Skip to content
The GUI for the roelofjan-elsinga/flat-file-cms package
PHP HTML JavaScript CSS
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
public
resources/assets
routes
src
tests
views
.gitignore
.styleci.yml
.travis.yml
LICENSE
README.md
composer.json
composer.lock
package.json
phpunit.xml
tailwind.config.js
webpack.config.js
webpack.mix.js
yarn.lock

README.md

Flat File CMS GUI

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="FlatFileCms\\GUI\\FlatFileCmsServiceProvider"

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

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

php artisan flatfilecmsgui:publish:assets

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

Creating a user

You can create a user by running:

php artisan flatfilecmsgui: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.

You can’t perform that action at this time.