home.social

#laravel — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #laravel, aggregated by home.social.

  1. CVE-2026-53932: OS command injection in laravel-backup-restore via crafted backup archives. CVSS 8. Unpatched before v1.9.4. If you restore Spatie backups, update now. Details: valtersit.com/cve/CVE-2026-539 #CVE #infosec #Laravel

  2. Found that @gonedark created a better Mockery replacement for PHP.

    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

  3. Found that @gonedark created a better Mockery replacement for PHP.

    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

  4. Found that @gonedark created a better Mockery replacement for PHP.

    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

  5. Found that @gonedark created a better Mockery replacement for PHP.

    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

  6. Found that @gonedark created a better Mockery replacement for PHP.

    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

  7. 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 masteringlaravel.io/daily/2026

  8. 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 masteringlaravel.io/daily/2026

  9. 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 masteringlaravel.io/daily/2026

  10. 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 masteringlaravel.io/daily/2026

  11. 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 masteringlaravel.io/daily/2026

  12. #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

  13. 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 #PHP #SelfHosted #DevOps #OpenSource

  14. #Laravel ma sporo narzędzi i "uprzyjemniaczy" dla developerów. O jednym z nich i konfiguracji tegoż można przeczytać w tym artykule.

    #PHP

    laravel-news.com/artisan-dev-c

  15. Когда 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 оказался не самым подходящим инструментом для этого конкретного сценария и почему мы не стали от него отказываться.

    habr.com/ru/articles/1079878/

    #laravel #php #validator

  16. 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 masteringlaravel.io/daily/2026

  17. Need to process millions of rows?

    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:

  18. 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:

  19. 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

  20. 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 👉 blog.radwebhosting.com/laravel #websitedevelopment

  21. 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 👉 blog.radwebhosting.com/laravel #websitedevelopment

  22. 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 👉 blog.radwebhosting.com/laravel #websitedevelopment

  23. 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. 🤓

    securinglaravel.com/security-t #Laravel

  24. 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 masteringlaravel.io/daily/2026

  25. 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:

  26. #Laravel-lang: Supply Chain Attack Targets Laravel-Lang Packages with Credential Stealer #Malware

    Attackers injected a credential stealer into 200+ Laravel-lang package versions by pushing tags tied to attacker-controlled forks:

    #SoftwareSupplyChain
    👇
    aikido.dev/blog/supply-chain-a

  27. #Laravel-lang: Supply Chain Attack Targets Laravel-Lang Packages with Credential Stealer #Malware

    Attackers injected a credential stealer into 200+ Laravel-lang package versions by pushing tags tied to attacker-controlled forks:

    #SoftwareSupplyChain
    👇
    aikido.dev/blog/supply-chain-a

  28. #Laravel-lang: Supply Chain Attack Targets Laravel-Lang Packages with Credential Stealer #Malware

    Attackers injected a credential stealer into 200+ Laravel-lang package versions by pushing tags tied to attacker-controlled forks:

    #SoftwareSupplyChain
    👇
    aikido.dev/blog/supply-chain-a