Larahelp
Новый пакет от DarkGhostHunter, содержащий 35 глобальных хелперов
https://github.com/DarkGhostHunter/Larahelp
#english
Статья о пакете: https://medium.com/@DarkGhostHunter/laravel-adding-those-missing-helpers-you-always-wanted-acaea8cbddce
Новый пакет от DarkGhostHunter, содержащий 35 глобальных хелперов
https://github.com/DarkGhostHunter/Larahelp
#english
Статья о пакете: https://medium.com/@DarkGhostHunter/laravel-adding-those-missing-helpers-you-always-wanted-acaea8cbddce
Учимся писать тесты на PHPUnit на примере разработки API.
Репозиторий с кодом прилагается.
#english
https://www.twilio.com/blog/unit-testing-laravel-api-phpunit
Репозиторий с кодом прилагается.
#english
https://www.twilio.com/blog/unit-testing-laravel-api-phpunit
Twilio
Getting Started with Unit Testing a Laravel API using PHPUnit
A great introduction to unit testing in Laravel by building a custom API
Реализация паттерна «Стратегия» на основе базы данных
#english
https://robertogallea.com/posts/tutorials/database-oriented-strategy-configuration
#english
https://robertogallea.com/posts/tutorials/database-oriented-strategy-configuration
Пакет «Bref Laravel Bridge»
#english
https://github.com/brefphp/laravel-bridge
Благодаря спонсорам, пакет стал опенсорным.
Он позволяет обрабатывать задачи в AWS Lambda через Bref.
Подробнее о безсерверном Laravel на Bref: https://bref.sh/docs/frameworks/laravel.html
#english
https://github.com/brefphp/laravel-bridge
Благодаря спонсорам, пакет стал опенсорным.
Он позволяет обрабатывать задачи в AWS Lambda через Bref.
Подробнее о безсерверном Laravel на Bref: https://bref.sh/docs/frameworks/laravel.html
This media is not supported in your browser
VIEW IN TELEGRAM
Рилтаймовые графики на Laravel Livewire & ChartJS
#english
https://www.georgebuckingham.com/laravel-livewire-chart-js-realtime/
#english
https://www.georgebuckingham.com/laravel-livewire-chart-js-realtime/
Релиз Laravel 7.15
- Added extendable relations for models
- Added MakesHttpRequests::withToken()
- Added the ability to HasOneOrMany::makeMany() (create many without saving)
- Added Blueprint::foreignUuid()
- Allow setting the event handler queue via a viaQueue() method
- Fixed Model::withoutEvents() not registering listeners inside boot()
#english
https://blog.laravel.com/laravel-v7-15-0-released
- Added extendable relations for models
- Added MakesHttpRequests::withToken()
- Added the ability to HasOneOrMany::makeMany() (create many without saving)
- Added Blueprint::foreignUuid()
- Allow setting the event handler queue via a viaQueue() method
- Fixed Model::withoutEvents() not registering listeners inside boot()
#english
https://blog.laravel.com/laravel-v7-15-0-released
The Laravel Blog
Laravel v7.15.0 released - The Laravel Blog
Laravel v7.15.0 is released in 2020/06/09, here are the changes we`ve merged into this release.
PhpUnitGen теперь и для Laravel
Инструмент генерации каркасов модульных тестов для вашего приложения
#english
https://dev.to/paulthebaud/phpunitgen-testing-the-new-way-3jf
Инструмент генерации каркасов модульных тестов для вашего приложения
#english
https://dev.to/paulthebaud/phpunitgen-testing-the-new-way-3jf
DEV Community
PhpUnitGen, testing, the new way!
You are part of the very exclusive club of PHP developers and you inflict yourself swirls of copy/pas...
Релиз Livewire 1.2
Основная фишка: добавлена поддержка загрузки файлов
#english
https://laravel-news.com/livewire-file-upload
Основная фишка: добавлена поддержка загрузки файлов
#english
https://laravel-news.com/livewire-file-upload
Laravel News
Livewire Added File Upload Support (And It’s Kind of a Game-Changer)
Laravel Livewire now includes support for file uploads and uses “side-loading”, but hides all the complexity for you (with ZERO configuration), providing you with the experience of a traditional form submission, but with a handful of awesome upgrades.
Laravel Cronless Schedule
Новый пакет от Spatie для запуска планировщика задач без использования крона.
https://github.com/spatie/laravel-cronless-schedule
#english
Подробнее о пакете:
https://freek.dev/1689-a-package-to-run-the-laravel-scheduler-without-relying-on-cron
Новый пакет от Spatie для запуска планировщика задач без использования крона.
https://github.com/spatie/laravel-cronless-schedule
#english
Подробнее о пакете:
https://freek.dev/1689-a-package-to-run-the-laravel-scheduler-without-relying-on-cron
Сортировка запросов БД по полю отношений
#english
https://reinink.ca/articles/ordering-database-queries-by-relationship-columns-in-laravel
#english
https://reinink.ca/articles/ordering-database-queries-by-relationship-columns-in-laravel
Используем тип данных «Валюта» с помощью Кастомных Кастов в Laravel 7
#english
https://www.twilio.com/blog/create-currency-data-type-custom-casts-laravel-7
#english
https://www.twilio.com/blog/create-currency-data-type-custom-casts-laravel-7
Laravel и фреймворк для тестирования Codeception
#english
https://glennkimble.me/blog/using-laravel-assertions-in-codeception/
#english
https://glennkimble.me/blog/using-laravel-assertions-in-codeception/
Как узнать тип файла в Laravel, начиная с версии 7.14
#english
https://www.amitmerchant.com/guess-file-extension-laravel/
#english
https://www.amitmerchant.com/guess-file-extension-laravel/
Amit Merchant - A blog on PHP, JavaScript, and more
Find the extension of files without extension in Laravel
It’s helpful sometimes when you have a file and it doesn’t have extension attached to it but you want to know the extension of the file regardless.
Учимся использовать Alpine.js с Livewire на примере создания верификационной формы для Twilio.
#english
https://www.twilio.com/blog/intro-alpine-js-twilio-verify-laravel-livewire
#english
https://www.twilio.com/blog/intro-alpine-js-twilio-verify-laravel-livewire
Twilio Blog
Intro to Alpine.js with Twilio Verify and Laravel Livewire
Create a phone number verification form with Alpine.js, Twilio Verify, and Laravel Livewire
Подробный гайд об Уведомлениях в Laravel — Часть 1
#english
https://medium.com/@sirajul.anik/laravel-notifications-part-1-understanding-laravel-notification-thoroughly-4e54b7bf0af9
#english
https://medium.com/@sirajul.anik/laravel-notifications-part-1-understanding-laravel-notification-thoroughly-4e54b7bf0af9
Medium
Laravel Notifications — Part 1: Understanding Laravel Notification thoroughly
The term notification means it all. This article tries to describe the thorough concept of Laravel Notifications and how it’s done…
Laravel Intellisense плагин для Visual Studio Code
Автокомплит для eloquent-моделей, ресурсов, шаблонов, маршрутов, конфигов и фабрик.
#english
https://laravel-news.com/laravel-intellisense-vscode
Автокомплит для eloquent-моделей, ресурсов, шаблонов, маршрутов, конфигов и фабрик.
#english
https://laravel-news.com/laravel-intellisense-vscode
Laravel News
Laravel Intellisense Plugin for Visual Studio Code - Laravel News
Laravel Intellisense is a Visual Studio Code plugin by Mohamed Benhida that provides some nice auto-completion for things like Eloquent models, factories, config, and API resources.
Гайд об Уведомлениях в Laravel — Часть 2
Как создать свой канал уведомлений
#english
https://medium.com/@sirajul.anik/laravel-notifications-part-2-creating-a-custom-notification-channel-6b0eb0d81294
Как создать свой канал уведомлений
#english
https://medium.com/@sirajul.anik/laravel-notifications-part-2-creating-a-custom-notification-channel-6b0eb0d81294
Medium
Laravel Notifications — Part 2: Creating a custom notification channel
In part 1, I discussed how Laravel notifications work. I tried my best to give a thorough picture of the concept. Now I will …
Eloquent Filter 2.0
Релиз второй версии пакета для фильтрации данных модели из строки запроса
#english
https://medium.com/@mehdifathi.developer/introduce-eloquent-filter-2-in-laravel-21bfb35195e9
Релиз второй версии пакета для фильтрации данных модели из строки запроса
#english
https://medium.com/@mehdifathi.developer/introduce-eloquent-filter-2-in-laravel-21bfb35195e9
Medium
Introduce Eloquent Filter 2 in Laravel
The Eloquent filter is a package for filter data of models by the query string. Easy to use and fully dynamic.
Аутентификация через Laravel Sanctum и Android с Retrofit и RoboPojoGenerator — Часть 1
В первой части работаем с Sanctum.
#english
https://medium.com/@fahrursanjaya_37096/authentication-using-laravel-airlock-sanctum-and-android-with-retrofit-part-1-cfee460f253e
В первой части работаем с Sanctum.
#english
https://medium.com/@fahrursanjaya_37096/authentication-using-laravel-airlock-sanctum-and-android-with-retrofit-part-1-cfee460f253e
Medium
Authentication Using Laravel AirLock/Sanctum and Android with Retrofit Part 1
in this article we will try to authenticating Laravel API with the new Laravel Sanctum (before Sanctum it was called Laravel Airlock) on…
Сортировка по полю отношений
Расскажу, как отсортировать запросы к базе данных по полю Eloquent-отношения. Например, нам нужно сделать сортировку пользователей по названию их компании, которое находится в отдельной таблицу companies. Сам способ сортировки зависит от типа отношений, и, по сравнению с обычной сортировкой, может быть довольно сложен.
Расскажу, как отсортировать запросы к базе данных по полю Eloquent-отношения. Например, нам нужно сделать сортировку пользователей по названию их компании, которое находится в отдельной таблицу companies. Сам способ сортировки зависит от типа отношений, и, по сравнению с обычной сортировкой, может быть довольно сложен.