home.social

#laravel — Public Fediverse posts

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

  1. Here's a fun little exercise to see if your code could be improved. Read it out loud. Let's look at an example that demonstrates it. #php #laravel masteringlaravel.io/daily/2026

  2. For PHP dev work I have switched to Lerd (from Valet) on my demo laptop (along with macOS 27). I’d love to hear others thoughts if they are or were Valet users and have switched or tried Lerd.

    My initial thoughts are: Interesting, seems mostly seamless, fairly lightweight, love the dashboard and ease of editing php and other settings.

    #laravel #valet #lerd #php

  3. 🧰 More additions: a built-in SortDirection enum, __debugInfo() on enums, a unified stream error model with StreamException and 50+ error codes, and UriBuilder classes for the URI extension

    🛡️ Secure session defaults for new installs: session.use_strict_mode=1, cookie_httponly=1, cookie_samesite=Lax. #Laravel manages its own session cookies, so most apps are unaffected

    🌐 laravel-news.com/php-8-6

  4. Importing old data into a stricter MySQL server can fail on things like zero dates. Here's how to relax sql_mode for just the import session, without changing the server's configuration. #php #laravel masteringlaravel.io/daily/2026

  5. Laravel + PHP gains a batteries included package for ActivityPub support, with both draft-cavage and RFC 9421 HTTP Sig support and the ability to extend every aspect, with before() and after() hooks for easy custom processing.

    It's quite amazing.

    I'll be tagging a new release this week.

    #laravel #php #activitypub #pixelfed #loops

  6. Okay, laravel-activitypub is near ready to ship!

    I'll be testing it with shutter, a single user activitypub server for image sharing.

    #laravel #activitypub #Pixelfed #Loops

  7. Making real progress on laravel-activitypub, a batteries included ActivityPub package for laravel.

    This will replace federation logic in @pixelfed and @joinloops and make it really easy to implement AP in your own laravel apps!

    #laravel #activityPub

  8. From ad-hoc prompting to a real pipeline.

    At our July meetup in Bern, David Pacassi Torrico shared how he and his team built a set of commands, skills and automation for their Drupal projects — letting AI handle the repetitive work.

    Watch → youtube.com/watch?v=upJQUSkEDjE

    #Laravel #PHP #Drupal #WebDev

  9. 🔍 #LaravelMCP 1.0 introduces searchable tool catalogs: the tools/list payload stays the same size whether a server exposes 10 tools or 100. #Laravel #MCP #PHP #AI

    ⚠️ Every MCP tool pushes its name, description and full JSON Schema into the agent's context on every turn. Anthropic puts a 50+ tool setup at around 72,000 tokens upfront. With deferred loading and search, Opus 4 went from 49% to 74% accuracy on large tool libraries.

    🧵👇

  10. 🔍 #LaravelMCP 1.0 introduces searchable tool catalogs: the tools/list payload stays the same size whether a server exposes 10 tools or 100. #Laravel #MCP #PHP #AI

    ⚠️ Every MCP tool pushes its name, description and full JSON Schema into the agent's context on every turn. Anthropic puts a 50+ tool setup at around 72,000 tokens upfront. With deferred loading and search, Opus 4 went from 49% to 74% accuracy on large tool libraries.

    🧵👇

  11. 🔍 #LaravelMCP 1.0 introduces searchable tool catalogs: the tools/list payload stays the same size whether a server exposes 10 tools or 100. #Laravel #MCP #PHP #AI

    ⚠️ Every MCP tool pushes its name, description and full JSON Schema into the agent's context on every turn. Anthropic puts a 50+ tool setup at around 72,000 tokens upfront. With deferred loading and search, Opus 4 went from 49% to 74% accuracy on large tool libraries.

    🧵👇

  12. 🔍 #LaravelMCP 1.0 introduces searchable tool catalogs: the tools/list payload stays the same size whether a server exposes 10 tools or 100. #Laravel #MCP #PHP #AI

    ⚠️ Every MCP tool pushes its name, description and full JSON Schema into the agent's context on every turn. Anthropic puts a 50+ tool setup at around 72,000 tokens upfront. With deferred loading and search, Opus 4 went from 49% to 74% accuracy on large tool libraries.

    🧵👇

  13. 🔍 #LaravelMCP 1.0 introduces searchable tool catalogs: the tools/list payload stays the same size whether a server exposes 10 tools or 100. #Laravel #MCP #PHP #AI

    ⚠️ Every MCP tool pushes its name, description and full JSON Schema into the agent's context on every turn. Anthropic puts a 50+ tool setup at around 72,000 tokens upfront. With deferred loading and search, Opus 4 went from 49% to 74% accuracy on large tool libraries.

    🧵👇

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