/kobframework

Kob Framework is PHP Web Framework for MVC and REST APIs

Primary LanguagePHP

kobframework

KOB Framework is a PHP framework for web development.

Version License Author

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

KOB CLI

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

CLI For Create Controller

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.

CLI For Create Basic HTML (View)

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