Tag Archives: phpunit
Laravel: Write Artisan Command with Test
Assalamualaikum / Hi, I will share how to write custom Artisan Commands with Test included. Part 1 First, create your custom command with php artisan make:command ReloadCacheCommand. Then open up the class located at app/Console/Commands and use the following code. Basically this command will clear all available caches in Laravel application and cache it back.… Read More »
Laravel: Packager
Assalamualaikum / Hi, In this post, I will talk more about Laravel Package Generator, Packager. And today, this morning, I just created Money Wrapper, a Money wrapper, and of course using Packager. Before we go to the things inside Packager, here the package Money Wrapper provide: Provide a Money helper – money() Intended for Laravel… Read More »
Laravel: Package Generator
Assalamualaikum / Hi, It’s been a long time, I wan to update my Laravel Package Generator and now it’s officially updated with version 2.0.2. Lots of experience, study case, observation, setting up things in Laravel package. Now I believe, it’s ready to speed up your Laravel Package Development. So, what the Packager do? Basically it… Read More »