PHP code example of fm-labs / cakephp-shop

1. Go to this page and download the library: Download fm-labs/cakephp-shop library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

fm-labs / cakephp-shop example snippets


class Application extends \Cupcake\Application {
    public function bootstrap() : void{
        parent::bootstrap();
        
        // load shop plugin
        $this->addPlugin('Shop')
    }
}