yudapc / cakephp_api

sample rest full api using cakephp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CakePHP Application Skeleton

Build Status License

A skeleton for creating applications with CakePHP 3.x.

The framework source code can be found here: cakephp/cakephp.

Installation

  1. Download Composer or update composer self-update.
  2. Run php composer.phar create-project --prefer-dist cakephp/app [app_name].

If Composer is installed globally, run

composer create-project --prefer-dist cakephp/app [app_name]

You should now be able to visit the path to where you installed the app and see the default home page.

Configuration

Read and edit config/app.php and setup the 'Datasources' and any other configuration relevant for your application.

Documentation Development

Generate model:

bin/cake bake model Items

Generate view:

bin/cake bake template Items

Create migration:

bin/cake migrations create Items

Run migration:

bin/cake migrations migrate

About

sample rest full api using cakephp


Languages

Language:PHP 87.1%Language:CSS 10.0%Language:Shell 1.5%Language:Batchfile 0.9%Language:ApacheConf 0.5%