Как реализовать и протестировать FormRequest'ы в Lumen
#english
https://medium.com/@florenceokosun/implementing-custom-form-request-with-lumen-1a79dca29b1d
#english
https://medium.com/@florenceokosun/implementing-custom-form-request-with-lumen-1a79dca29b1d
Medium
Implementing Custom Form Request with Lumen
Form request is an elaborate way to perform more complex validation scenarios for your API. This becomes more important especially when…
Делаем компонент Livewire для обновления счетчика корзины
#english
https://navcodes.dev/blog/cart-counter-with-livewire/
#english
https://navcodes.dev/blog/cart-counter-with-livewire/
navcodes.dev
Livewire component that updates the cart counter
Build a livewire component that updates the cart counter
Пишем реферальную программу для приложения на Laravel
#english
https://miguelpiedrafita.com/laravel-affiliate/
#english
https://miguelpiedrafita.com/laravel-affiliate/
Оптимизация Тестов
Презентация для доклада Sebastian Bergmann на OnlinePHPConference
Вы узнаете, как оптимизировать свой набор тестов (PHPUnit) с точки зрения эффективности и результативности, а также читабельности и организационной структуры.
#english #pdf
https://thephp.cc/presentations/2020-the-online-php-conference-optimizing-your-test-suite.pdf
Презентация для доклада Sebastian Bergmann на OnlinePHPConference
Вы узнаете, как оптимизировать свой набор тестов (PHPUnit) с точки зрения эффективности и результативности, а также читабельности и организационной структуры.
#english #pdf
https://thephp.cc/presentations/2020-the-online-php-conference-optimizing-your-test-suite.pdf
Небольшой совет по Laravel от Barry vd. Heuvel.
Обычно удобно применять
Обычно удобно применять
whereDate()
, но поскольку она использует функцию MySQL date
, то не использует индекс. Если же вы хотите использовать индекс, то используйте сравнение (> =
сегодня, <
завтра) или оператор between. Это можно упростить с помощью скоупа, см. изображение.Laravel: Полное объяснение как Задачи попадают в Очередь
#english
https://medium.com/@sirajul.anik/how-does-laravel-jobs-get-queued-c241b04135b7
#english
https://medium.com/@sirajul.anik/how-does-laravel-jobs-get-queued-c241b04135b7
Medium
How does Laravel Jobs get queued?
Previous article introduction
Модульное тестирование переводов в Laravel
#english
https://www.leonelngande.com/unit-testing-translation-strings-in-laravel/
#english
https://www.leonelngande.com/unit-testing-translation-strings-in-laravel/
Leonel Elimpe
Unit Testing Translation Strings in Laravel
If your Laravel app uses multiple locales, it can get tedious keeping track of translations that are yet to be added to the appropriate translation files, e.g English translations in resources/lang/en/validation.php and French translations in resources/l…
Видео от Spatie о том, как создавать и просматривать отчеты о покрытии кода в PhpStorm, используя PHPUnit и Xdebug
#english #video
https://freek.dev/1674-how-to-generate-and-view-code-coverage-reports-in-phpstorm-using-phpunit-and-xdebug
#english #video
https://freek.dev/1674-how-to-generate-and-view-code-coverage-reports-in-phpstorm-using-phpunit-and-xdebug
Laravel Livewire: Форма логина и динамической регистрации для нескольких ролей
#english
http://thecodelearners.com/laravel-livewire-login-dynamic-registration-form-for-multiple-roles/
#english
http://thecodelearners.com/laravel-livewire-login-dynamic-registration-form-for-multiple-roles/
The Code Learners
Laravel Livewire | Login & Dynamic Registration Form for Multiple Roles
Laravel Livewire, You'll be creating Login and Dynamic User Registration for Multiple Roles and navigate between different forms.
Вышел Laravel 7.14
7 добавлений, 6 исправлений и 2 изменения.
#english
https://blog.laravel.com/laravel-v7-14-0-released
7 добавлений, 6 исправлений и 2 изменения.
#english
https://blog.laravel.com/laravel-v7-14-0-released
Новая версия Laravel FFMpeg — пакета для интеграции FFMpeg в Laravel: полностью переписанное с новыми функциями и множеством улучшений.
#english #package
https://protone.media/en/blog/were-releasing-the-next-major-version-of-laravel-ffmpeg-a-full-rewrite-with-new-features-and-many-improvements
#english #package
https://protone.media/en/blog/were-releasing-the-next-major-version-of-laravel-ffmpeg-a-full-rewrite-with-new-features-and-many-improvements
Spatie Video: Улучшение читаемости кода за счет уменьшения отступов
#english #video
https://spatie.be/videos/readable-laravel/improving-readability-by-decreasing-indentation
#english #video
https://spatie.be/videos/readable-laravel/improving-readability-by-decreasing-indentation
This media is not supported in your browser
VIEW IN TELEGRAM
Защищаем адреса страниц в Laravel с помощью pin-кода
#english
https://martinbetz.eu/articles/laravel-pin-protected-url/
#english
https://martinbetz.eu/articles/laravel-pin-protected-url/
Пишем хелперы для PEST — улучшаем читабельность и уменьшаем объем тестов
#english
https://nunomaduro.com/writing-helpers-in-pest/
#english
https://nunomaduro.com/writing-helpers-in-pest/
Nuno Maduro
Writing helpers in Pest
In this article, we are going to check how can you write custom helpers to improve readability and reduce the amount of code of your test suite