fasty/framework

A fast and simple PHP framework

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 1

Language:CSS

Type:project

0.9.33 2017-07-16 08:38 UTC

This package is not auto-updated.

Last update: 2024-04-14 01:10:10 UTC


README

(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

  • 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

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