#laravel — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #laravel, aggregated by home.social.
-
Found that @gonedark created a better Mockery replacement for PHP.
https://github.com/jasonmccreary/double
My problem with this library is not that it's not stable, is the stance behind it. «I just have it 0.x until it gains adoption»
What fucking logic is behind that? It's like saying I should drive a car once I can complete 24 Heures du Mans. LOL.
#Programming #SoftwareDevelopment #WebDevelopment #WebDev #Coding #Code #PHP #Laravel #Symfony #Testing #LaravelShift
-
Found that @gonedark created a better Mockery replacement for PHP.
https://github.com/jasonmccreary/double
My problem with this library is not that it's not stable, is the stance behind it. «I just have it 0.x until it gains adoption»
What fucking logic is behind that? It's like saying I should drive a car once I can complete 24 Heures du Mans. LOL.
#Programming #SoftwareDevelopment #WebDevelopment #WebDev #Coding #Code #PHP #Laravel #Symfony #Testing #LaravelShift
-
Found that @gonedark created a better Mockery replacement for PHP.
https://github.com/jasonmccreary/double
My problem with this library is not that it's not stable, is the stance behind it. «I just have it 0.x until it gains adoption»
What fucking logic is behind that? It's like saying I should drive a car once I can complete 24 Heures du Mans. LOL.
#Programming #SoftwareDevelopment #WebDevelopment #WebDev #Coding #Code #PHP #Laravel #Symfony #Testing #LaravelShift
-
Found that @gonedark created a better Mockery replacement for PHP.
https://github.com/jasonmccreary/double
My problem with this library is not that it's not stable, is the stance behind it. «I just have it 0.x until it gains adoption»
What fucking logic is behind that? It's like saying I should drive a car once I can complete 24 Heures du Mans. LOL.
#Programming #SoftwareDevelopment #WebDevelopment #WebDev #Coding #Code #PHP #Laravel #Symfony #Testing #LaravelShift
-
Found that @gonedark created a better Mockery replacement for PHP.
https://github.com/jasonmccreary/double
My problem with this library is not that it's not stable, is the stance behind it. «I just have it 0.x until it gains adoption»
What fucking logic is behind that? It's like saying I should drive a car once I can complete 24 Heures du Mans. LOL.
#Programming #SoftwareDevelopment #WebDevelopment #WebDev #Coding #Code #PHP #Laravel #Symfony #Testing #LaravelShift
-
Queue totalSize() and JobInterrupted Event in Laravel 13.31 https://laravel-news.com/laravel-13-31-0
-
Queue totalSize() and JobInterrupted Event in Laravel 13.31 https://laravel-news.com/laravel-13-31-0
-
Queue totalSize() and JobInterrupted Event in Laravel 13.31 https://laravel-news.com/laravel-13-31-0
-
Queue totalSize() and JobInterrupted Event in Laravel 13.31 https://laravel-news.com/laravel-13-31-0
-
Queue totalSize() and JobInterrupted Event in Laravel 13.31 https://laravel-news.com/laravel-13-31-0
-
When another site loads your built JS assets, Laravel never sees the request, so its CORS config can't help. Here's how to add the headers in Nginx for just those files, without slowing down everything else. #php #laravel https://masteringlaravel.io/daily/2026-09-09-republished-how-to-set-cors-headers-for-built-assets
-
When another site loads your built JS assets, Laravel never sees the request, so its CORS config can't help. Here's how to add the headers in Nginx for just those files, without slowing down everything else. #php #laravel https://masteringlaravel.io/daily/2026-09-09-republished-how-to-set-cors-headers-for-built-assets
-
When another site loads your built JS assets, Laravel never sees the request, so its CORS config can't help. Here's how to add the headers in Nginx for just those files, without slowing down everything else. #php #laravel https://masteringlaravel.io/daily/2026-09-09-republished-how-to-set-cors-headers-for-built-assets
-
When another site loads your built JS assets, Laravel never sees the request, so its CORS config can't help. Here's how to add the headers in Nginx for just those files, without slowing down everything else. #php #laravel https://masteringlaravel.io/daily/2026-09-09-republished-how-to-set-cors-headers-for-built-assets
-
When another site loads your built JS assets, Laravel never sees the request, so its CORS config can't help. Here's how to add the headers in Nginx for just those files, without slowing down everything else. #php #laravel https://masteringlaravel.io/daily/2026-09-09-republished-how-to-set-cors-headers-for-built-assets
-
#TypeScript community (especially #Laravel-affine):
I want to create a class, resembling Laravel factories in TypeScript
class Factory<T> {
protected model: Partial<T>constructor(model: Partial<T>) {
this.model = { ...this.defaults, ...model }
}// state setters
make(): T { // <!-- How do I get this to be T instead of Partial<T> without `as? ?
return this.model
}
}#amCoding #amProgramming #webDev #webDevelopment #dataTypes #FollowerPower #computerScience #typeTheory
-
Migrated my website from Ghost to a custom Laravel build this week.
Same content, full control over everything. Also switched from GitHub to Forgejo + CrowsCI. GitHub was getting expensive with multiple deploys a day for danielpetrica.com and laraplugins. In the age of AI coding, frequent deploys are the norm, not the exception.
Verified SEO status with seo.danielpetrica.com before and after to make sure nothing broke.
-
#Laravel ma sporo narzędzi i "uprzyjemniaczy" dla developerów. O jednym z nich i konfiguracji tegoż można przeczytać w tym artykule.
-
Find Unexpected Test Inputs with Fuzz for Pest https://laravel-news.com/pest-fuzz
-
Когда Laravel Validator становится узким местом при импорте 50 000 строк
PHP 7.4 / Laravel 8 / PostgreSQL 13 Проблема : импорт 50 тысяч строк занимал около 45 секунд. Первое подозрение: база данных, INSERT, UPSERT, индексы, размер batch и количество запросов. Реальность: бОльшая часть времени уходит на валидацию. Мы начали разбираться, почему проверка нескольких десятков обычных полей на большом массиве данных оказалась значительно дороже самой записи в PostgreSQL. В итоге удалось сократить время валидации с 42,5 секунды до 0,65 секунды , а длительность всего job — примерно с 45 до 4 секунд . В статье покажу, что именно оказалось узким местом, почему стандартный Laravel Validator оказался не самым подходящим инструментом для этого конкретного сценария и почему мы не стали от него отказываться.
-
I joined a project where the Vue front end was built into the Docker image with no bind mount, so every change meant a manual rebuild. One addition to the compose file turned that back into a normal dev loop. #php #laravel https://masteringlaravel.io/daily/2026-09-08-stop-rebuilding-your-docker-image-after-every-front-end-change
-
Need to process millions of rows?
#Laravel gives you 3 options:
`get()` → 1 query, but loads everything into memory 💥
`chunk(500)` → multiple queries, 500 records per batch 📦
`cursor()` → streams records one-by-one with very low memory usage 🚶
If you're simply processing each record independently, `cursor()` is often the cleanest choice:
-
Need to process millions of rows?
#Laravel gives you 3 options:
`get()` → 1 query, but loads everything into memory 💥
`chunk(500)` → multiple queries, 500 records per batch 📦
`cursor()` → streams records one-by-one with very low memory usage 🚶
If you're simply processing each record independently, `cursor()` is often the cleanest choice:
-
Two weeks ago, I launched events for Laramap. Some people liked it, which made me happy, but usage is low.
I spent two days building it between client projects, so I'd be lying if I said I wasn't a little disappointed. Did it not spread, or do people just not care?
-
Laravel vs Symfony: A Comprehensive Comparison of #PHP #Frameworks
This article provides a guide concerning #Laravel vs Symfony: a comprehensive comparison of PHP frameworks.
Laravel vs Symfony: A Comprehensive Comparison of PHP Frameworks
Laravel and #Symfony are two of the most popular PHP frameworks, widely used for building modern web applications. Both have strong communities, rich ecosystems, and are frequently chosen by ...
Continued 👉 https://blog.radwebhosting.com/laravel-vs-symfony-a-comprehensive-comparison-of-php-frameworks/?utm_source=mastodon&utm_medium=social&utm_campaign=mastodon.social #websitedevelopment -
Laravel vs Symfony: A Comprehensive Comparison of #PHP #Frameworks
This article provides a guide concerning #Laravel vs Symfony: a comprehensive comparison of PHP frameworks.
Laravel vs Symfony: A Comprehensive Comparison of PHP Frameworks
Laravel and #Symfony are two of the most popular PHP frameworks, widely used for building modern web applications. Both have strong communities, rich ecosystems, and are frequently chosen by ...
Continued 👉 https://blog.radwebhosting.com/laravel-vs-symfony-a-comprehensive-comparison-of-php-frameworks/?utm_source=mastodon&utm_medium=social&utm_campaign=mastodon.social #websitedevelopment -
Laravel vs Symfony: A Comprehensive Comparison of #PHP #Frameworks
This article provides a guide concerning #Laravel vs Symfony: a comprehensive comparison of PHP frameworks.
Laravel vs Symfony: A Comprehensive Comparison of PHP Frameworks
Laravel and #Symfony are two of the most popular PHP frameworks, widely used for building modern web applications. Both have strong communities, rich ecosystems, and are frequently chosen by ...
Continued 👉 https://blog.radwebhosting.com/laravel-vs-symfony-a-comprehensive-comparison-of-php-frameworks/?utm_source=mastodon&utm_medium=social&utm_campaign=mastodon.social #websitedevelopment -
During a recent pentest, I suddenly got hit with 403s on every request. It wasn't a WAF - it was a clever little trap one of my clients built to catch anyone poking at Livewire. Let me show you how it works. 🤓
https://securinglaravel.com/security-tip-the-trap-that-caught-me/ #Laravel
-
Laravel Rulebook: Business Rules That Change by Date https://laravel-news.com/laravel-rulebook
-
🔗 Using AI as a deterministic translation tool in Laravel
https://koomai.net/posts/using-ai-as-a-deterministic-translation-tool-in-laravel/
#php #laravel #ai -
🔗 Using AI as a deterministic translation tool in Laravel
https://koomai.net/posts/using-ai-as-a-deterministic-translation-tool-in-laravel/
#php #laravel #ai -
🔗 Using AI as a deterministic translation tool in Laravel
https://koomai.net/posts/using-ai-as-a-deterministic-translation-tool-in-laravel/
#php #laravel #ai -
🔗 Using AI as a deterministic translation tool in Laravel
https://koomai.net/posts/using-ai-as-a-deterministic-translation-tool-in-laravel/
#php #laravel #ai -
🔗 Using AI as a deterministic translation tool in Laravel
https://koomai.net/posts/using-ai-as-a-deterministic-translation-tool-in-laravel/
#php #laravel #ai -
Ever handed off a feature request with barely any detail and expected the developer to just figure it out? In this week's podcast, Aaron and I make the case for writing requirements before development starts, and why letting AI write them for you is a trap. #php #laravel https://masteringlaravel.io/daily/2026-09-07-laravel-podcast-write-better-requirements-or-pay-for-it-later
-
Need to send a #Laravel notification to someone who doesn't have a user account in your database?
Skip the model entirely. 🎯
Use Notification::route() to send it directly to their email:
-
🔗 Supercharge your PHP apps with Go-powered PHP extensions
https://phpconference.nl/session/supercharge-your-php-apps-with-go-powered-php-extensions/
#php #laravel #go #symfony #extensions -
Copilot написал трекер привычек на Laravel, а я выложил код на Github
Зачем на свете нужен ещё один трекер привычек? Их же и так - на любой вкус и цвет. Проблема в том, что ни один из них не нравился моей жене, поэтому пришлось в список идей для пет-проектов добавить и его. Последние полгода я активно применяю LLM в своей работе. Автокомплитом от Github Copilot я пользуюсь с момента начала бесплатного бета-тестирования, а с выходом Opus 4.5 стало возможно отдавать железяке на реализацию целые блоки логики. Нужно только организовать виртуальную клетку, внутри которой он будет вынужден писать работающий код. Что за клетка?
-
Copilot написал трекер привычек на Laravel, а я выложил код на Github
Зачем на свете нужен ещё один трекер привычек? Их же и так - на любой вкус и цвет. Проблема в том, что ни один из них не нравился моей жене, поэтому пришлось в список идей для пет-проектов добавить и его. Последние полгода я активно применяю LLM в своей работе. Автокомплитом от Github Copilot я пользуюсь с момента начала бесплатного бета-тестирования, а с выходом Opus 4.5 стало возможно отдавать железяке на реализацию целые блоки логики. Нужно только организовать виртуальную клетку, внутри которой он будет вынужден писать работающий код. Что за клетка?
-
Copilot написал трекер привычек на Laravel, а я выложил код на Github
Зачем на свете нужен ещё один трекер привычек? Их же и так - на любой вкус и цвет. Проблема в том, что ни один из них не нравился моей жене, поэтому пришлось в список идей для пет-проектов добавить и его. Последние полгода я активно применяю LLM в своей работе. Автокомплитом от Github Copilot я пользуюсь с момента начала бесплатного бета-тестирования, а с выходом Opus 4.5 стало возможно отдавать железяке на реализацию целые блоки логики. Нужно только организовать виртуальную клетку, внутри которой он будет вынужден писать работающий код. Что за клетка?
-
Публикация событий из Laravel в Centrifugo: Events, listeners, queue jobs и безопасный real-time payload
В этой статье разберём, как правильно организовать публикацию real-time событий в Laravel: почему не стоит отправлять сообщения напрямую из контроллеров, как использовать Laravel Events и listeners, зачем нужны queue jobs, почему afterCommit() критичен для корректности данных и каким должен быть безопасный payload без полной Eloquent-модели.
-
My "free stack" for Laragear packages from now onwards, until a better solution is done:
1. Sell in Gumroad
2. Zapier to KeyGen.sh to create the license
3. Zapier an email with the license
4. Dev uses KeyGen to download the packageThis is the only way that allows me to sell and receive payouts in my country (Chile).
#PHP #Programming #Laravel #Laragear #Composer #ComposerPHP #Gumroad #Zapier #KeyGenSH #KeyGen #SoftwareDevelopment #WebDevelopment #WebDev
-
UseCase или как описывать бизнес-процессы в коде
UseCase - как организовать своё приложение с точки зрения бизнес-процессов, чтобы не погрязнуть в хаосе сервисов, контроллеров и разрозненной логики. Узнать как это
https://habr.com/ru/articles/1012988/
#usecase #application #domain #arhitectura #бизнеспроцессы #бизнеспроцесс #архитектура #бэкенд #php #laravel
-
Post-PHP эра: куда движется веб-разработка?
Привет, хабровчане! Я Алиса — тимлид в e-commerce-агентстве
https://habr.com/ru/companies/kislorod/articles/945570/
#программирование #php #стек #вебразработка #1сбитрикс #laravel #nextjs #разработка_сайтов
-
THE FEATURE #LARAVEL DIDN'T WANT YOU TO HAVE!
Just a little helper to make fingerprints:
https://github.com/Laragear/Fingerprint
#PHP #Programming #Software #SoftwareDevelopment #WebDevelopment #WebDev #AppDevelopment #AppDev #Coding #Code #GitHub #Git #Cryptography #Security #Hash #Hashing #Fingerprint #digitalfingerprint
-
Major Update: #Sharp 9 Content Management Framework Takes Big Step Forward 🔄
🛠️ Complete frontend overhaul using #Inertia, #TailwindCSS & #shadcnui for improved UI/UX
💻 New features for developers:
* Code-based configuration system replaces config files🧵
-
Headless eCommerce на Laravel: Погружение в модульную архитектуру
Привет, Habr! Меня зовут Тальгат Хайруллов, я руководитель команды разработки в компании CS-Cart. В статье расскажу, как мы поверх Laravel реализовали фреймворк для быстрой и гибкой разработки API продукта с модульной архитектурой. Про модульную архитектуру в монолите написано немало информации, этот подход даёт возможность выстроить явные границы кода, уменьшить связанность, позволяет масштабировать разработку. Но что, если вам нужно одновременно иметь чёткую границу и высокую расширяемость? Представьте, что ваша модель данных может быть сформирована набором из нескольких модулей, и всё это должно гармонично взаимодействовать как на уровне бэкенда, так и на уровне публичного API.
-
Headless eCommerce на Laravel: Погружение в модульную архитектуру
Привет, Habr! Меня зовут Тальгат Хайруллов, я руководитель команды разработки в компании CS-Cart. В статье расскажу, как мы поверх Laravel реализовали фреймворк для быстрой и гибкой разработки API продукта с модульной архитектурой. Про модульную архитектуру в монолите написано немало информации, этот подход даёт возможность выстроить явные границы кода, уменьшить связанность, позволяет масштабировать разработку. Но что, если вам нужно одновременно иметь чёткую границу и высокую расширяемость? Представьте, что ваша модель данных может быть сформирована набором из нескольких модулей, и всё это должно гармонично взаимодействовать как на уровне бэкенда, так и на уровне публичного API.