2017 © Pedro Peláez
 

project framework

A fast and simple PHP framework

image

fasty/framework

A fast and simple PHP framework

  • Sunday, July 16, 2017
  • by Champa
  • Repository
  • 2 Watchers
  • 2 Stars
  • 6 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Fasty - a fast and simple PHP framework

(Currently under heavy development), (*1)

Installation

Installing Fasty is super easy, just follow the steps bellow, (*2)

composer create-project fasty/framework project_name, (*3)

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

composer install, (*5)

  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, (*6)

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, (*7)

Benchmark command

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

Machine specs

  • Processor: Intel Core i5-4210U @ 1.70GHz
  • RAM: 8 GB
  • System: 64-bit Windows 10

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, (*8)

  • PHP 7.1 or greater
  • MariaDB 10.1/MySQL 5.7.14 or greater

The Versions