saefy / quars
Saefy Quars Api Client
Requires
- php: ~5.6|~7.0|~8.0
- jenssegers/blade: ^1.1
- phroute/phroute: ^2.1
Requires (Dev)
- phpunit/phpunit: >=5.4.3
- squizlabs/php_codesniffer: ^2.3
README
This is the Quars Framework Core, please use saefy/quars-application to create web apps with Quars.
Quars is a PHP Framework for small projects, easy to implement. It uses Phroutes/phroutes for routing, blade template engine used in Laravel.
- Database is handled with \Quars\Db\Db
- ActiveRecord library is \Quars\ActiveRecord
Structure
This is the directory structure you should use for your project.
my_application_example/
app/
Cache/
Config/
Controllers/
Errors/
Helpers/
Libraries/
Models/
Routes/
Services/
Views/
boostrap/
public/
vendor/
Install
Via Composer
$ composer require saefy/quars
Usage
This is the main framework source code should be installed ussing composer, please refer to saefy/quars-aplication to get all folder structure for your project.
After having all code structure run:
composer install
sh quars_serve application_example
Note: quars_serve is for dev purposes only, don't use it in prod environments.
// Run the app \Quars\Request::serve();
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email mmendoza000@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.