Laravel - How to use Xdebug with Docker, PhpStorm and Tinkerwell - Episode 5

preview_player
Показать описание
Did you ever ask yourself how to use Xdebug with Docker and Phpstorm? Or how about Docker, Phpstorm and Tinkerwell ?

Let's discuss some tips & tricks about when and how to use a Laravel Model Observer for a simple use-case.

For this series, we will focus together on the power of API.
From personal experience, we will implement a project that is based heavily on real life scenario API's.

Next to programming, we will discuss also different business logics that are used in the real life.

Will discover together Laravel and it's amazing features:
- Authentication with Laravel Sanctum
- Eloquent ORM
- Models
- Controllers, Resource Controllers
- Services, Service Providers
- Testing

For this video we will discuss shortly about the environment, which is supported by Docker with some containers.

Containers in this project:
- NGINX
- PHP 8.1
- MariaDB
- Elasticsearch(later on)

Tools of the trade:
- PHP Storm from Jetbrains(this is by far the best IDE that I've worked with)
- Tinkerwell from BeyondCode(basically it is a Tinker on steroids)
- Postman for API testing
- Ray for fast debugging
- Xdebug for debugging
- Docker for my development environments
- Royal TSX for my servers management
- TablePlus for database interactions
- iTerm as my terminal
Рекомендации по теме
Комментарии
Автор

Wow, can't believe the negative comments in here. This is very useful content, keep it up! My only recommendation was to speak a bit louder and clearer, but you already fixed it in your latest videos! 👍

ThePandaGuitar
Автор

Thank you for the effort making this video. I could only wish for the voice to be clearer and a little bit louder but nonetheless thank you for this

ishortsclips
Автор

Thanks for making this! It gave me a lot of ideas, but I cannot get the breakpoints working with CLI commands - like Tinkerwell or Artisan scripts. I'm also running in Docker and my settings seem to match your settings, and I can get the debugger to trigger breakpoints within a controller, but I really need to be able to debug CLI scripts. Any ideas?

KapnKregg
Автор

boring. i couldn't watch up to a minute

nabigakelvin