Hasnayeen

Hasnayeen

@hasnayeen.com

"Everything has a trade-off" Building products with Laravel, Livewire, Alpine, Tailwind, Filament

216 followers341 following75 posts

Hasnayeen reposted

it’s 2026. build like you’re already going to get hacked, because sooner or later you probably will collect less. only keep the customer data you actually need. anything you never store can’t leak

Hasnayeen reposted

The PHP security team is giving advance notice: Upcoming security release Wed, Oct 21st 2026, 14:00UTC, two critical vulnerabilities, both rated CVSSv4 9.2. PHP users are encouraged to prepare to update. Earlier release if details become public or active exploit evidence.

Hasnayeen reposted

after 48 hours, using the most productive stack in the wolrd: php, laravel, phpstorm, air, we are proud to introduce: dev-null.sh; social network for developers; sign-in with github, done!

Hasnayeen reposted

Kenney Shape is now FREE! (and it'll remain free, forever) ✨ Previously a paid tool, I'm releasing it as a gift to the community. Today's update will be the final one, with no further updates planned. That way I can focus on new software & projects! kenney.itch.io/kenney-shape

Hasnayeen reposted

Hasnayeen reposted

building yet another wind data particle layer for mapbox in webgl and while cranking the parameters up to this point probably isn't very useful, it looks preetty cool

Hasnayeen reposted

🧪 Pest tip. Pest now supports Playwright traces for browser tests: `./vendor/bin/pest --trace` 🔍 Perfect for flaky or CI-only failures when stepping through the test isn't enough. You can also enable traces by default in `Pest.php`.

Hasnayeen reposted

Recently, we partnered with PlumbPHP to add free, automatic security and ecosystem health checks to all plugins in our official plugins directory! Now, plugin authors and users can use these scores to make sure they build and maintain secure codebases 💪 More info the replies!

Hasnayeen reposted

A lot of new stuff incoming! I decided to make it all free because I love you all. 💞

Hasnayeen reposted

Jev has been all over my feed. So instead of arguing about it, I put it to work in a real Laravel app. Episode 1 of Decide with Jev is out. We ask Jev if a draft matches its brief. It answers with a number, not a paragraph, so PHP can decide what happens next.

after working two weeks on my #threejs learning project 1 reached somewhat a playable stage, controls are little funky. learning lot of new things & I'm already tired. let's see where I finish in the remaining two weeks

Hasnayeen reposted

The time to ramp up your scroll-driven animations skills is **NOW** Go check scroll-driven-animations.style for and free 10-part video course created by yours truly, as well as a bunch of tools and demos.

scroll-driven-animations.styleScroll-driven AnimationsA bunch of demos and tools to show off Scroll-driven Animations

starting learning #threejs , I know I know llm are really good at it, can write better & faster than me, don't care. started learning things for the fun of it. building things hands-on give such a good experience

Hasnayeen reposted

Laravel devs, this Collection feature is easy to overlook. 👀 Higher-order messages let you replace simple callbacks with expressive syntax across many Collection methods. Once you spot the pattern, your Collection code gets a lot cleaner.

Hasnayeen reposted

Ever add a personal scratch file to .gitignore just to keep git status clean? 👀 Don't change the shared .gitignore for something only you need. Use .git/info/exclude instead. Same ignore syntax. Local to your clone. Never committed.

Hasnayeen reposted

Laravel Tip 💡 Need to know what changed on an Eloquent model? Before saving, use isDirty() and isClean(). After saving, use wasChanged(). And when you need the previous value, getOriginal() has you covered. The important part is knowing when to use each one. 👀

Hasnayeen reposted

Laravel devs, you asked for it and it's here! 👀 I've started collecting the Laravel tips I've posted on X in one place. Around 100 tips are there so far, and the best part: you can add your own tips too! Let's build the collection together. ❤️ github.com/MrPunyapal/t...

github.comGitHub - MrPunyapal/tips: Collection of tips posted on X by MrPunyapal or contributed by community.Collection of tips posted on X by MrPunyapal or contributed by community. - MrPunyapal/tips

Hasnayeen reposted

blade (and livewire) fans, this one's for you: pint --blade formats blade / html / php, and sorts tailwind classes in your blade files composer update & enjoy 🤌🏻

Hasnayeen reposted

say hello to pest v5 · tia: the fastest testing engine in the world (literally instant) · agent plugin: 10x better than any other browser agent · phpstan + rector: built in · evals: test your agents ship it

Hasnayeen reposted

Laravel Installer v5.31 includes a new command: 𝚕𝚊𝚛𝚊𝚟𝚎𝚕 𝚙𝚊𝚌𝚔𝚊𝚐𝚎 This new command kicks off an interactive prompt that scaffolds out a Laravel package using our (new) (official) package skeleton: github.com/laravel/pack... Enjoy!

Trying to read more long form contents so decided to make a little rss feed reader app with filament. I fell in love with @filamentphp.com every time I work with it. P.S I need more rss feed recommendation, particularly on tech, php please.

Hasnayeen reposted

🚀 Say goodbye to juggling multiple tools! With Pest 4's suite for browser testing, you can seamlessly handle unit, feature, AND browser tests all in one place. Ready to elevate your PHP game? Let’s simplify your workflow! #PestPHP… https://shocm.me/posts/2026-07-04-pest-4-browser-testing-laravel/

shocm.mePest 4 Browser Testing: One Suite for Unit, Feature, and the BrowserA practical guide to Pest 4 browser testing in Laravel: setup, the sign-in flow, smoke assertions, subdomain testing with withHost, and visual regression.

Hasnayeen reposted

Laravel tip: If you update records while chunking them, be careful with `chunk()`. Because `chunk()` uses offset pagination, changing the result set during processing can make you skip rows. Use `chunkById()` when the records can change while processing.