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
Смотрите видео Laravel - Model observers (Tips & Tricks from real life) - Episode 4 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Code with S 16 Май 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 51 раз и оно понравилось людям.