Join 26,000+ Laravel Developers and join the free Laravel Newsletter

Artisan

Laravel Console Task
News / October 17, 2018

Laravel Console Task

Laravel Console Task is a package by Nuno Maduro that allows you to perform tasks and to output the results to the console. Learn how this package can improve the output of your console tasks performed while running a command.

Read more…
Testing Artisan Commands in Laravel 5.7
Laravel 5.7 / August 29, 2018

Testing Artisan Commands in Laravel 5.7

Laravel 5.7 is going to improve how you write Artisan console commands, with a new API contributed by Laravel employee Mohamed Said. Check out the new testing API as well as links to the documentation!

Read more…
Automatically Open Files on Artisan “Make” Commands
Laravel Packages / June 19, 2018

Automatically Open Files on Artisan “Make” Commands

“Open on Make” is a neat little package by Andrew Huggins that makes it easy to have newly created files open in your editor of choice. When you run commands like ‘php artisan make:controller’, this package will listen for the command and open the file in the editor that you configure.

Read more…
Sending a daily email with Laravel and Campaign Monitor
Laravel Tutorials / April 11, 2018

Sending a daily email with Laravel and Campaign Monitor

Here on Laravel News, we offer multiple ways of staying up to date with new content. Everything from auto-sharing to all the social media channels, a read-only Telegram channel, a weekly newsletter and last March we started offering a daily email digest. To send the daily email we utilize the Laravel scheduler and Campaign Monitor …

Laravel Zero 5.6 is Now Released
News / February 19, 2018

Laravel Zero 5.6 is Now Released

Laravel Zero is a micro-framework for console/command-line applications that uses a customized version of Laravel. This 5.6 release features UI Improvements, Collision Syntax Highlighting, Git Version detection and more. Laravel Zero 5.6 is built on top of Laravel 5.6, the latest release of the Laravel framework. And now it requires PHP 7.1.3 or higher.

Read more…
Beautiful PHP CLI Menus for Laravel Artisan Commands
Laravel Packages / February 05, 2018

Beautiful PHP CLI Menus for Laravel Artisan Commands

Nuno Maduro, author of Laravel Zero and Collision (which ships with Laravel 5.6 as a dev dependency) is up to his command line dominance with a new package called nunomaduro/laravel-console-menu. Learn more about how this package makes it simple to start adding beautiful menus to your Laravel Artisan commands.

Read more…
Laravel 5.6 Will Remove the Artisan Optimize Command
Laravel 5.6 / September 21, 2017

Laravel 5.6 Will Remove the Artisan Optimize Command

The Artisan optimize command is deprecated as of Laravel 5.5, and a commit in master has already removed it from 5.6. Learn more about why the optimize command was removed and what you need to do in order to remove it from your applications.

Read more…
Laravel Bash Aliases
Development Tools / August 24, 2017

Laravel Bash Aliases

Bash aliases are shortcuts added to a file that allows you to reference another command through more memorable words, abbreviations, or characters. Everyone has their favorites and we asked the community to supply theirs so you can see what aliases others are using.

Read more…
Writing Custom Laravel Artisan Commands
Laravel Tutorials / August 08, 2017

Writing Custom Laravel Artisan Commands

Learn how you can create some kick-butt custom commands for your Laravel applications using the artisan console.

Laravel’s Artisan command line interface (CLI) extends Symfony’s Console component, with some added conveniences and shortcuts. Follow along if you want to learn how to create some kick-butt custom commands for your Laravel applications.

Read more…
Partyline – A Package to Print to the Artisan Console From Anywhere
Laravel Packages / June 13, 2017

Partyline – A Package to Print to the Artisan Console From Anywhere

Partyline is a new package that allows you to output to the console from outside of command class. This allows you more control on how things are printed and is great for when you need to loop items and show progress or other insights. Here is an example of a normal Command’s handle method that …