harps/harps

Harps - Fast, complete and easy to use PHP Framework

1.2.2 2019-06-24 19:56 UTC

This package is auto-updated.

Last update: 2024-04-25 07:15:48 UTC


README

This framework is an (old) attempt to create a light and practical PHP framework in order to enhance the lack of beauty and fun in PHP.

Installation

To install Harps you will first need Composer.

Then can install the framework by using the pre-made skeleton:

composer create-project "harps/harps-skeleton" app

Or by using the components in the framework by adding it in your Composer's dependencies:

composer install "harps/harps"

How to use Harps?

If you don't use the skeleton, you will need to add those lines in your index.php file:

require_once(__DIR__ . "/vendor/autoload.php");
Boot::Harps();

After that you have two directory, App and Config. In App there are all the Controllers, Models, Managers, Views and Ressources. In Config there is the parameters and the routes configurations.

And that's it, you can now use Harps! Look at the documentation for more informations.