chialab/frontend-kit

BEdita 5 plugin to help with development of websites.

Installs: 22 237

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 2

Type:cakephp-plugin


README

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.

Usage

You can install the plugin using Composer.

The recommended way to install Composer packages is:

$ composer require chialab/frontend-kit

Then, 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.

Testing

GitHub Actions tests codecov

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 test

License

Chialab/FrontendKit is released under the MIT license.