Best code AI for Laravel? IMO, Claude. But the best IDE implementation ?
Have you always dreamed of playing D&D or even Monopoly with an Artisan command? No? Me neither, but here it is anyway. I know, it is HIGHLY stupid.
gist.github.com/rtrudel/01f2e1706194cc6a2747f957f4c4a7e6
Artisan dice: The 85 lines of Laravel code that will be the least useful to you in your entire life.
Usage: `php artisan dice 6,6` for 2x D6
Already an update requested by a friend, the addition of a D3 which is essentially a Rock Paper Scissors... progress never stops!
Oh yes, before you ask or tell me that it's probably AI-generated code, indeed, I don't have that kind of time in my life. We thank Claude for its significant contribution to the community!
Remember: If you need nothing useful today, I'm the person you're looking for.
Testing markdown:
echo('Some PHP');
let foo="bar"
SELECT * FROM yomama
Follow-up regarding my last thread: What I'm mainly looking for is a cross-platform framework (web, mobile, and desktop) that is somewhat CSS-agnostic. I really like the Quasar Framework, but it is very opinionated about Material Design. Even though, with some workarounds and UnoCSS and not always clean configurations, I manage to use Tailwind with a prefix. So, how do you make your mobile apps? I'm curious to know what frameworks and tools you like to use.
I understand that the folks at @NativePHP are currently on the baking of something good about this, but for now? Flutter? React? Quasar? Ionic? Native Kotlin/Swift?
I just looked at NativePHP, which is impressive. Do you know if something similar exists to bundle some mobile app using CapacitorJS or equivalent?
Edit: I usually create mobile (and cross-platform) applications with Quasar Framework when I need it to be a mobile or desktop application in addition to SPA or PWA. Therefore, I use Laravel as the backend and handle the frontend logic using either an API or GraphQL (you might ask why not InertiaJS? Indeed... I'm considering it), but since most of the time I prefer to create web apps with Livewire, I was wondering if it wasn't possible to do something more 'native' for mobile apps using Laravel.
I understand and it makes alot of sense, at the same time, I have to deal some internal projects with specific needs for companies that need to carry 'the entire software and the entire database' with them on a handheld device such a small tablet, which sometimes leads me to synchronize the server database on the tablets that use the app. So in these cases and some many other scenarios, the size isn't really an issue, but being able to code quickly and efficiently is. Anyway, I believe Laravel using SQLite, stripped down to its bare minimum, is not that heavy. Whether the PHP binaries can significantly increase the bundle size... at that point, it would be about evaluating the costs and benefits (technologically speaking) of the stack, I guess.
My main concern is to be able to interact with the device itself, using CapacitorJS plugins for Geolocation, Camera, etc.