Browsed by
Tag: artisan

4 Essential Laravel Packages for Your Web Application Development ?>

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 packages I’ve created so far. You may want to try it out, and please do make a report if there’s any issues. Artisan Extended –…

Read More Read More

Laravel: Artisan Extended – make:route ?>

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 Artisan Extended package to your Laravel Project. Once you’re done with installation of Artisan Extended package, you may run now in terminal the following commands:…

Read More Read More

How to Use Lumen in Laravel ?>

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 the working sample of the Lumen in Laravel – Lumen in Laravel

Laravel: How to Create Custom Artisan Command ?>

Laravel: How to Create Custom Artisan Command

There’s only 3 steps required to setting up new Artisan command. 1. Step 1 – Create a new console file 2. Step 2 – Open up `app/Console/Commands/CommandName.php` and update the signature and the description property. 3. Step 3 – Register your new Artisan command in `app/Console/Kernel.php` Now you’re ready with your new artisan command. Check your command with `php artisan`. It should have something like this one. Here the a sample code. Reference Artisan