chialab / frontend-kit
BEdita 5 plugin to help with development of websites.
Package info
github.com/chialab/bedita-frontend-kit
Type:cakephp-plugin
pkg:composer/chialab/frontend-kit
Requires
- php: >=8.1
- ext-intl: *
- ext-json: *
- bedita/core: ^5.14.0
- bedita/i18n: ^4.0
- cakephp/authentication: ^2.0
- cakephp/cakephp: ^4.5
- cakephp/twig-view: ^1.3
- chialab/ip: ^1.0
Requires (Dev)
- bedita/placeholders: ^2.0
- cakephp/cakephp-codesniffer: ^5.0
- cakephp/plugin-installer: ^1.0
- phpunit/phpunit: ~8.5.0 || ^9.3
Suggests
- bedita/placeholders: To manage placeholders in templates
- chialab/rna-cakephp: To manage JavaScript and CSS bundles with RNA
This package is auto-updated.
Last update: 2026-06-16 13:25:57 UTC
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
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.