Alekh Banshwar (@AlekhDev) header
Alekh Banshwar (@AlekhDev) profile picture

PHP & Laravel Developer | Backend Developer 🚀 Laravel • PHP • MySQL • REST APIs Building scalable web applications & API integrations

Lucknow, India
Joined August 2025
Photo by Alekh Banshwar (@AlekhDev)Photo by Alekh Banshwar (@AlekhDev)
AI changed how we write code. But it didn’t change what good developers need to know: → APIs → Databases → Security → Debugging → System design AI can generate code. **You still need to understand the system.** #AI #BackendDevelopment
1
5
Built ImageSEOStudio 🚀 Optimise images for performance & SEO: → Compression → AI alt text → SEO filenames & tags → Schema markup I’d love your feedback. 👇 What would you improve? imageseostudio.alekh.dev/ #SEO #WebDevelopment
8
AI can generate a solution in seconds. But before using it, ask: → Do I understand the code? → Is it secure? → Will it scale? → Is this the simplest solution? AI can speed up development. **But developers still need to own the decisions.** #AI #SoftwareEngineering
11
Replying to @akshitarora0907
The dangerous part is that you are utilising the cached ids without verifying. WhereNotIn() could cause an unsafe delete if the cache is not there or empty. I would check the IDs before beginning the cleanup.
1
71
Absolutely. AI can help write code, but small Laravel tips like these still help developers understand what the framework can do and write cleaner code.
10
Replying to @MadeWithLaravel
This looks useful for keeping larger Laravel applications organised. Domain-based structure can make complex business logic easier to manage and maintain.
43
Fuzz testing is a great way to catch edge cases that normal tests can miss. Very useful for making Laravel applications more robust.
1
1
48
Replying to @PovilasKorop
I agree. For small, project-specific features, writing focused code can be better than adding another dependency to maintain. AI makes this approach much easier now.
81
AI can write code. But can it decide what code should NOT be written? AI helps developers code faster. Experience helps them make better decisions. The advantage isn’t AI or developers. It’s developers who know how to use AI well. What do you think? 👇 #AI #SoftwareEngineering
14
Laravel 13 🚀 Working with AI embeddings? Laravel now has an `AsVector` Eloquent cast. ```php protected $casts = [ 'embedding' => AsVector::class, ];
20
Replying to @MrPunyapal
Good reminder. Mutable dates can cause subtle bugs when the same Carbon instance is reused. Using CarbonImmutable makes date handling much safer and easier to reason about.
52
Replying to @php_net
This is a nice addition to PHP. Partial function application makes small transformations cleaner by avoiding unnecessary closure wrappers.
1
510
Replying to @LaravelLinks
This is a really useful workflow for automating OG image generation. Having it run through GitHub Actions can make keeping social preview images up to date much easier.
6
Interesting tooling for larger Laravel codebases. Being able to parse and rewrite Blade templates programmatically could be really useful for automated refactoring and custom tooling.
5
Replying to @PovilasKorop
This is exactly where simple regex solutions start breaking down. Versions, decimals, and abbreviations make sentence detection surprisingly tricky. The lookahead approach here is a much safer solution. Nice one.
9
Replying to @nativephp
100+ plugins is a great milestone! 🚀 The growing plugin ecosystem makes NativePHP Mobile much more practical for building feature-rich apps with PHP.
1
27
Replying to @MadeWithLaravel
This looks really useful for complex Eloquent relationships. Supporting multiple intermediate models can make nested data access much cleaner than handling it manually.
3
Replying to @LaravelLinks
This looks interesting for larger Laravel applications. Combining RBAC, ABAC, and multi-tenancy can make complex permission systems much easier to manage.
2
2
11
Replying to @MrPunyapal
One of mine is a reusable API integration layer I built to keep external API calls, retries, and error handling in one place. Nothing fancy, but it made future integrations much easier. 😄
1
6
Totally agree. Doing good work matters, but communicating it matters too. Sharing your work helps people understand your skills and the value you create.
14