t73biz / cakephp-turntable
Turntable is a Foundation 6 plugin solution for CakePHP 3.x
Installs: 193
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- cakephp/cakephp: ^3.7
- cakephp/plugin-installer: ^1.1
- composer/composer: ^1.8
- zurb/foundation: ^6.5
Requires (Dev)
- cakephp/cakephp-codesniffer: ^3.0
- phpunit/phpunit: ^5.7.14|^6.0
This package is not auto-updated.
Last update: 2024-04-17 19:44:00 UTC
README
Description
Turntable is a Foundation solution for CakePHP 3.x using Foundation 6.
The plugin includes a bake template theme that aligns with the default bake templates. It also includes the Foundation 6 assets and applies the appropriate classes to the structure.
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require t73biz/turntable
This is followed by a command to install the plugin,
bin/cake plugin load Turntable
which will modify your App\Application::bootstrap
method to load the Turntable Plugin.
The next step is to symlink the zurb/foundation distribution files with the command,
bin/cake glaze
Glaze command options
The optional argument --sass
,-s
can be used to symlink the foundation scss assets as well. By default, only the css
files for foundation dist are symlinked.
The optional argument --clean
, -c
can be used to cleanup the dist files symlinked to webroot. This can be used in
conjunction with the --sass
option to clean the sass files as well.
Baking
The Turntable Plugin offers Foundation 6 compatible baking and can be invoked with the bake command option -t Turntable
,
as in,
bin/cake bake template all -t Turntable
This will use the bake templates provided in the Turntable Plugin.