Релиз Laravel 6.18.34, 7.23.2
Исправление уязвимости связанной с массовым присвоением
https://blog.laravel.com/security-release-laravel-61834-7232
Исправление уязвимости связанной с массовым присвоением
https://blog.laravel.com/security-release-laravel-61834-7232
The Laravel Blog
Security Release: Laravel 6.18.34, 7.23.2 - The Laravel Blog
Today we released a security patch for Laravel 6.x and 7.x.
In previous releases of Laravel, it was possible to mass assign Eloquent attributes that included the model's table name:
```
$model->fill(['users.name' => 'Taylor']);
```
When doing so, Eloquent…
In previous releases of Laravel, it was possible to mass assign Eloquent attributes that included the model's table name:
```
$model->fill(['users.name' => 'Taylor']);
```
When doing so, Eloquent…
Форма контакта на Livewire
https://www.codechief.org/article/laravel-7x-livewire-form-submit-example-tutorial
https://www.codechief.org/article/laravel-7x-livewire-form-submit-example-tutorial
Laravel и UUID
Не буду вдаваться в подробности плюсов и минусов UUID по сравнению с обычным автоматическим инкрементным идентификатором, про это есть отдельные статьи. Но я расскажу вам как можно использовать UUID в вашей Laravel.
https://laravel.demiart.ru/laravel-uuid/
Не буду вдаваться в подробности плюсов и минусов UUID по сравнению с обычным автоматическим инкрементным идентификатором, про это есть отдельные статьи. Но я расскажу вам как можно использовать UUID в вашей Laravel.
https://laravel.demiart.ru/laravel-uuid/
Динамические поля в формах
https://www.codechief.org/article/laravel-7x-dynamically-add-more-input-fields-using-handlebars-js
https://www.codechief.org/article/laravel-7x-dynamically-add-more-input-fields-using-handlebars-js
Релиз Laravel 7.24 и 6.18.35
Исправление уязвимости связанной со свойством $guarded
https://blog.laravel.com/security-release-laravel-61835-7240
Исправление уязвимости связанной со свойством $guarded
https://blog.laravel.com/security-release-laravel-61835-7240
The Laravel Blog
Security Release: Laravel 6.18.35, 7.24.0 - The Laravel Blog
**Note: This security patch only affects applications using the `$guarded` property on models. In addition, applications that set `$guarded` to `[]` or `['*']` are not affected by the bug described in this post.**
Today we are releasing a follow-up to...
Today we are releasing a follow-up to...
Laravel 8: Вычисляемые поля MySQL
https://pineco.de/using-computed-columns-in-laravel/
https://pineco.de/using-computed-columns-in-laravel/
Pine
Using Computed Columns in Laravel - Pine
MySQL and SQLite (from version 3.31.0) support the generated column definitions. Let’s see how can we use computed columns in our database schema and in what scenarios should we add them to our migrations. Virtual and Stored Columns Basically there are two…
Использование Представлений (View) MySQL в Laravel
https://www.itsolutionstuff.com/post/how-to-use-mysql-view-in-laravelexample.html
https://www.itsolutionstuff.com/post/how-to-use-mysql-view-in-laravelexample.html
Уже можно потестировать Laravel 8. Вот инструкция:
https://medium.com/@robertodev/how-to-install-laravel-5-5-dev-d721873a8c89#
https://medium.com/@robertodev/how-to-install-laravel-5-5-dev-d721873a8c89#
Medium
How to install Laravel 8 (dev)
How to install the preview of the new version of Laravel (8.0)
Laravel и ULID
В прошлой статье мы разобрались как работать с UUID. Но он не решает всех проблем распределенных систем. Один из новых подходов к генерации уникальных идентификаторов это ULID — Universally Unique Lexicographically Sortable Identifier (универсальный уникальный лексографически сортируемый идентификатор).
https://laravel.demiart.ru/laravel-i-ulid/
В прошлой статье мы разобрались как работать с UUID. Но он не решает всех проблем распределенных систем. Один из новых подходов к генерации уникальных идентификаторов это ULID — Universally Unique Lexicographically Sortable Identifier (универсальный уникальный лексографически сортируемый идентификатор).
https://laravel.demiart.ru/laravel-i-ulid/
Валидация данных на стороне клиента
https://www.codechief.org/article/laravel-7-client-side-form-validation-with-jquery-example
https://www.codechief.org/article/laravel-7-client-side-form-validation-with-jquery-example
Настраиваем Очереди для безсерверного Laravel с помощью bref
https://medium.com/cs-code/setup-queue-with-serverless-laravel-using-bref-92b2cd803bb7
https://medium.com/cs-code/setup-queue-with-serverless-laravel-using-bref-92b2cd803bb7
Medium
Setup Queue with Serverless Laravel using bref
This tutorial assumes you already have a Serverless Laravel setup in place, if not then you can follow this tutorial “Deploy Serverless…
Подсказки для Eloquent с помощью Laravel IDE Helper
https://www.youtube.com/watch?v=8FZDdFghbQk
https://www.youtube.com/watch?v=8FZDdFghbQk
YouTube
Autocomplete Eloquent Properties with Laravel IDE Helper
Quick demo of a package that can help your IDE (in my case, PhpStorm) to auto-suggest you the properties of your Eloquent models.
Laravel IDE Helper: https://github.com/barryvdh/laravel-ide-helper
Automate it with Composer: https://twitter.com/AlexVande…
Laravel IDE Helper: https://github.com/barryvdh/laravel-ide-helper
Automate it with Composer: https://twitter.com/AlexVande…
Очереди Laravel: выполнение одного и того же задания несколько раз
https://divinglaravel.com/laravel-queues-in-action-running-the-same-job-multiple-times
https://divinglaravel.com/laravel-queues-in-action-running-the-same-job-multiple-times
Diving Laravel
Running The Same Queued Job Multiple Times - Diving Laravel
Learn how you can use use Laravel Queues to re-use the same job instance multiple times to execute different logic.
Группирование условий where в Laravel
https://www.amitmerchant.com/how-to-group-where-constraints-in-laravel-eloquent/
https://www.amitmerchant.com/how-to-group-where-constraints-in-laravel-eloquent/
Amit Merchant - A blog on PHP, JavaScript, and more
How to group where constraints in Laravel Eloquent
When writing MySQL queries, if there are more than two where conditions, you’d want to group certain constraints/conditions to avoid unexpected behavior. For instance, check the following query.
Подробнее об уязвимости массового присвоения в Laravel
https://cyberpanda.la/blog/mass-assignment-laravel
https://cyberpanda.la/blog/mass-assignment-laravel