CakePHP Plugin Implementing the Shopify Embedded App Frontend Framework by Microapps.
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
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');
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.
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)