News Feed
Sections




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

NetTuts.com:
Your One-Stop Guide to Laravel Commands
March 01, 2013 @ 10:56:44

Over on NetTuts.com today they've published a "one stop guide" to creating Laravel commands that can make using the Laravel PHP framework simpler. The format for these commands are more related to the Laravel 4 version of the framework (still in beta).

In this day and age, it's quite normal for a developer to have an understanding of consoles, and how to issue basic commands. But what if you could code your own custom commands to improve your workflow? If we look back to Laravel 3, you might remember that it offered tasks. Tasks were extremely helpful, but still came up short for more complex operations. Thankfully, Laravel 4 packs a beefed up Artisan that will make your life as a developer so much easier!

They start by introducing you to Artisan and what it can do already, then move into how you can create you own custom commands (with code examples). They show you how to add a description, coloring for the output, work with arguments, use confirm/question prompts and working with dependencies you might need.

0 comments voice your opinion now!
tutorial laravel4 artisan commandline example custom


blog comments powered by Disqus

Similar Posts

Daniel Cousineau's Blog: Zend Framework Module Init Script (Controller Plugin)

Zend Developer Zone: Creating Multi-Language Web Applications with Zend_Translate

Benjamin Schneider's Blog: Use PHP's Tidy extension to validate your (X)HTML markup

Jani Hartikainen's Blog: Closures coming in PHP 5.3 and thatís a Good Thing

ProDevTips.com: Parsing tags with Zend Feed


Community Events





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


testing symfony2 release opinion podcast code install list threedevsandamaybe laravel configure introduction framework unittest refactor interview community developer language series

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