Sign in

Matthew Hailwood

@hailwood.nz
80 followers 89 following 90 posts

Principal Engineer @ foxbyte.nz. PHP & Laravel enthusiast | All about Typescript. Opinions are mine.

PostsRepliesMedia
Matthew Hailwood @hailwood.nz · 18/06/2025
Hey @laravel-idea.com, With all the awesome work you're doing on route inlay hints. Reckon we could add support for showing the route above controller actions? Would be really handy for quick skimming.
A php class method showing a grey text above it with "GET /customers/send-access-code"
110
Matthew Hailwood @hailwood.nz · 01/05/2025
Hey @laravel-idea.com Do you have plans to add doing vendor:publish as an action? Would be wicked to be able to do this without switching to the terminal 💡
Screenshot showing the Laravel vendor:publish artisan command output.
110
Matthew Hailwood @hailwood.nz · 30/04/2025
Would ya look at that, our @laravel.com Inertia Data Providers package now has a make:data-provider command and integration with @laravel-idea.com! Check it out and let us know what you think! github.com/webfox/larav...
A screenshot of the Laravel Idea action menu showing a selected item of "Create Inertia Data Provider".
031
Matthew Hailwood @hailwood.nz · 09/04/2025
Hey @laravel-idea.com, would it be possible to add an intention on controller methods to "Create Form Request". All it would do is open the "Create Form Request" dialog like you do from the Code Generation menu, but would automatically add it to the controller method once you hit "OK".
120
Matthew Hailwood @hailwood.nz · 30/03/2025
Hey @laravel-idea.com what's the likelihood of you supporting for@statamic.bsky.social, e.g. antlers syntax and completions? Something like this but for @jetbrains.com products stillat.com/antlers-tool...
stillat.com
Antlers Toolbox | Stillat
A collection of kickass developer tools for Statamic developers. Tools include syntax highlighters, code completion, validation, formatters, and more!
130
Matthew Hailwood @hailwood.nz · 23/03/2025
Hey @laravel-idea.com, Since the latest update I've been getting this a bit. Is this a known issue or something specific to me? I've reported the issue via the IDE.
A warning "Plugin 'Laravel Idea' might be slowing things down"
120
Matthew Hailwood @hailwood.nz · 21/03/2025
I really wish #php would add short methods public function getLevels(): array { return ['low', 'med', 'high']; } could be public fn getLevels(): array => ['low', 'med', 'high'];
130
Matthew Hailwood @hailwood.nz · 21/03/2025
I wonder if #laravel would accept a PR to allow adding a `getAdditionalPivotColumns` to your custom pivot models. public function getAdditionalPivotColumns(): array { return [ 'level', ]; } It would act the same as calling `->withPivot(['level'])` when creating the relationship.
120
Matthew Hailwood @hailwood.nz · 21/03/2025
Hey neat! @github.com Copilot now has Edits in @jetbrains.com products. Good to see us getting feature parity with @vscode.dev again.
000
Matthew Hailwood @hailwood.nz · 19/03/2025
Hey @typescriptlang.org and @react.dev people, For native elements is `ComponentProps<'button'>` always the right way to do it? What about for components that don't export their prop types? When wouldn't `ComponentProps<typeof SomeComponent>` work and how would you do it? #typescript #react
120
Matthew Hailwood @hailwood.nz · 02/03/2025
Hey @jetbrains.com the completions are pretty sad for something I'd be paying $20NZD/month for... To create the screenshots below I have 3 files open UserTypeEnum, enums.php (current file), and VisibilityTypesEnum @github.com Copilot got it straight away, Meanwhile JB seems to have zero context.
Completion provided by Github Copilot showing the expected result.Completion provided by Jetbrains Assistant showing a hallucinated result.Attempting to give Jetbrains Assistant one more go, we've added an extra character and manually invoked the multiline completion. It still completely hallucinates the result.
000
Matthew Hailwood @hailwood.nz · 02/03/2025
Hey @laravel-idea.com , I've added support for generating our enums via github.com/webfox/larav... Can I combine these two with a dropdown for the type (which would also change the 'value' param? Or allow users to add enum mappings directly in the dialog? I expect not but it doesn't hurt to ask!
A Laravel Idea popup dialog with two options "Create Integer Backed Enum" and "Create String Backend Enum".
110
Matthew Hailwood @hailwood.nz · 25/02/2025
From a DX perspective, my favourite thing about Laravel Cloud is the search dialog.
A screenshot of the Laravel Cloud search dialog, showing search results grouped by "Navigation" "Organisations" and "Applications"
010
Matthew Hailwood @hailwood.nz · 25/02/2025
So Laravel Cloud is pretty nice, bit odd not having a Sydney region though. Do you know why this is @driesvints.com?
120
Matthew Hailwood @hailwood.nz · 14/02/2025
The new release of Inertia for Laravel means a new release of our package too! 🎉 We've added support deferred props. 🚀 Oh, and we're ready for the incoming Laravel 12 release! github.com/webfox/larav...
github.com
GitHub - webfox/laravel-inertia-dataproviders: Data providers encapsulate logic for Inertia views, keep your controllers clean and simple.
Data providers encapsulate logic for Inertia views, keep your controllers clean and simple. - webfox/laravel-inertia-dataproviders
001
Matthew Hailwood @hailwood.nz · 13/02/2025
Gotta love a good @workchronicles.bsky.social comic.
a workchronicles.com comic strip.
panel 1: two people sitting at laptops, person one: "I really need to solve this problem"
panel 2: person one is now standing, person two: "Where are you going?", person one: "For a walk"
panel 3: person two: "I thought you needed to solve this problem"
panel 4: person one, walking away: "Yes. That's why I'm going for a walk"
000
Reposted by Matthew Hailwood
Laravel Idea @laravel-idea.com · 13/02/2025
Laravel Idea 10 is out! 🚀 It's probably the most significant update ever!
1309
Matthew Hailwood @hailwood.nz · 21/01/2025
Hey @laravel-idea.com, Can we do anything with ide.json in our package to add a custom generation to this list? github.com/webfox/larav...
Laravel Idea "Run Action" dialog with the search results for "create"
120
Reposted by Matthew Hailwood
Laravel Idea @laravel-idea.com · 10/01/2025
Laravel Idea now is two high-skilled developers working full-time on features we couldn't dreamed about 1-2 years ago. The 10.0 release will blow your mind.
1201
Matthew Hailwood @hailwood.nz · 10/01/2025
Hey @laravel-idea.com, At some point I'm going to need to start paying you for a custom support plan 😅 Today's query! Do you think you could make "Related Rows" in the database tools work for pivot columns? E.g. pressing F4 in either of these cells should open the media table with id 4 selected.
A screenshot of a database tool showing two column headers "retainable_type" and "retainable_id". The type column contains a class name of Media. the id column contains the value 4.
100
Matthew Hailwood @hailwood.nz · 08/01/2025
Also @laravel-idea.com, I'd love an intention here that would create the missing method for me.
A Jetbrains IDE context menu activated from a Laravel route definition with the cursor over the method name.
100
Matthew Hailwood @hailwood.nz · 07/01/2025
Hey @laravel-idea.com, The Run db:seed dialog is a bit weird. It asks for the class and then also the class flag. Also, do you think we could get completion for the seeder class names here? :)
A screenshot of the Run db:seed dialog from Laravel Idea.
100
Matthew Hailwood @hailwood.nz · 19/12/2024
Hey @jetbrains.com I have a question for you. This UI, are these interface elements specific to the Jetbrains AI plugin, or are they part of the intellij platform and usable by other AI plugins (e.g. if copilot wanted to). I'm just trying to work out why copilot's UX is so bad in PHPStorm.
Image showing the AI refactor suggestion by the Jetbrains AI plugin.Image showing a prompt "Ask AI to generate code"
100
Reposted by Matthew Hailwood
James Hulena @jameshulena.bsky.social · 19/12/2024
In New Zealand, we have a yearly fundraiser for LBCNZ, us firefighters climb 51 floors with all our gear. I am asking for anyone of you lovely people to get behind me. Every $1 counts. If you can't donate please share around. Thank you all! firefighterschallenge.org.nz/james-hulena
firefighterschallenge.org.nz
Layout
Please support my Firefighter Sky Tower Challenge
012
Matthew Hailwood @hailwood.nz · 16/12/2024
Would you look at that, the official #laravel vs code extension is now available! marketplace.visualstudio.com/items?itemNa...
marketplace.visualstudio.com
Laravel - Visual Studio Marketplace
Extension for Visual Studio Code - Official VS Code extension for Laravel
010
Matthew Hailwood @hailwood.nz · 16/12/2024
Hey @jetbrains.com What's the easiest way to move connections between PHPStorm and DataGrip?
000
Matthew Hailwood @hailwood.nz · 15/12/2024
Hey @laravel-idea.com, reckon you could pick the route parameters from the route definition where a Form Request is used so we can get autocompletion of the parameters? Right now I add a docblock to my requests so I can use `$this->some_route_param`. You're a wizard if you can!
210
Matthew Hailwood @hailwood.nz · 12/12/2024
Can anyone confirm for me whether I adopted a #cat or #dog? I'm getting less sure as the days go on.
010
Matthew Hailwood @hailwood.nz · 07/12/2024
Accidentally queued millions of jobs into Laravel horizon on a server provisioned to expect at most a few hundred at once. Completely locked the ram and had to get the hosting company to physically reset the hardware as no one could connect to it.
021
Reposted by Matthew Hailwood
James Hulena @jameshulena.bsky.social · 06/12/2024
With webfox/laravel-backed-enums of course 🙃 shameless plug
github.com
GitHub - webfox/laravel-backed-enums: Supercharges your PHP8 backed enums with superpowers like localization support and fluent comparison methods.
Supercharges your PHP8 backed enums with superpowers like localization support and fluent comparison methods. - webfox/laravel-backed-enums
121
Reposted by Matthew Hailwood
jasonmccreary.bsky.social @jasonmccreary.bsky.social · 05/12/2024
Hey you, with the old Laravel app… I know you're out there. December is slow for me so I have more time for "Human Shifts" - where I upgrade your Laravel app for you. So if you don't have the time (or desire) to upgrade that old thing, send it my way (or tell the boss to). 👇🏻
231
Matthew Hailwood @hailwood.nz · 04/12/2024
If a client says "Oh, that never happens", you can pretty much guarantee that it's going to happen, right?
media.tenor.com
a man in a police uniform is talking to another man and says that will never happen
Alt: Captain Holt from Brooklyn Nine-Nine saying "That will never happen".
120
Matthew Hailwood @hailwood.nz · 04/12/2024
How hot is it? Roughly "my cat is standing in the dogs drinking water" hot.
A black cat standing next to a tabby cat in a bucket of water
041
Matthew Hailwood @hailwood.nz · 02/12/2024
Hey @laravel-idea.com, something interesting here. I can navigate from the view to the controller here, but can't navigate from the usage to the view.
Screenshot of PHPStorm showing "Cannot find declaration to go to" when attempting to navigate to a view from a pdf()->view('...') call in Laravel. Screenshot of a valid "find usages" button in PHPStorm from the blade view shown in the previous screenshot and the text overlayed "Takes me to the pdf()->view() call".
130
Matthew Hailwood @hailwood.nz · 30/11/2024
Hey, @imlunahey.com I thought you needed to see this. This is my cat. She did this to herself.
081
Matthew Hailwood @hailwood.nz · 29/11/2024
Alright what have you got? howtall.is/hailwood.nz
howtall.is
How tall is Matthew Hailwood?
The internet is out guessing heights again
110
Matthew Hailwood @hailwood.nz · 27/11/2024
One of the best things about @laracon.au was the networking opportunities! Guess that's #laraconWrapped for this year!
032
Matthew Hailwood @hailwood.nz · 26/11/2024
Was waiting for this. These are all great talks here but the main one I'm interested in sharing is from @marty.friedel.au. Amazing talk many more people need to see/hear. I'm sure many of us can relate. Go check it out.
120
Matthew Hailwood @hailwood.nz · 25/11/2024
Hey @valorin.bsky.social, I have a question. If you've been hired to try to hack into or pentest a site, what do you ask your client to provide you?
110
Matthew Hailwood @hailwood.nz · 22/11/2024
Saw the first screenshot and was thinking "you know what would be cool"... Opened the second screenshot... "Yeah that!" Lmao Nice work
010
Matthew Hailwood @hailwood.nz · 21/11/2024
I'm pretty interested to see if @taylorotwell.bsky.social has any plans around #PHP8.4 property hooks in #laravel. Could they provide an alternative to accessor methods?
320
Reposted by Matthew Hailwood
Laracon AU @laracon.au · 13/11/2024
For those who left before High Tide last Friday (???) and those who couldn't make it to #LaraconAU this year, this is for you! 🎇 And yes, these were ours - the first video you see is from the pyrotechnician's vantage point. youtu.be/8HWeJhWwUww
youtube.com
High Tide Fireworks - Laracon AU 2024
YouTube video by Laracon AU
1125