How To Create CLI App & Commands - Full PHP 8 Tutorial @ProgramWithGio
How To Create CLI App & Commands - Full PHP 8 Tutorial  @ProgramWithGio
Uploaded September 2022 | Updated November 2026, 3 hours ago
In this video we build a command line interface to be able to run doctrine ORM, DBAL & migration commands as well as the custom commands that we'll create. We are also introduced to Symfony Console component & how to use it to build CLI tools.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: patreon.com/programwithgio
THANK YOU!

🛠️ TOOLS & SERVICES I USE
Cloudways Hosting - platform.cloudways.com/signup?id=1175002&data1=bw&coupon=GIO15
Digital Ocean Hosting - Get 200$ credit - https://m.do.co/c/38b935ad74e5
Domains on Namecheap - namecheap.pxf.io/rnRjdQ
Envato Elements - https://1.envato.market/c/2937311/298927/4662

LESSON 3.31
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-

RESOURCES
Source Repo - github.com/ggelashvili/learnphptherightway-project/tree/3.31
Symfony Console - symfony.com/doc/current/components/console.html

Table of Contents
00:00 - Intro
00:31 - Create Doctrine CLI
04:58 - Cloudways Promo
05:42 - Add Migration Commands
09:36 - Symfony Console Component
12:55 - Create Commands
15:11 - Refactor Commands to Configs
21:03 - Outro

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.
How To Create CLI App & Commands - Full PHP 8 TutorialSimplify Your Views with Laravel Blade Components | Learn Laravel The Right WayRefactor to use Eloquent instead of Doctrine DBAL - Full PHP 8 TutorialValue Objects Practical Example - What is a Value Object? - Full PHP 8 TutorialDoctrine ORM Query Builder - Full PHP 8 TutorialObject Oriented PHP - Class Constants - Full PHP 8 TutorialWhat Are Expressions In PHP & How They Are Evaluated - Full PHP 8 TutorialHow To Create Functions In PHP - Functions Tutorial - Full PHP 8 TutorialIntro to Doctrine PHP - DataBase Abstraction Layer - Query Builder - Full PHP 8 TutorialDeploy Laravel App To Production & Set Up Staging EnvironmentRefactor cURL to Guzzle With Retry Logic - Multiple API Integrations - Full PHP 8 TutorialHow to integrate multiple APIs with your Laravel app using RapidAPI
Program With Gio |

How To Create CLI App & Commands - Full PHP 8 Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER