Artisan

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 …

Interactive Make Command
Laravel Packages / May 02, 2017

Interactive Make Command

The Interactive Make Command is a new package that allows you to get interactive questions after running php artisan make.

Read more…
Laravel 5.5 Adds Frontend Presets
Laravel 5.5 / April 10, 2017

Laravel 5.5 Adds Frontend Presets

Since Laravel 5.3 the framework has shipped with optional Bootstrap and Vue.js scaffolding so you can quickly get started creating your next app idea with some of the latest tools. These have always been easy to remove, but not everyone wants to use either of those, so in Laravel 5.5 a new Artisan preset command …

Laravel OPcache Package
Laravel Packages / April 05, 2017

Laravel OPcache Package

Appstract has created a Laravel Package that gives you Artisan commands for working with OPcache.

Read more…
In Laravel 5.5 “vendor:publish” Gets A Provider Prompt
Laravel 5.5 / March 13, 2017

In Laravel 5.5 “vendor:publish” Gets A Provider Prompt

Coming in Laravel 5.5 is a change to the vendor publish command that prompts you to select the provider or tag to publish. Making it easier than ever to only publish certain packages.

Read more…
Improved model generation with Laracademy Generators
Laravel Packages / September 02, 2016

Improved model generation with Laracademy Generators

Laravel provides the Artisan command line tool that allows you to save time by including several generators. Some examples include make:controller, make:model, and make:migration. Building on top of this idea is a third party package named Laracademy Generators that will automatically generate your models based on your database structure. Installation: Let’s explore the workflow when … Read more…

News / July 21, 2016

Laravel 5.3 changes the “app” folder

As we are getting closer to the launch of Laravel 5.3 new features, seem to come out almost daily. The latest is a change to the “App” folder and in a move to simplify it, the Events, Jobs, Listeners, and Policies folders are now gone. It remains fully backward compatible and if you run any … Continue reading Laravel 5.3 changes the “app” folderRead more…