Matthew Hailwood

Matthew Hailwood

@hailwood.nz

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

80 followers89 following90 posts

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".

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'];

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.

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.

Matthew Hailwood reposted

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.

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.

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.

Here's the same features by @github.com copilot. It's much more jarring, you get a separate diff window where you can insert the code, or copy it. It's also only works on a single block of code at once rather than being able to suggest multiple isolated blocks.

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!

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.

Honeybadger.io@honeybadger.io

Senior devs: Tell us about that time you took down prod

Matthew Hailwood reposted

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). ๐Ÿ‘‡๐Ÿป

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.

Laracon AU@laracon.au

We've just published the videos from day two of #LaraconAU over on our YouTube channel, which means that all of the videos from this year's conference are now up. Go check them out! https://www.youtube.com/playlist?list=PLEkJYA4gJb78sid5NlCZcSPm2McRMcf9E

Saw the first screenshot and was thinking "you know what would be cool"... Opened the second screenshot... "Yeah that!" Lmao Nice work

Laravel Idea@laravel-idea.com

We've added some convenient items to the right-click menu for database tables.

You are up to date.