Why I <3 Laravel 4
     @philsturgeon
YAY MOAR
FRAMEWURKZ!!1
Use DIFFERENT
 frameworks for
DIFFERENT things.
APIs
     Silex, Slim, etc

    Backend/Frontend
Laravel, Symfony, FuelPHP,
   Zend Framework, etc

      CLI/Workers
        Python?
Example*




       *buy my software
PyroCMS

CodeIgniter = EASIEST FRAMEWORK EVER

Anyone can pick it up

Anyone can make an addon

I make $ when those addons are sold
Barriers to entry suck
Smaller community

Elitist douchebags

Less addons

Less money

No beer
CodeIgniter != Laravel

CodeIgniter supports PHP 5.2

I don’t care about PHP 5.2

PHP 5.3 is my new base version

Laravel 4 uses PHP 5.3 extremely well

Composer + PSR-2 = Double Rainbow
Framework Evolution
   CodeIgniter   Symfony


Kohana


     FuelPHP


    Laravel 3    Laravel 4
Leveraging Symfony
Well tested

Framework agnostic

Enough new wheels

Incredibly flexible
Leveraging other stuff

Swift Mailer - Mail to all the things

Monolog - Log to all the things

Doctrine Common - Fuck knows, but yay


                              * All PSR-2
Staying light
$ cloc .

      32 text files.
      28 unique files.
      50 files ignored.

http://cloc.sourceforge.net v 1.56 T=1.0 s (22.0 files/s, 1100.0 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
PHP                             21            181            637            264
XML                              1              0              0             18
-------------------------------------------------------------------------------
SUM:                            22            181            637            282
-------------------------------------------------------------------------------
Why I &lt;3 Laravel 4
Why I &lt;3 Laravel 4

Why I &lt;3 Laravel 4

  • 1.
    Why I <3Laravel 4 @philsturgeon
  • 2.
  • 3.
    Use DIFFERENT frameworksfor DIFFERENT things.
  • 4.
    APIs Silex, Slim, etc Backend/Frontend Laravel, Symfony, FuelPHP, Zend Framework, etc CLI/Workers Python?
  • 9.
    Example* *buy my software
  • 10.
    PyroCMS CodeIgniter = EASIESTFRAMEWORK EVER Anyone can pick it up Anyone can make an addon I make $ when those addons are sold
  • 11.
    Barriers to entrysuck Smaller community Elitist douchebags Less addons Less money No beer
  • 12.
    CodeIgniter != Laravel CodeIgnitersupports PHP 5.2 I don’t care about PHP 5.2 PHP 5.3 is my new base version Laravel 4 uses PHP 5.3 extremely well Composer + PSR-2 = Double Rainbow
  • 14.
    Framework Evolution CodeIgniter Symfony Kohana FuelPHP Laravel 3 Laravel 4
  • 16.
    Leveraging Symfony Well tested Frameworkagnostic Enough new wheels Incredibly flexible
  • 17.
    Leveraging other stuff SwiftMailer - Mail to all the things Monolog - Log to all the things Doctrine Common - Fuck knows, but yay * All PSR-2
  • 21.
    Staying light $ cloc. 32 text files. 28 unique files. 50 files ignored. http://cloc.sourceforge.net v 1.56 T=1.0 s (22.0 files/s, 1100.0 lines/s) ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- PHP 21 181 637 264 XML 1 0 0 18 ------------------------------------------------------------------------------- SUM: 22 181 637 282 -------------------------------------------------------------------------------