Webdeveloper & Co-founder of Fruitcake

The Netherlands
Joined November 2009
Tip for managing multiple AI agents / projects / worktrees: onorca.dev/ Keeps your agents, terminals and code viewer neatly grouped per feature and makes it clear which agents needs your attention 👌
1
3
581
My preferred setup is creating a .env.testing file where we just change the database name (and other creds) + a phpunit bootstrap script that exits when the file doesn't exist. - Same database type - No left-over data - AI agent can just refresh the data (uses --env=testing)
Laravel tip. For tests, use the same DB engine that you plan to use on production. If you plan to use MySQL or PostgreSQL, don't run tests on SQLite. Create a separate dedicated DB. In most cases syntax is the same, but if there's a difference, debugging won't be pleasant.
1
3
751
Barry vd. Heuvel retweeted
v1.1.0 of LaraDocs just released! Massive thanks to @barryvdh who contributed most changes to this version! View the changelog 👇 laradocs.dev/docs/changelog
1
4
2
20
4,340
Did you know that your AI can debug your requests using Laravel Debugbar? No MCP server required, works directly with Laravel Boost. And without Boost, you can use the new `php artisan debugbar:install-skill` command to install the skill directly! See github.com/fruitcake/laravel…
2
3
39
2,088
The skill can use the existing CLI commands: - Get recent requests or search by URL/method - Filter any issues (performance, N+1) - Deep dive in to queries or other data - Explain queries directly from the DB
1
349
The laravel/ai SDK is great! And in the latest Laravel Debugbar release, we added an AI tab to show the instructions/tools/response etc! We've also added an (experimental) way to capture streaming responses in Debugbar directly when they are done. See laraveldebugbar.com/usage/#s…
PHP developers used to have limited options for building AI agents: learn Python, or accept that raw API calls were as far as you'd get. The Laravel AI SDK changed that. Agents, tools, memory, streaming, vector search, and multi-agent workflows. All in Laravel, and all first-party. Learn more about the AI SDK → laravel.com/blog/building-ai…
1
3
39
4,243
Small improvement in the latest laravel-debugbar; it automatically detects the nonce from either Spatie laravel-csp or the Vite::useNonce(), so you no longer have to manually set them. Makes it easier to set stricter CSP while developing locally with Debugbar enabled.
Just added some instructions to the readme of laravel-csp on how you can use the nonce generated by @laravelphp’s Vite plugin github.com/spatie/laravel-cs… 👏 @timacdonald87 for his nice work on the plugin #laravel #php
1
2
6
2,698
Check your Github Actions to make sure you're not using a pinned/old Composer version, and set the Github Tokens to Read instead of Read+write: github.com/composer/composer… A version is tagged and it seems like shivammathur/setup-php is installing that already. But still watch out!
4
13
1,343
Performance improvement in Debugbar: replaced HtmlDumper with a new JsonDumper that stores pure JSON + a custom JS renderer. This gives up to 20x speed and 15x size improvement 🔥 Bonus: lazy rendering to reduce front-end impact and added inline previews for a compacter view!
5
6
135
8,405
The improvement is the biggest on simple arrays, which can now bypass the VarCloner entirely and return the value as-is. VarCloner/VarDumper remains essential for complex objects, but the improvement is still noticeable. We also created a Caster to reverse this for CLI dumps.
8
983
I added a @laravelphp Boost skill + cli to Laravel Debugbar to help you fix issues and optimize queries 🤖 It can: - Browse latest requests - See collected data and show details - Show overview of queries (with duplicates) - Query details (backtrace and even EXPLAIN results)
7
23
2
299
12,768
Small new Laravel Debugbar feature: Re-run SELECT queries to help debug your results (opt-in via config) You probably know you can use the Explain feature to find missing indexes, but now you can re-run the entire query and render it as a table or dump result, or expand it.
5
10
1
169
9,250
It's not enabled by default, but you can set the new 'show_query_result' option the the config, or DEBUGBAR_OPTIONS_DB_SHOW_QUERY_RESULT=true in your .env. (And needs to be in your local network by default)
1
3
659
Barry vd. Heuvel retweeted
Bij Fruitcake vinden we het belangrijk om te investeren in Open Source, mede door het maken van gratis tools. Barry maakte in 2013 de alom bekende Laravel Debugbar. 12 jaar later is versie 4.0 gereleased! Benieuwd wat die Debugbar doet of wat nieuw is? Check onderstaande blog!
I released Laravel Debugbar 4.0! Check the release blog: fruitcake.nl/blog/laravel-de… This brings a lot of changes under the hood (like php-debugbar 3, no jquery, optimized loading) but also a lot of Laravel improvements (better Livewire/Inertia/Octane support) and more collectors!
1
1,200
I released Laravel Debugbar 4.0! Check the release blog: fruitcake.nl/blog/laravel-de… This brings a lot of changes under the hood (like php-debugbar 3, no jquery, optimized loading) but also a lot of Laravel improvements (better Livewire/Inertia/Octane support) and more collectors!
16
43
5
371
14,834
I released a new major version of PHP DebugBar. - Removed jQuery and FontAwesome -> much smaller size - Optimized rendering for heavy tabs - New widget for ajax/stacked requests - Typehints, build scripts, static analysis and much more! For details: github.com/php-debugbar/php-…
9
33
1
366
11,491
Laravel Debugbar will follow soon, but you can check out the latest beta already!
4
1
36
1,650
This Livewire RCE (>=3; < 3.6.4) is now actively being abused with an exploit available; securityonline.info/critical… Hearing reports of: - new php files in public folder with backdoors - perl scripts active processes - weird jobs in the queue Check your version and update!
Don't forget to update Livewire 3 as soon as possible! Not sure what the issue is exactly, but you probably want to have this security update live before it's public knowledge; github.com/advisories/GHSA-2…
6
53
12
150
34,500
Detailed report: synacktiv.com/en/publication… Exploit: github.com/synacktiv/Livepyr… Given how easy this exploit is, and how widespread the attack; if you didn't update before Dec 23rd you should assume your .env is leaked and rotate your keys, regenerate APP_KEY and replace your server..
3
3
17
6,137
To be super clear; if you're running Filament with an outdated Livewire; you are still affected, even if you're not using any Livewire code in the front-end. The articles demonstrates this with the default Filament login form (so unauthenticated): synacktiv.com/en/publication…
1
590