Get "PHP 8 in a Nuthshell" (Now comes with PHP 8.3)
Amit Merchant

Amit Merchant

A blog on PHP, JavaScript, and more

The artisan about command in Laravel 9.x

Recently, a minor release for Laravel 9.x has introduced many new features that mostly include the revamp/fresh new look of Artisan commands. This includes commands to handle migrations to clearing caches to handling queues.

But there’s one Artisan command that has been introduced in this release for the first time. And that is the artisan about command.

$ php artisan about

Essentially, the command shows you an “at a glance” information about your Laravel application.

The entire information is divided mainly into three parts: Environment, Cache, and Drivers. You may see additional sections if you’re using premium services such as Laravel Spark and Laravel Vapor.

Here’s what it looks like!

As you can tell, the various information this command shows are self-explanatory. We get everything we wanted like application name, environment, Laravel version, PHP version, and so on. This is pretty nice since we get to know about everything using a single command.

We also get to quickly check on various caches and drivers the application has been using.

Good stuff!

Learn the fundamentals of PHP 8 (including 8.1, 8.2, and 8.3), the latest version of PHP, and how to use it today with my new book PHP 8 in a Nutshell. It's a no-fluff and easy-to-digest guide to the latest features and nitty-gritty details of PHP 8. So, if you're looking for a quick and easy way to PHP 8, this is the book for you.

Like this article? Consider leaving a

Tip

👋 Hi there! I'm Amit. I write articles about all things web development. You can become a sponsor on my blog to help me continue my writing journey and get your brand in front of thousands of eyes.

Comments?