The Frontend Kit is a BEdita 5 plugin designed to help in developing frontends. It covers objects routing and loading, views composition and auth-based staging sites.
You can install the plugin using Composer.
The recommended way to install Composer packages is:
$ composer require chialab/frontend-kitThen, you have to load it as plugin in your Cake application:
src/Application.php
$this->addPlugin('Chialab/FrontendKit');Please read the Wiki to correctly setup the frontend.
Since some FrontendKit queries uses specific MySQL syntax, you must provide a DSN url for a test database before running tests:
$ export db_dsn='mysql://root:****@localhost/bedita4_frontendkit'Then, you can launch tests using the test composer command:
$ composer run testChialab/FrontendKit is released under the MIT license.