Image for post
Image for post

The CLI( Command Line Interface) is one of the best places to execute a long long-running task and Laravel has provided us with the Artisan Console that allows us to create our custom commands. I usually set up custom artisan commands whenever I am building something that requires initial setup or when I want to run queries on a large DB.

In this tutorial, I am going to show you how to set up a custom Artisan command and how to calculate the execution time of that command.

There are two ways to create a custom Artisan Console command, the Class-Based Command and the Closure Based Command. …


This article was initially sent as a mail. I had to publish it so that others who didn’t subscribe to the blog series mailing list can follow along.

Hi!

First, my name is Stephen Jude and I have been a PHP/Laravel developer for three(3) years now.

The first thing you have to know is that Laravel is a PHP framework. So everything we are going to be talking about is going to be revolving around PHP(don’t worry, you will be fine).

Now let me walk you through what you are going to need for this series.

Development Environment

If you have been a PHP developer, you already know about XAMPP, WAMP, LAMP and MAMP. But there is more to setting up a Laravel development environment. Laravel is made up of PHP packages(lots of them) which requires a lot of PHP extensions that also requires lots of configurations. The good news is that all these configurations have been taken care of.​ …


This article was originally published on my blog on March 17, 2020.

Last week I sent out a getting started mail to everyone following my Laravel series for beginners. I mentioned PHPSandbox.io for those who don’t want to setup a local development environment.

So whats this PHPSandbox all about?

Image for post
Image for post

PHPSandbox

PHPSandbox is basically a play ground for PHP developers. It has lots of handy features. Its a place where you can try out code snippets, PHP packages. Its the coolest way to share PHP code snippets and you can run it from anywhere its embedded.

PHPSandbox is an online Code Sandbox made for PHP. …

About

STEPHEN JUDE

Software Developer | https://stephenjude.me

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store