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

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

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

    habr.com/ru/articles/1025214/

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

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

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

    habr.com/ru/articles/1012988/

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

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

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

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

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

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

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