Sign in

Emma De Silva

@emmadesilva.bsky.social
464 followers 202 following 66 posts

Fullstack Laravel/PHP developer focused on backend cybersecurity. Building Laravel-based static site generator @HydePHP in public. Occasionally funny.

PostsRepliesMedia
Emma De Silva @emmadesilva.bsky.social · 28/05/2025
Ready to do some #OpenSource? @HydeFramework is joining the #OnlyDust #ODHack14 summer #Hackathon! hydephp.com/posts/hydeph...
hydephp.com
HydePHP - HydePHP is Joining ODHack #14 - Come Build with Us!
Ready to build something amazing? HydePHP is part of OnlyDust's ODHack Summer Hackathon!
040 4
Emma De Silva @emmadesilva.bsky.social · 13/02/2025
Love it! Thank you so much! I’ll share it with Jason and we’ll get back to you 🙌
000 0
Emma De Silva @emmadesilva.bsky.social · 12/02/2025
So glad to hear it’s useful! Yeah we’d absolutely love to hear your ideas! Feel free to DM or email me at caen@desilva.se if you need more characters 🙌
110 1
Reposted by Emma De Silva
Laravel News @laravelnews.com · 10/02/2025
HydePHP - The Static Site Generator with Caen De Silva
buff.ly
HydePHP - The Static Site Generator with Caen De Silva - Laravel News
Join us as we discuss the features and benefits of HydePHP
032 3
Emma De Silva @emmadesilva.bsky.social · 18/01/2025
Have you gotten anywhere using Herd? That’s felt really painless to me (at least compared to when I started Laravel years ago and needed Homestead) otherwise WSL2 with Ubuntu is really good.
110 1
Emma De Silva @emmadesilva.bsky.social · 09/01/2025
As an open-source maintainer there is truly nothing more rewarding than seeing someone create amazing things with the help of something I created. www.linkedin.com/feed/update/...
linkedin.com
Luca Visciola on LinkedIn: The Tale of Zoe: From Doodler to Best-Seller with HydePHP
🖌️✨ The Tale of Zoe: From Doodler to Best-Seller with HydePHP ✨🧙‍♀️ Once upon a time, Zoe was just a dreamer with a pencil and big ideas. But with a…
020 2
Emma De Silva @emmadesilva.bsky.social · 06/01/2025
Yup! That’s exactly what I do. Just couldn’t fit it in a single post hahah
000 0
Emma De Silva @emmadesilva.bsky.social · 05/01/2025
Namecheap has never been cheap in my experience. You get a good deal the first year, but the renewal fees are insane. If I have a random idea I wanna try out on a non-subdomain I sometimes get something on Namecheap for 3 bucks. If it doesn’t generate enough revenue for the renewal I let it expire.
100 1
Emma De Silva @emmadesilva.bsky.social · 30/12/2024
"Conventional" commits is such a bamboozle given that there really isn't a single fixed convention, thus failing to solve the problem it's named for trying to solve.
000 0
Emma De Silva @emmadesilva.bsky.social · 29/12/2024
Longer warranty on a kids model is such a good idea!
020 2
Emma De Silva @emmadesilva.bsky.social · 29/12/2024
Yup fully agree with that. If there’s a budget I’d rather go with last years model with max RAM than a newer one with less RAM.
110 1
Emma De Silva @emmadesilva.bsky.social · 29/12/2024
I’m not sure if the performance boost of the chip is worth the upgrade, but seriously do max out the RAM. I regret getting only 24GB. Have 48GB on my work Mac and get close to that limit sometimes too. You’re also probably going to want to mess with local AI, and you need tons of RAM for that.
000 0
Emma De Silva @emmadesilva.bsky.social · 27/12/2024
I'm so happy #HydePHP is getting a community, and that they're creating packages! This one just came out, and it looks so cool. Can't wait to try it out this weekend! #php #phpc github.com/melasistema/...
github.com
GitHub - melasistema/hydephp-layouts-manager: Effortless HydePHP Layouts and Components Management. HydePHP Layouts Manager is a powerful Composer package that simplifies the way you manage layouts an...
Effortless HydePHP Layouts and Components Management. HydePHP Layouts Manager is a powerful Composer package that simplifies the way you manage layouts and reusable components within your HydePHP p...
020 2
Emma De Silva @emmadesilva.bsky.social · 26/12/2024
Sure, AI can be great for writing tests, but I still think there is a huge value in writing at least the first few ones yourself. When you sit there and write code to replicate code paths, you will probably find great refactoring opportunities and bugs the AI would have missed.
020 2
Emma De Silva @emmadesilva.bsky.social · 26/12/2024
Instead of using arrays and having too many concerns in a single class, HydePHP v2 will have code refactored to use internal typed value objects. These won't change the public API, but it makes it so much easier for me to write and test new code, and maintain existing features.
010 1
Emma De Silva @emmadesilva.bsky.social · 26/12/2024
With the #Laravel Artisan console testing helpers, is there a way to get all the output from the command? I know I can do `withoutMockingConsoleOutput()` but then I can't use fluent testing helpers which I need to interact with input when there are questions.
021 2
Emma De Silva @emmadesilva.bsky.social · 26/12/2024
Stuff like this is so extra, but I think it's really fun to work with. And #PHP and #Laravel makes it so easy!
030 3
Emma De Silva @emmadesilva.bsky.social · 25/12/2024
Tip: When using ternary expressions, at least temporarily split them to multiple lines so you can see if your test is covering all code paths! If they're all in a single line, that line is green even if only one path is tested. #php #phpc
040 4
Emma De Silva @emmadesilva.bsky.social · 22/12/2024
Just learned that it's possible to create custom Git commands!
110 1
Emma De Silva @emmadesilva.bsky.social · 22/12/2024
Started a discussion on GitHub to track these, in case someone wants to write something longer than what fits in a reply here. github.com/hydephp/deve...
github.com
Internationalis(z)ation efforts · hydephp develop · Discussion #2071
Introduction As HydePHP is starting to spread and become used all over the world (which is absolutely incredible!) we need to ramp up our internationalization support. This discussion will serve as...
000 0
Emma De Silva @emmadesilva.bsky.social · 22/12/2024
The next minor update of #HydePHP will automatically transliterate logographic writing systems to ASCII compatible representations when generating slugs in order to improve internationalization. What more can we do to improve support for developers making sites with HydePHP in other languages?
120 2
Emma De Silva @emmadesilva.bsky.social · 21/12/2024
Bugfix update of HydePHP released! A small holiday gift to #Docker and Alpine #Linux users: Moving away from the unsupported GLOB_BRACE issues, using a more robust internal implementation. github.com/hydephp/fram...
github.com
Release v1.7.4 - 2024-12-21 · hydephp/framework
What's Changed Add webp to the list of default media extensions by @caendesilva in #663 Internal: Fix framework tests not running in workflow by @caendesilva in #665 Replace GLOB_BRACE with a more...
020 2
Emma De Silva @emmadesilva.bsky.social · 19/12/2024
I'm so glad #Sonnet is back on #Claude
000 0
Emma De Silva @emmadesilva.bsky.social · 17/12/2024
Okay so it looks like I wasn’t kidding when I said my passion is open source
000 0
Emma De Silva @emmadesilva.bsky.social · 16/12/2024
That depends entirely on how you want to edit the content and what your design goals are. Do you want a database or do you prefer flat file systems? How will people edit content? Using a UI or code editor? Start by listing the requirements and go from there 🙌
000 0
Emma De Silva @emmadesilva.bsky.social · 15/12/2024
Pro tip: If you make #PHP packages that need to work on multiple operating systems, make sure you don't use `GLOB_BRACE` since some Linux distros don't support it. Use Symfony Finder or even RecursiveDirectoryIterator from the start to save you some headache.
000 0
Emma De Silva @emmadesilva.bsky.social · 13/12/2024
Thank you so much!
000 0
Emma De Silva @emmadesilva.bsky.social · 13/12/2024
If you want a tastier alternative to foobars, and that's alphabetical! gist.github.com/caendesilva/...
gist.github.com
Foo, bar, and baz all have one problem: They're not tasty, and they're not alphabetical. Use this list instead.
Foo, bar, and baz all have one problem: They're not tasty, and they're not alphabetical. Use this list instead. - tasty-foo-bar.txt
000 0
Emma De Silva @emmadesilva.bsky.social · 12/12/2024
Thank you so much Leah!
010 1
Emma De Silva @emmadesilva.bsky.social · 12/12/2024
Excited to announce that I’m starting as a Backend Developer at #Grebban today! 🚀 I’ll be working with #PHP and #Laravel, two things I’m really passionate about. Can’t wait to join the team and get started! 🙌
2120 12
Emma De Silva @emmadesilva.bsky.social · 11/12/2024
People underestimate the value in things that "just work". It's a low bar, but it's exceedingly hard to meet. But it pays off. Take Apple as an example, people (and especially companies) are willing to pay a high premium for an ecosystem of products that Just Work, and that work well together.
000 0
Emma De Silva @emmadesilva.bsky.social · 10/12/2024
Okay I'm loving this UI so far. I'm actually thinking about making this the default. Personally, I don't think I've ever wanted to publish all #Laravel views for a package. Am I weird? What are people's thoughts on this? There will be a button and a flag to select all views of course.
030 3
Emma De Silva @emmadesilva.bsky.social · 10/12/2024
Hehe that’s cool!!
010 1
Emma De Silva @emmadesilva.bsky.social · 10/12/2024
HydePHP v2 will make use of Laravel Prompts! Look at this gorgeous thing! #Laravel #PHP
161 6
Emma De Silva @emmadesilva.bsky.social · 10/12/2024
Well this Google card is really nice! Is it autogenerated, or did someone write this?
000 0
Emma De Silva @emmadesilva.bsky.social · 09/12/2024
Yes. Info pane on the left with context and detailed icons that while not pretty by todays standards, are very clear as to what they are for most importantly they are so much more memorable run modern flat icons making it easier to refind settings. And the next under icons is great too.
010 1
Emma De Silva @emmadesilva.bsky.social · 08/12/2024
Would you trust a web host that stores your admin panel password using encryption instead of a proper one-way hash?
000 0
Emma De Silva @emmadesilva.bsky.social · 08/12/2024
Glad to help!
010 1
Emma De Silva @emmadesilva.bsky.social · 08/12/2024
GitLab and private repos are on the roadmap, so great to know it's something people want!
110 1
Emma De Silva @emmadesilva.bsky.social · 08/12/2024
Also, if you want an automated release notes generator I made this together with @jasonmccreary.bsky.social recently! Just paste your Git URL and we'll generate it for you. release.new
release.new
Enter your repository details to generate release notes from your Git history and apply common formatting options with one-click.
your value
121 2
Emma De Silva @emmadesilva.bsky.social · 08/12/2024
I think generally, you could just add a prompt like "Below is a raw Git diff, please write release notes for it [optionally add an example of a categorization format]" and paste the raw diff from GitHub (just append .diff to the PR URL)
210 2
Emma De Silva @emmadesilva.bsky.social · 08/12/2024
Yeah gladly! Keep in mind that my specific steps were for an unusually complicated use case, but in short I used aistudio.google.com which is free, and added a prompt telling it to check if the notes were up to date, and pasted PR description, the current notes, and the entire raw diff from GitHub
aistudio.google.com
Sign in - Google Accounts
110 1
Emma De Silva @emmadesilva.bsky.social · 08/12/2024
Gemini 1.5 Pro with 2M context window is really really good for analyzing changes across massive diffs. Wanted to double check my release notes were up to date for a parent PR with around 10 sub-PRs, and totalling 20 000 line changes over almost 500 commits. Looks to be really accurate!
Gemini Playground output detailing enhancements and breaking changes to HydePHP v2, including Vite integration for frontend asset compilation, improvements to HydeFront, and custom heading and blockquote rendering.
110 1
Emma De Silva @emmadesilva.bsky.social · 05/12/2024
Which style do people prefer? $extraAttributes is an array that may or may not be empty, and may or may not contain a class key. In my opinion the first one is more readable, but it's annoying me that there is so much repetition. The second doesn't look as readable to me though
010 1
Emma De Silva @emmadesilva.bsky.social · 04/12/2024
Very true!
010 1
Emma De Silva @emmadesilva.bsky.social · 03/12/2024
What do people think about adding a fluent cache helper method to #Laravel Eloquent? #php #phpc
250 5
Emma De Silva @emmadesilva.bsky.social · 01/12/2024
This is a map of the Internet. And it is beautiful. Source and details: en.wikipedia.org/wiki/Compute...
A map of the internet's physical structure, illustrating the global network of cables, routers, and data centers that enable communication and data transfer. The image displays the complex web of connections between various nodes, highlighting the scale and complexity of the internet's infrastructure.
010 1
Emma De Silva @emmadesilva.bsky.social · 30/11/2024
While doing this I also got an idea. A lot of the stuff in here could be HydePHP, and whenever I've had talks about Hyde, people are curious about integrating Hyde into existing Laravel apps. So may have a go at making a HydeVel(?) fusion to get Hyde with interactive SSR stuff like CMS and analytics
000 0
Emma De Silva @emmadesilva.bsky.social · 30/11/2024
Went back and made some updates to one of my first open-source projects: A #Laravel blog starter kit. Upgraded to Laravel 11, and added a simple analytics feature! github.com/caendesilva/...
github.com
GitHub - caendesilva/laravel-blogkit: Kickstart the development of your Laravel Blog with this Starter Kit built Laravel 11, TailwindCSS, AlpineJS, and Livewire!
Kickstart the development of your Laravel Blog with this Starter Kit built Laravel 11, TailwindCSS, AlpineJS, and Livewire! - caendesilva/laravel-blogkit
180 8
Emma De Silva @emmadesilva.bsky.social · 30/11/2024
Turned 23 today, and wanted to reflect on what I've learned this past year. Thanks for everyone in the wonderful #Laravel and #PHP community, and beyond, for being a part of my journey! blog.desilva.se/posts/turnin...
blog.desilva.se
Turning 23: Reflecting on a Year of Growth, Learning, and New Adventures
Today marks my 23rd birthday, and as I sit here reflecting on the past year, I'm filled with a sense of gratitude and amazement at how much can change in just 365 days.
040 4