Tag Archives: artisan

Laravel: Write Class Generator Command

Assalamualaikum, In this post, I will share with you how you can create your own class generator – like php artisan make:model …. So here the trick, in order to create your own class generator command, you can extend the use Illuminate\Console\GeneratorCommand. For instance, you want to create make:service. First, create new artisan command by… Read More »

4 Essential Laravel Packages for Your Web Application Development

Assalamualaikum, Recently I’ve been working with developing Laravel packages for my own use and Laravel’s community. It’s quite fun and interesting how you can separate the modules or features from Laravel’s main application and make it as a package, which later on you can reuse it over and over again. Here are some of the… Read More »

Laravel: Artisan Extended – make:route

Assalamualaikum, Yesterday, I’ve shared ideas on how to manage your Laravel’s route in Laravel: Managing Routes post. Today, I want to share with you guys how to create easily the resourceful route, with or without prefix (yes, you can make route version too!). First thing first, let’s create a new Laravel project and require the… Read More »

How to Use Lumen in Laravel

You love the speed of Lumen but you want to have the features of Laravel? No problem, just include Lumen inside Laravel! Below are the steps to include Lumen inside of the Laravel Please ensure to create an empty Laravel and Lumen project because you need to copy some files from Lumen to Laravel Here… Read More »