multidimensional / cakephp-seaff
Shopify Embedded App Frontend Framework (SEAFF) for CakePHP
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:CSS
Type:cakephp-plugin
Requires
This package is auto-updated.
Last update: 2024-12-20 21:58:11 UTC
README
CakePHP Plugin Implementing the Shopify Embedded App Frontend Framework by Microapps.
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require --prefer-dist multidimensional/cakephp-seaff
Setup
Load the plugin by running following command in terminal:
bin/cake plugin load Multidimensional/Seaff
Or by manually adding following line to your app's config/bootstrap.php
:
Plugin::load('Multidimensional/Seaff');
Usage
Add this in your Controller:
// In a controller public function initialize() { parent::initialize(); $this->loadComponent('Multidimensional/Seaff.Seaff]); }
For more information about Components, see this page.
Improve CakePHP Performance
Once you have a production ready CakePHP application, it is important to create symlinks to move all your webroot files (including this one) into your main webroot folder. This is easily done by running a command in terminal for CakaPHP.
CakePHP Documentation > Improve Your Application’s Performance
bin/cake plugin assets (symlink | copy)