Skip to content

steem/qwp

Repository files navigation

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:

Demo portal

Demo foo bar

qwp

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.

Documentation

Guides and the API reference are located in the docs directory.

Documentation Translations

Simplified Chinese

License

Copyright (c) 2005-2016 Steem & The qwp Licensed under the MIT License.

Thanks

Thanks to the project owner of bootstrap, jquery, jquery.form, jquery.validator, jquery.gritter, jquery.slimscroll.

Snapshots

CRUD UI template helps you to create the pages easily.

  • Phone Phone

  • PC Phone

  • Other snapshots: Form Validation Form Table Table

About

QWP - A fast PHP Router which maps web requests to separated files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published