cakephp3.7.2-starter skeleton (RESTful API)
- Download Composer or update
composer self-update
. - Run
php composer.phar create-project --prefer-dist cakephp/app starter
.
If Composer is installed globally, run
composer create-project --prefer-dist cakephp/app starter
You should now be able to visit the path to where you installed the app and see the default home page.
cd starter
Next step is installing the RestApi plugin:
composer require multidots/cakephp-rest-api
After installation, Load the plugin
Plugin::load('RestApi', ['bootstrap' => true]);
Or, you can load the plugin using the shell command
$ bin/cake plugin load -b RestApi
The following is a list of CakePHP plugins that are installed and pre-configured:
The following references helped build the complex routing