Quars (Framework Core)
![Software License][ico-license]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*1)
This is the Quars Framework Core, please use saefy/quars-application to create web apps with Quars., (*2)
Quars is a PHP Framework for small projects, easy to implement. It uses Phroutes/phroutes for routing, blade template engine used in Laravel., (*3)
- Database is handled with \Quars\Db\Db
- ActiveRecord library is \Quars\ActiveRecord
Structure
This is the directory structure you should use for your project., (*4)
my_application_example/
app/
Cache/
Config/
Controllers/
Errors/
Helpers/
Libraries/
Models/
Routes/
Services/
Views/
boostrap/
public/
vendor/
Install
Via Composer, (*5)
``` bash
$ composer require saefy/quars, (*6)
## 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, (*7)
Note: quars_serve is for dev purposes only, don't use it in prod environments.
``` php
// Run the app
\Quars\Request::serve();
Change log
Please see CHANGELOG for more information on what has changed recently., (*8)
Testing
bash
$ composer test
, (*9)
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*10)
Security
If you discover any security related issues, please email mmendoza000@gmail.com instead of using the issue tracker., (*11)
Credits
License
The MIT License (MIT). Please see License File for more information., (*12)