If you like the following code:
// index.php
Router::post('/', function(){
return 'Hello world';
});
Router::post('foo/bar', function(){
return 'Hello world';
});
Why not try this without any Router::xxx like code, just write your code in separated files:
qwp is a PHP router that helps you to map web requests to separated PHP file. For your convenient, qwp also includes the following features:
- form validation using one copy of validation rule file for both JS and PHP code
- multi-language support using one copy of localization file for both JS and PHP code
- automatically fill out forms
- security/privilege check
- page template
- CRUD UI template
Current UI solution is for quick development for admin portal. Feel free to fork and provide other type of UI solution.
Guides and the API reference are located in the docs directory.
Copyright (c) 2005-2016 Steem & The qwp Licensed under the MIT License.
Thanks to the project owner of bootstrap, jquery, jquery.form, jquery.validator, jquery.gritter, jquery.slimscroll.
CRUD UI template helps you to create the pages easily.