saefy/quars

Saefy Quars Api Client

v2.0.0 2023-09-09 05:17 UTC

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.