Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to create and utilize custom Artisan commands in Laravel 8. Explore the process of interacting with databases through Eloquent to create new products, implement various return messages, display data in table format, add progress bars to iterations, and integrate Artisan commands into regular code. Gain hands-on experience with practical examples and discover how to enhance your Laravel development workflow with custom commands.
Syllabus
Introduction
Creating our own command
Sponsor of today’s video
Adding a command parameter in our make:command
Defining our command
Creating a database & migration
Creating a product with our custom command
Custom Show All Products command
info, comment, error & line methods
Printing out data as a table
Progress bar
How to use artisan commands in normal code
Taught by
Code With Dary