News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Phil Sturgeon:
Autoloading Laravel application code with PSR-4
January 09, 2014 @ 10:13:02

On his site today Phil Sturgeon has a new post showing how to use autoloading with Laravel based on the recently approved PSR-4 standard.

The video shows you how to move over from the current autoloading methods, PSR-0, for your own packages, not Laravel's. He walks you through the creation of the typical PSR-0 package structure and classes then shows it in use in a simple controller.

The font's a bit small on the screencast, but it gets the idea across. Migrating over to the new autoloading is relatively easy, it just takes a little tweaking on the current structure.

0 comments voice your opinion now!
screencast autoload laravel autoload psr0 psr4 tutorial

Link: http://philsturgeon.co.uk/blog/2014/01/autoloading-laravel-application-code-with-psr4

blog comments powered by Disqus

Similar Posts

RIAZone: Integrating PHP with Flash Collaboration Services

Robert Basic's Blog: Chaining routes in Zend Framework

Padraic Brady's Blog: An Example Zend Framework Blog App - Part 2: The MVC Application Architecture

Alexander Netkachev's Blog: A little bit more about Zend_Controller plugins

Pathfinder Blog: PHP Spam Injection First Aid with Apache ModSecurity


Community Events











Don't see your event here?
Let us know!


performance unittest example introduction install release framework package hhvm composer symfony2 project database hack component language application podcast facebook security

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework