How to use Debugger in PHP Laravel package | PHP Tutorial

preview_player
Показать описание


🌐 My social media:
..................................................................................................
..................................................................................................

Hello world! 🌎

In this PHP tutorial, I want to cover a somewhat controversial topic: Laravel app architecture—how it should be, and why. I prefer a classic architecture that any OOP software engineer can understand. An architecture that follows solid principles, is easy to extend, maintain, and test.

In this episode, we will find out why our view is not loading and producing an exception. We'll debug the issue, fix it, and then display our login form.

Timeline:

00:00 Intro
00:15 Quick Overview
00:42 InvalidArgumentException
01:12 Input data before debugging
02:10 Start debugging with PHP XDebug
03:00 Who throws an exception?
03:15 Thoughts and Analyze
05:40 Step-by-step PHP code execution with XDebug
06:15 Fix an error
09:06 Solution to fix InvalidArgumentException
10:20 Laravel blade overriding exception
13:24 Why Laravel doesn't allow you to override a section. GitHub Issue
14:30 Laravel blade extends, layout, and section
15:09 View and InvalidArgumentException, how we fix it, and what's next?

Related videos:

#php #phplaravel #code #laravel #package #livecode #codewithme #phptutorial #patterns #designpatterns #github #blade #programming
Рекомендации по теме
Комментарии
Автор

Do you use XDebug for your project? How was your personal experience?

vitaliisheverov
join shbcf.ru