Sign in

Nicolas Hedger

@hedger.ch
296 followers 195 following 145 posts

@biomejs.dev core contributor hedger.ch github.com/nhedger

PostsRepliesMedia
Nicolas Hedger @hedger.ch · 08/08/2026
Not being able to hide the title bar in @zed.dev is pretty frustrating. I don’t even need the traffic light buttons. I’d happily get rid of them. In @vscode.dev, extensions that tweak the CSS give you much more freedom to shape the interface.
100
Nicolas Hedger @hedger.ch · 07/05/2025
Just found out I can basically have #DataGrip inside #PhpStorm. No more switching between windows. Legendary move by @jetbrains.com
000
Nicolas Hedger @hedger.ch · 24/02/2025
Alright, it turns out you can just install Bun as part of the build script. I wish I didn't have to, but it works for now!
010
Nicolas Hedger @hedger.ch · 05/02/2025
Been using singular table names in Laravel for some time, and this little trait has become my best friend.
trait HasSingularTableName
{
    public function getTable(): string
    {
        return match ($this->table) {
            null => Str::snake(Str::studly(class_basename($this))),
            default => $this->table,
        };
    }
}
000
Nicolas Hedger @hedger.ch · 19/11/2024
I always forget to add a .gitattributes file with export-ignore directives to my Composer packages, but I should really be more careful. In the case of my last package Unicon, this resulted in a 97.8% reduction in file size (312KB -> 7KB)! github.com/nhedger/unic...
.gitattributes file showcasing the use of export-ignore directives:

/.github/           export-ignore
/docs/              export-ignore
/test/              export-ignore
/.gitattributes     export-ignore
/.gitignore         export-ignore
/composer.lock      export-ignore
/phpunit.xml        export-ignore
010
Nicolas Hedger @hedger.ch · 18/11/2024
Looks legit
010
Nicolas Hedger @hedger.ch · 13/11/2024
Working on the docs of my upcoming Unicon #laravel package 👀
Screenshot of the upcoming Unicon docs
120
Nicolas Hedger @hedger.ch · 11/11/2024
I've started working on something I'm sure #laravel #livewire users are going to like. On-demand icons powered by the #iconify API. Imagine having access to 200k+ icons without having to install anything 🚀
140