How To Create Artisan Commands To Manage Database Records in Laravel
If you followed along with this series so far, your database tables should be all set by now. However, you still need to implement a way to let users insert new entries in the links table. In this guide, we’ll create Artisan commands to manage database records on your application. At the end, you’ll be able to create, list, and delete links in the database using command-line Artisan commands.