News Feed
Sections




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

SitePoint PHP Blog:
How to Create a Laravel CSS-Minify Command
June 11, 2014 @ 14:58:31

The SitePoint PHP blog has a new post today from Tounes Rafie showing you how, in a Laravel framework based application, to create a minify command with the framework's "artisan" command.

In this article you'll learn how to use Laravel's Artisan command line tool, and how to create a customized command. Note that you need to be familiar with the Laravel framework to get the most of this article. In this tutorial we're going to build a command to minify our css assets.

He starts with a (very) brief look at what Laravel commands are and the options this articular one will include. Next up is the code you'll need to create the command, making use of Laravel's integration of the Symfony Console component. He shows how to register the command with the rest of the application and how to work with the options/arguments for the input. From there he shows how to run the command and how to make some other improvements including colorized output and more information on execution.

0 comments voice your opinion now!
css minify command laravel artisan framework tutorial

Link: http://www.sitepoint.com/create-laravel-css-minify-command

blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Creating Real Time Applications with PHP and WebSockets

ProDevTips Blog: Nice ZF, jQuery and Smarty combo

VilkomenJuist.nl: Laravel 4 and NodeJs/Redis pub/sub realtime notifications

Web Developer Juice: PHP Magic Functions: Best Part of Object Oriented PHP - Part 1

Inside DealTaker Blog: Kohana PHP 2.3.x Tutorial Part 1


Community Events

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


performance api series community part2 configure laravel example opinion composer php7 library podcast conference symfony2 application interview introduction release framework

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