home.social

#laravel — Public Fediverse posts

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

  1. A queued job that manually builds an expensive service is painful to test. Let's see how to leverage Laravel's container to make this a lot nicer. #php #laravel masteringlaravel.io/daily/2026

  2. 150 запросов на один flush, и 4343 зелёных теста. Как я делал детектор N+1 и как он сам меня обманывал

    Один open-source тайм-трекер на Symfony имеет 4343 теста, и все они проходят. При этом каждое сохранение записи времени отправляет в базу три дополнительных SELECT запроса: ставку самой записи, ставку проекта и ставку активности. Если в одном flush() 50 записей, а столько строк показывает страница массового редактирования, только за ставками уходит 150 запросов. Тесты этот код покрывают, но ни один не падает, в них нет ни одной проверки проблем с запросами к базе данных. Для решения этой проблемы сделал инструмент, которого в конце августа ещё не существовало. Правда, ещё до проверок сторонних проектов на N+1, он успел несколько раз обмануть меня самого, и всегда одинаково, показывал зелёное там, где на самом деле не работал.

    habr.com/ru/articles/1082250/

    #phpunit #doctrine #laravel #n+1 #orm #ленивая_загрузка #queryguard

  3. Starting posting short clips from my #PHPxTokyo talk last week.
    I do not feel confident enough to post the full video for now. Maybe for a future talk i will do it.

    For now here is the first short:

    m.youtube.com/shorts/YfoLa83bn
    Ask an AI what the latest Laravel version is. It will say Laravel 12. Very confidently. It has no idea it is wrong.

    This is why your dependencies need health checks, not vibes.

    #Laravel #AI #Laravel12 #PHP #DevLife

  4. Anyone can commit code to GitHub under your name — no password needed, no permission asked.

    At our July meetup, Tobias Gasche showed us exactly how easy it is to impersonate another GitHub user, and why signing your Git commits is the fix.

    Watch → youtube.com/watch?v=-kiJb-jjiEw

    #Laravel #PHP #WebDev

  5. 📊 From the test suite: queues of 946 / 13,702 / 0 jobs with 25 workers. size gives 2 / 22 / 1 workers, log gives 11 / 13 / 1. The big queue still wins, it just cannot erase the small one

    🚦 Deliberately not sold as better: time balances by estimated queued work, size by raw job count, log by size while compressing huge backlogs. For mixed-runtime pipelines, time stays the right pick #Laravel #PHP

  6. 📋 Logarithmic auto-scaling for #Laravel #Horizon — a third autoScalingStrategy value that stops huge queue spikes from starving smaller realtime queues #PHP #Queues
    🧵👇

  7. 🚀 Big news for Laravel lovers! Laravel 13 now runs vector searches on MariaDB! Plus, check out the AsVector cast that makes it all possible. Dive into this game-changing update and level up your dev skills! #Laravel

    shocm.me/posts/2026-09-14-lara

  8. ⚙️ SSD-Powered #cPanel Web #Hosting – Up to 25x Faster
    ⚙️ SSD-Powered cPanel Web Hosting by Rad Web Hosting
    Built for Performance. Backed by Reliability. Ready to Scale.
    Developers, sysadmins, and power users—we built this for you. Our SSD-powered cPanel web hosting ...
    Continued 👉 blog.radwebhosting.com/ssd-pow #sshaccess #webhosting #litespeed #webdisk #modsecurity #ftp #csf #joomla #phpmyadmin #postgresql #gitversioncontrol #softaculous #laravel #phppgadmin #cloudlinux #wpcli #mariadb #letsencrypt

  9. ⚙️ SSD-Powered #cPanel Web #Hosting – Up to 25x Faster
    ⚙️ SSD-Powered cPanel Web Hosting by Rad Web Hosting
    Built for Performance. Backed by Reliability. Ready to Scale.
    Developers, sysadmins, and power users—we built this for you. Our SSD-powered cPanel web hosting ...
    Continued 👉 blog.radwebhosting.com/ssd-pow #sshaccess #webhosting #litespeed #webdisk #modsecurity #ftp #csf #joomla #phpmyadmin #postgresql #gitversioncontrol #softaculous #laravel #phppgadmin #cloudlinux #wpcli #mariadb #letsencrypt

  10. ⚙️ SSD-Powered #cPanel Web #Hosting – Up to 25x Faster
    ⚙️ SSD-Powered cPanel Web Hosting by Rad Web Hosting
    Built for Performance. Backed by Reliability. Ready to Scale.
    Developers, sysadmins, and power users—we built this for you. Our SSD-powered cPanel web hosting ...
    Continued 👉 blog.radwebhosting.com/ssd-pow #sshaccess #webhosting #litespeed #webdisk #modsecurity #ftp #csf #joomla #phpmyadmin #postgresql #gitversioncontrol #softaculous #laravel #phppgadmin #cloudlinux #wpcli #mariadb #letsencrypt

  11. Ever notice that some Docker containers stop instantly while others hang for ten seconds? I'll explain why and show how to fix it. #php #laravel masteringlaravel.io/daily/2026

  12. 🚀 #Laravel 13 Tip: Cache::flexible()

    Want #fast pages without constantly serving outdated data?

    Laravel's cache flexible() method serves cached data right away while quietly updating it in the background:

  13. 🚀 13 Tip: Cache::flexible()

    Want pages without constantly serving outdated data?

    Laravel's cache flexible() method serves cached data right away while quietly updating it in the background:

  14. How to Run Self-Hosted Link-in-Bio Tool with #LinkStack on #AlmaLinux #VPS

    This article provides a guide for how to run self-hosted Link-in-Bio tool with LinkStack on AlmaLinux VPS.
    How to Run ...
    Continued 👉 #composr #python #letsencrypt #selfhosted #opensource #laravel #selfhosting

    How to Run Self-Hosted Link-in...

  15. How to Run Self-Hosted Link-in-Bio Tool with #LinkStack on #AlmaLinux #VPS

    This article provides a guide for how to run self-hosted Link-in-Bio tool with LinkStack on AlmaLinux VPS.
    How to Run ...
    Continued 👉 #composr #python #letsencrypt #selfhosted #opensource #laravel #selfhosting

    How to Run Self-Hosted Link-in...

  16. 📋 #Laravel Vet is a dependency audit for #PHP that shows you the code #Composer update is about to write into your vendor/ directory #opensource #devsecops #appsec

    ⚡ Every package you trust is recorded in a vet.json trust file with its version and a tree hash covering every file, so the next update only asks about what changed
    🧵👇

  17. 🚀 **Easy Model v2.1.0 is here!**

    Make @laravelphp development **faster, cleaner, and more flexible.**

    🔥 **Highlights:**

    * 🔎 Request-driven filtering & sorting
    * 🔗 Smarter relationships & eager loading
    * 🧩 Advanced JSON & date filters
    * 🗑️ Full soft-delete support
    * ⚡ Mass insert & upsert
    * 🧪 Improved testing & reliability

    🔗 Easy Model on GitHub
    github.com/mahmoudmohamedramad

    #tech #webdev #ai #php #laravel #sql #database

  18. LRU-кэш на PHP 8.5 для Identity Map: 15+ млн. операций в сек. на слабом ноуте

    LRU на PHP — задача, которую, вроде бы, уже все кому не лень решили вдоль и поперёк. Канонический рецепт: HashMap + doubly linked list , — работает, читается, всем нравится. Но когда начинаешь мерить, оказывается, что большинство реализаций выдают 2–5 млн. ops/sec. Для веба это нормально, а вот для highload — уже нет. Особенно когда LRU — это не « где-то в кэше Redis », а фундамент Identity Map , который сидит прямо в hot path каждого запроса.

    habr.com/ru/articles/1081482/

    #laravel #php #lru #алгоритмы

  19. LaraPlugins now runs PHPStan level 8 across the board. @LaraPlugins

    Every health check, every score, every search path, typed and proven.

    #Laravel #PHP #programming

  20. 🚀 **Custom Fresh v2.1.0 is here!**

    Smarter, safer, and more flexible Laravel database resets.

    ✨ **Highlights:** Freeze Schema, Keep Raw Tables, Presets, Related Tables, Seed Fresh, safer resets, better visibility, and expanded Laravel 10–13 testing.

    🔗 Custom Fresh on GitHub
    github.com/mahmoudmohamedramad

    #webdev #tech #ai #php #laravel #sql #database

  21. Laravel doesn't require a primary key on a pivot table, and the relationship works fine without one. Here's why I add one anyway, and the replication problem it avoids. #php #laravel masteringlaravel.io/daily/2026

  22. Reliability pass alongside the move:

    Pint for code style, PHPStan from 0 to 8, on top of Nightwatch monitoring.

    Level 8 is a high bar for Laravel. I've applied it to 4 projects so far.

    #Laravel #PHP #DevOps

  23. Behind the scenes at LaraPlugins: full PHPStan level 8, consistent typing everywhere. @LaraPlugins

    The kind of invisible work that keeps the plugin health scores you see honest.

    #Laravel #PHP #OpenSource

  24. It's been fascinating to catch snippets of other #opensource #developers coming together to establish common ground over the last week. We had to work through a number of negative emotions once we got word about parts of our own projects being associated to #fascist shitbirds.

    But what I'm enjoying the most is how like minded people are coming together and discussing how to move forward together, with a lot of common goals. People are discussing the effectiveness of current software licensing (#agpl, etc) and whether we need to make new ones, vetting of 3rd party libraries, and above all else, keeping the aforementioned shitbirds out.

    And we do need to keep them out. Because they are going to keep outing themselves as the horrible people they are.

    So far in the last month, I've watched #tailwindcss, #laravel, and #digitalocean go deep into the abyss with either supporting fascism and/or aggressively shoving AI shit into every thing they do.

    Those 3 things I just mentioned are the primary tools I use in the work I have done for over a decade. And with each announcement regarding them, they were dead to me in that same moment.

    I'm determined to build out my own replacements for #css and #php framework. Just like the #indieweb, it's all about owning your works with a strong #diy ethos.

    It appears the #technofascist reveal party we're going through has allowed for good things to happen. Much to their chagrin...

  25. Na koniec tygodnia kolejne ciekawe narzędzie, związane mocniej z #Laravel, ale warto się mu przyjrzeć nawet będąc w innym ekosystemie. #Scotty to coś, co może pomóc pisać skrypty do wdrażania aplikacji na serwer.

    #Linux #DevOps #Deployment

    freek.dev/3064-scotty-a-beauti

  26. Как навести порядок в запросах Laravel с помощью кастомных Query Builders

    Про кастомные Query Builders в Laravel написано уже немало, но на практике мало что меняется. В 2026 году в проектах по-прежнему можно встретить запросы, разбросанные по всему коду - в контроллерах, сервисах и моделях. В такой структуре быстро теряется понимание, что происходит и где искать нужную логику. Узнать что такое кастомные Query Builders

    habr.com/ru/articles/1025214/

    #laravel #php #query_builder #arhitectura #архитектура #программирование #рефакторинг

  27. UseCase или как описывать бизнес-процессы в коде

    UseCase - как организовать своё приложение с точки зрения бизнес-процессов, чтобы не погрязнуть в хаосе сервисов, контроллеров и разрозненной логики. Узнать как это

    habr.com/ru/articles/1012988/

    #usecase #application #domain #arhitectura #бизнеспроцессы #бизнеспроцесс #архитектура #бэкенд #php #laravel

  28. 🔧 #Chewie is a #PHP package that streamlines the creation of text-based user interfaces (#TUI) using #Laravel Prompts

    📚 Key features:
    • Easy renderer registration with automatic namespace resolution
    • ASCII art integration with file management capabilities
    • Advanced content alignment tools (horizontal, vertical, and center positioning)
    • Bottom-pinned content support
    • Flexible terminal width and height handling

    ⚙️ Technical highlights:
    • Built for #Laravel ecosystem
    • Reduces boilerplate code
    • Includes helper methods for alignment and animation
    • Supports custom renderer namespaces
    • Compatible with Composer package manager

    🔗 Learn more: github.com/joetannenbaum/chewi

    Note: Package currently in active development - API subject to change

  29. Using #1Password for #Laravel Environment Variables:

    🔐 Enhances #security and access control for secret management in #Laravel projects
    🔄 #1Password CLI allows Git-compatible .env file management, unlike #artisanenvencrypt or #gitsecret
    👥 Supports granular user access across different environments (#staging, #production)
    🌐 Single template approach for multiple environments using $APP_ENV variable
    ⚙️ Easy integration with #deployment processes (e.g., #LaravelEnvoy, #GitHubActions)
    🔧 #JetBrains and #VSCode plugins available for seamless development workflow

    Key steps:

    Create separate 1Password entries or vaults for each environment
    Use 'op inject' command to generate .env files from templates
    Implement service accounts for secure server-side secret access
    Integrate 1Password CLI into deployment scripts or CI/CD pipelines

    This approach offers a balance of security, flexibility, and ease of use for managing environment variables in Laravel applications.

    flareapp.io/blog/using-1passwo

    #Devops #Security

  30. Using #1Password for #Laravel Environment Variables:

    🔐 Enhances #security and access control for secret management in #Laravel projects
    🔄 #1Password CLI allows Git-compatible .env file management, unlike #artisanenvencrypt or #gitsecret
    👥 Supports granular user access across different environments (#staging, #production)
    🌐 Single template approach for multiple environments using $APP_ENV variable
    ⚙️ Easy integration with #deployment processes (e.g., #LaravelEnvoy, #GitHubActions)
    🔧 #JetBrains and #VSCode plugins available for seamless development workflow

    Key steps:

    Create separate 1Password entries or vaults for each environment
    Use 'op inject' command to generate .env files from templates
    Implement service accounts for secure server-side secret access
    Integrate 1Password CLI into deployment scripts or CI/CD pipelines

    This approach offers a balance of security, flexibility, and ease of use for managing environment variables in Laravel applications.

    flareapp.io/blog/using-1passwo

    #Devops #Security

  31. Using #1Password for #Laravel Environment Variables:

    🔐 Enhances #security and access control for secret management in #Laravel projects
    🔄 #1Password CLI allows Git-compatible .env file management, unlike #artisanenvencrypt or #gitsecret
    👥 Supports granular user access across different environments (#staging, #production)
    🌐 Single template approach for multiple environments using $APP_ENV variable
    ⚙️ Easy integration with #deployment processes (e.g., #LaravelEnvoy, #GitHubActions)
    🔧 #JetBrains and #VSCode plugins available for seamless development workflow

    Key steps:

    Create separate 1Password entries or vaults for each environment
    Use 'op inject' command to generate .env files from templates
    Implement service accounts for secure server-side secret access
    Integrate 1Password CLI into deployment scripts or CI/CD pipelines

    This approach offers a balance of security, flexibility, and ease of use for managing environment variables in Laravel applications.

    flareapp.io/blog/using-1passwo

    #Devops #Security

  32. Using #1Password for #Laravel Environment Variables:

    🔐 Enhances #security and access control for secret management in #Laravel projects
    🔄 #1Password CLI allows Git-compatible .env file management, unlike #artisanenvencrypt or #gitsecret
    👥 Supports granular user access across different environments (#staging, #production)
    🌐 Single template approach for multiple environments using $APP_ENV variable
    ⚙️ Easy integration with #deployment processes (e.g., #LaravelEnvoy, #GitHubActions)
    🔧 #JetBrains and #VSCode plugins available for seamless development workflow

    Key steps:

    Create separate 1Password entries or vaults for each environment
    Use 'op inject' command to generate .env files from templates
    Implement service accounts for secure server-side secret access
    Integrate 1Password CLI into deployment scripts or CI/CD pipelines

    This approach offers a balance of security, flexibility, and ease of use for managing environment variables in Laravel applications.

    flareapp.io/blog/using-1passwo

    #Devops #Security

  33. Using #1Password for #Laravel Environment Variables:

    🔐 Enhances #security and access control for secret management in #Laravel projects
    🔄 #1Password CLI allows Git-compatible .env file management, unlike #artisanenvencrypt or #gitsecret
    👥 Supports granular user access across different environments (#staging, #production)
    🌐 Single template approach for multiple environments using $APP_ENV variable
    ⚙️ Easy integration with #deployment processes (e.g., #LaravelEnvoy, #GitHubActions)
    🔧 #JetBrains and #VSCode plugins available for seamless development workflow

    Key steps:

    Create separate 1Password entries or vaults for each environment
    Use 'op inject' command to generate .env files from templates
    Implement service accounts for secure server-side secret access
    Integrate 1Password CLI into deployment scripts or CI/CD pipelines

    This approach offers a balance of security, flexibility, and ease of use for managing environment variables in Laravel applications.

    flareapp.io/blog/using-1passwo

    #Devops #Security