cawakharkov/symfony-micro

Demo for Symfony micro trait application

dev-master / 0.1.x-dev 2016-09-14 17:21 UTC

This package is not auto-updated.

Last update: 2020-02-21 16:39:48 UTC


README

Symfony micro applicatin based on \Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait

Symfony as a Microframework

Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Travis

What's included

  • Symfony v3.0.*
  • Doctrine 2.5
  • Generator-bundle
  • Uikit
  • FontAwesome

Usage

  • Create project
composer create-project cawakharkov/symfony-micro:dev-master
  • Bower
bower install
  • Run with built in server .
bin/console server:run localhost

Small benchmark

-> % siege -b -t30S -c 20 http://prod.micro.local/                     
** SIEGE 3.0.8
** Preparing 20 concurrent users for battle.
The server is now under siege...
Lifting the server siege...      done.

Transactions:                  11252 hits
Availability:                 100.00 %
Elapsed time:                  29.09 secs
Data transferred:               4.79 MB
Response time:                  0.05 secs
Transaction rate:             386.80 trans/sec
Throughput:                     0.16 MB/sec
Concurrency:                   19.96
Successful transactions:       11252
Failed transactions:               0
Longest transaction:            0.12
Shortest transaction:           0.03