FastyPHP / fasty

A simple and fast PHP framework
Apache License 2.0
2 stars 0 forks source link
fast framework framework-php html mvc mvc-framework mvc-php php php-framework php7 web

Fasty - a fast and simple PHP framework

(Currently under heavy development)

Installation

Installing Fasty is super easy, just follow the steps bellow

composer create-project fasty/framework project_name

Or download the latest stable release (https://github.com/FastyPHP/fasty/releases) and then run

composer install

  1. Set the web servers root directory to the /Public folder
  2. Open console/command prompt and cd into the Fasty root folder
  3. Run composer install and wait until composer finishes downloading the necessary files (if don't have composer set up, you can do so by visiting this link: https://getcomposer.org/doc/00-intro.md )
  4. Set up the config.php file to match your own settings
  5. Create something awesome!

Fasty doesn't require any console work on its own but it needs it for the initial installation

Benchmarks

All of the benchmarks are done using Apaches benchmark tool called ApacheBench version 2.3 They are also done on my local machine (which isn't high spec), so the results are somewhat low

Benchmark command

ab -n 1000 -c 100 http://localhost

Machine specs

The actual results

  1. Fasty - 53.91 requests/second (MySQL connection, default file cache system)
  2. Laravel - 13.59 requests/second (MySQL connection, default file cache system)
  3. CakePHP - 10.83 requests/second (MySQL connection, default file cache system)

Requirements

Fasty requires the following services