TitamSeptian / ci4_api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeIgniter 4 AP

Installation & updates

composer create-project codeigniter4/appstarter then composer update whenever there is a new release of the framework.

When updating, check the release notes to see if there are any changes you might need to apply to your app folder. The affected files can be copied or merged from vendor/codeigniter4/framework/app.

Setup

Copy env to .env and tailor for your app, specifically the baseURL and any database settings.

some command

# run development
$ php spark serve
# make migrations
$ php spark make:migration product
# make model
$ php spark make:model ProductModel
# make controller
$ php spark make:controller --restful
# make filter
$ php spark make:filter Cors

About

License:MIT License


Languages

Language:PHP 96.3%Language:CSS 1.9%Language:JavaScript 1.5%Language:HTML 0.3%