KOB Framework is a PHP framework for web development.
call mvc website
http://localhost/kobframework/home
or
http://localhost/kobframework/home/index
call REST Api
http://localhost/kobframework/api/home/apiList
my website www.kobframework.com
Command Line Interface for KOB Framework, Your can use a easy way to create a new controller and basic view.You can be testing ClI with the following command.
php kob
You can call the command line interface to create a new controller.
This command will create a new controller in the app/controllers
directory.
php kob new:controller [controller_name]
Example:
php kob new:controller AppController
And we have a mini method for create a new controller with REST rules.
php kob new:controller [controller_name] --rest || php kob new:controller [controller_name] -r
Example:
php kob new:controller AppController --rest
This command will create a new controller with REST rules in the app/controllers
directory.
You can call the command line interface to create a new basic HTML.
This command will create a new basic HTML in the app/views
directory.
php kob new:view [view_name]
Example:
php kob new:view app