Forwarded from WebCraft - ремесло веб разработки
Laravel | Внедрение зависимостей в Middleware
Middleware - это механизм для проведения различных манипуляций над запросом в приложениях на Laravel до того, как запрос попадет в контроллер.
Как и большинство инструментов, встроенных в Laravel, экземпляры классов middleware создаются через ServiceContainer. А это значит, что если ваш middleware требует вызова какого-либо сервиса, то его можно внедрить через параметры конструктора.
👉 @web_craft
Middleware - это механизм для проведения различных манипуляций над запросом в приложениях на Laravel до того, как запрос попадет в контроллер.
Как и большинство инструментов, встроенных в Laravel, экземпляры классов middleware создаются через ServiceContainer. А это значит, что если ваш middleware требует вызова какого-либо сервиса, то его можно внедрить через параметры конструктора.
👉 @web_craft
Forwarded from Laravel World
Размышления о Node.js и о том, почему мне следовало остановиться на Laravel
https://dev.to/tylerlwsmith/reflecting-on-a-year-with-node-js-and-why-i-should-have-stuck-with-laravel-e5a
https://dev.to/tylerlwsmith/reflecting-on-a-year-with-node-js-and-why-i-should-have-stuck-with-laravel-e5a
DEV Community
Reflecting on a year with Node.js and why I should have stuck with Laravel
A year ago I made a bet on full-stack JS and switched my focus from Laravel to Node.js. A year later, I found that Node just slowed me down.
Forwarded from Laravel World
Тестирование Laravel API с помощью PHPUnit
https://auth0.com/blog/testing-laravel-apis-with-phpunit/
https://auth0.com/blog/testing-laravel-apis-with-phpunit/
Auth0 - Blog
Testing Laravel APIs Using PHPUnit
Learn how to test Laravel APIs using PHPUnit.
Forwarded from Highload — медіа для розробників
10 книг по программированию на PHP и MySQL
В блоге на hackr.io пользователь Ахил Бхадвал поделился десятью лучшими, по его мнению, книгами по программированию на языке PHP.
https://highload.today/10-knig-po-programmirovaniyu-na-php-i-mysql/
#PHP #MySQL #books #programming #learning #knowledge
В блоге на hackr.io пользователь Ахил Бхадвал поделился десятью лучшими, по его мнению, книгами по программированию на языке PHP.
https://highload.today/10-knig-po-programmirovaniyu-na-php-i-mysql/
#PHP #MySQL #books #programming #learning #knowledge
Forwarded from Free Online Courses (N00B |TIC| |FTU|)
Build a news portal with Laravel and Bootstrap 2021 [18 Hrs]
FREE For 48 Hrs
Build a news portal with Laravel HTML, CSS and Bootstrap 2021
https://coursevania.com/courses/build-a-news-portal-with-laravel-and-bootstrap-2021/
FREE For 48 Hrs
Build a news portal with Laravel HTML, CSS and Bootstrap 2021
https://coursevania.com/courses/build-a-news-portal-with-laravel-and-bootstrap-2021/
Forwarded from Laravel World
Как показать, кто из пользователей онлайн
https://mrunali.in/how-to-display-online-users-in-laravel
https://mrunali.in/how-to-display-online-users-in-laravel
Forwarded from Laravel World
Псевдонимы полиморфных типов в Eloquent
https://www.amitmerchant.com/aliasing-polymorphic-types-in-laravel-eloquent/
https://www.amitmerchant.com/aliasing-polymorphic-types-in-laravel-eloquent/
Amit Merchant - A blog on PHP, JavaScript, and more
Aliasing polymorphic types in Laravel’s Eloquent
When working with polymorphic relationships in Laravel’s Eloquent, it’s important to specify the “type” of the related model. You can do this by using morphOne, morphMany, and morphToMany methods.
Forwarded from Laravel World
Пишем корзину на Vue + Laravel Cashier + Stripe
https://youtu.be/gvnxd1xne7Q
https://youtu.be/gvnxd1xne7Q
YouTube
Build a shopping cart with Laravel Cashier and Vue
In this 55 minute video, I'll show you how to create a basic e-commerce site powered by a Vue SPA and Laravel API, which takes payments through Stripe thanks to the Laravel Cashier package.
Join my newsletter for weekly tips on Laravel + web development:…
Join my newsletter for weekly tips on Laravel + web development:…
Forwarded from Laravel World
Подборка уроков на английском языке для изучения Laravel в 2021 году
https://laravel-news.com/learning-laravel-in-2021
https://laravel-news.com/learning-laravel-in-2021
Laravel News
21 Laravel Tutorials for Learning Laravel in 2021
2021 is a great time to learn Laravel and improve your knowledge if you've been using it. To start the year off we've made a list of 21 tutorials on everything from getting started to going deeper with the framework.
Forwarded from Laravel World
Создание приложения на Laravel для парсинга сайтов
https://folafola.hashnode.dev/creating-a-web-scraping-application-using-laravel
https://folafola.hashnode.dev/creating-a-web-scraping-application-using-laravel
Forwarded from Laravel World
Памятка «Какой каркас аутентификации взять для нового проекта?»
Дополненная и русифицированная версия
Дополненная и русифицированная версия
Forwarded from Laravel World
Онлайн-Генератор отношений
Постоянно забываете порядок полей в сложных отношениях? Попробуйте это.
https://rel.uonick.com/
Постоянно забываете порядок полей в сложных отношениях? Попробуйте это.
https://rel.uonick.com/
Forwarded from Laravel World
Сиды и Фабрики в Laravel 8
https://youtu.be/qeT0pJJ_GOs
https://youtu.be/qeT0pJJ_GOs
YouTube
Live-coding: Seeds and Factories in Laravel 8 (free lesson from my course)
One lesson from my course "Creating mini-Reddit in Laravel 8". I show how I implement seeds with factories in Laravel 8 and also touching on Eloquent Observers.
Enroll in the full course: https://laraveldaily.teachable.com/p/creating-mini-reddit-in-laravel…
Enroll in the full course: https://laraveldaily.teachable.com/p/creating-mini-reddit-in-laravel…
Forwarded from Laravel World
Релиз Laravel DebugBar Companion
Десктопное приложение для дебага. Доступно для macOS, Windows и Linux.
https://laravel-news.com/laravel-debugbar-companion-app
Десктопное приложение для дебага. Доступно для macOS, Windows и Linux.
https://laravel-news.com/laravel-debugbar-companion-app
Laravel News
Laravel Debugbar Companion App
DebugBar Companion is a desktop app by Marcel Pociot that compliments Laravel Debugbar with historical Debugbar data.
Forwarded from Laravel World
Настройка автоматического бэкапа в Laravel
https://youtu.be/tKu7EqGgu_A
https://youtu.be/tKu7EqGgu_A
YouTube
#1: Laravel Backup - How to Set up Automatic DB Backup in Laravel
In this tutorial, we see how to set up an automatic database backup in Laravel. For that, we are going to use Spatie's Laravel-backup package. You can store the backups on any of the filesystems you have configured in Laravel. You will also learn how to set…
Forwarded from Laravel World
Eloquent Attribute Value Prediction
Пакет для прогнозирования значений eloquent-моделей, используя возможности машинного обучения.
https://github.com/DivineOmega/eloquent-attribute-value-prediction
Пакет для прогнозирования значений eloquent-моделей, используя возможности машинного обучения.
https://github.com/DivineOmega/eloquent-attribute-value-prediction
Forwarded from Laravel World
Laravel для начинающих — Отношения «Многие-ко-Многим»
https://youtu.be/l8m0rYR7W8w
https://youtu.be/l8m0rYR7W8w
YouTube
Eloquent One to Many Relationship | Laravel For Beginners | Learn Laravel
This video will dive into Eloquent’s One to Many Relationship in Laravel – Learn one of the most popular PHP frameworks for its advanced features, templating engine, fast commands and security.
📚 New Udemy Course
If you're looking to level up your Laravel…
📚 New Udemy Course
If you're looking to level up your Laravel…
Forwarded from Laravel World
Создание онлайн видео школы на Laravel
https://learn.vonage.com/blog/2020/12/11/creating-an-online-classroom-in-laravel-with-vonage-video-api
https://learn.vonage.com/blog/2020/12/11/creating-an-online-classroom-in-laravel-with-vonage-video-api
Vonage
Creating an Online Classroom in Laravel With Vonage Video API
Learn how to create a virtual classroom where the teacher can be in any location in the world and still teach student in real-time using Laravel an...
Forwarded from Laravel World
Laravel для начинающих — Отношения «Один-к-Одному»
https://youtu.be/sxGiIxf0Cgw
https://youtu.be/sxGiIxf0Cgw
YouTube
Eloquent One To One Relationship | Laravel For Beginners | Learn Laravel
This video will dive into Eloquent’s One to One Relationship in Laravel – Learn one of the most popular PHP frameworks for its advanced features, templating engine, fast commands and security.
📚 New Udemy Course
If you're looking to level up your Laravel…
📚 New Udemy Course
If you're looking to level up your Laravel…
Forwarded from Laravel World
Преимущества использования имён маршрутов
https://youtu.be/7lalb6HtR1c
https://youtu.be/7lalb6HtR1c
YouTube
Laravel: Why You Need Route Names?
A quick video showing the advantages of using route names instead of route URLs.
More about route names: https://laravel.com/docs/8.x/routing#named-routes
Resource Controllers with names: https://laravel.com/docs/8.x/controllers#resource-controllers
-…
More about route names: https://laravel.com/docs/8.x/routing#named-routes
Resource Controllers with names: https://laravel.com/docs/8.x/controllers#resource-controllers
-…