khan
Add inteligence create models, controllers, middlewares
A complete system documentation is available online at this link.
# download zip
$ git clone https://github.com/PaulaoDev/khan khan-project && cd khan-project && composer install
# using cli khan
$ php khan list
# download usando cli khan
$ php khan create khan-project && cd khan-project && composer install
# instala dependencias e inicia o servidor
$ composer install
# so funciona em php 7
$ php khan server
$ php khan list # Iniciar o auto servidor
$ php khan live # execute o comando no qual a estrutura está configurada
# gera o sistema de login
$ khan make auth
# gera o sistema de chat
$ khan make chatKhan is a web application framework. We believe that development should be a good and non -tiring experience to be truly productive. Khan simplifies development, facilitating common tasks used in most web projects, including:
| Framework | Requests per second | Framework version | PHP version |
|---|---|---|---|
| Khan | 220.41 | 2.0 | 5.6 |
| Orangable | 66.57 | 5.6 | 5.6 |
| Symfony | 81.78 | 3.3.6 | 5.6 |
| Framework | Requests per second | Framework version | PHP version |
|---|---|---|---|
| Khan | 374 | 2.0 | 7.0 |
| Orangable | 114.55 | 5.6 | 7.0 |
| Symfony | 184.15 | 3.3.6 | 7.0 |
For the system to work 100% you need to have a virtual host configured on your localhost or directly on the root folder of a hosting.
Configure routes on the config/routates.php file
use App Khan Component Router Router ;
Router get ( ' /home ' , function ( $ req , $ res ){
return " Home " ;
});
Router post ( ' /home ' , function ( $ req , $ res ){
return " Home " ;
});
Router delete ( ' /home ' , function ( $ req , $ res ){
return " Home " ;
});
Router put ( ' /home ' , function ( $ req , $ res ){
return " Home " ;
});
Router patch ( ' /home ' , function ( $ req , $ res ){
return " Home " ;
});
Router temp ( ' /home ' , function ( $ req , $ res ){
return " Home " ;
});Relate all vulnerabilities found in a responsibly and constructive email.
Khan is licensed under MIT's license. See the license file for more information.