Andy Hinkle's Avatar

Andy Hinkle

@andyhinkle.com.bsky.social

Builder of things. πŸŽ™οΈ Midwest Artisan Podcast

1,030 Followers  |  103 Following  |  21 Posts  |  Joined: 23.10.2024  |  1.9868

Latest posts by andyhinkle.com on Bluesky

Preview
The State of Laravel Survey This survey is an attempt to gain insight into the representation of the diverse technologies and behaviors of this outstanding community.

The State Of Laravel 2025 survey has started!

You can now participate to identify how the ecosystem changed over the past 12 months!

Please RT for reach ❀️

stateoflaravel.com/participate?...

22.07.2025 09:28 β€” πŸ‘ 22    πŸ” 25    πŸ’¬ 4    πŸ“Œ 0

My wife and I have been looking for an excuse to go back to NYC just to have those tacos again. Honestly, it’s a good enough excuse on its own.

19.07.2025 14:53 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Added this to my prompt as a joke - now it’s standard:
β€œWrite this like Taylor Otwell would. Clean, expressive, elegant - no fluff.”

10.07.2025 18:57 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Just upgraded a site from Laravel 11 to 12 via a Dependabot PR β€” no code changes, tests all pass, zero issues, smooth as butter. Love these kinds of upgrades.

22.04.2025 14:04 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

RIP Around.co πŸ’€ (EoL) Our daily standups always wrapped up with a 5-minute Bomberman battle between the devsβ€”pure chaos and competition.

Anyone have a go-to breakout game with their team as the day starts?

24.03.2025 14:53 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Found this gem while rescuing an app today

23.12.2024 20:12 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1
➜  laravel php artisan stub:publish

 β”Œ Which stubs would you like to publish? ──────────────────────┐
 β”‚ migration.create.stub                                        β”‚
 β”‚ migration.stub                                               β”‚
 β”‚ migration.update.stub                                        β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

   INFO  Stubs published successfully.

➜ laravel php artisan stub:publish β”Œ Which stubs would you like to publish? ──────────────────────┐ β”‚ migration.create.stub β”‚ β”‚ migration.stub β”‚ β”‚ migration.update.stub β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ INFO Stubs published successfully.

Ever used the `stub:publish` command when you only needed a few stubs but ended up publishing all ~50 customizable ones?

I’m working on a PR to address this by adding a selection menu so you can choose exactly which stubs to publish. Would love to hear any feedback!

github.com/laravel/fram...

04.12.2024 17:17 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

a man of his word.

29.11.2024 18:58 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Sameβ€” apparently, 2 meters is the height for walking into every spider web on the planet.

25.11.2024 03:24 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Risky click. haha

25.11.2024 03:09 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Whew! Congrats dude!

20.11.2024 22:11 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Now, these are the takes I’m here for!

19.11.2024 17:04 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

That’s my kidβ€”already making solid life choices.

19.11.2024 14:03 β€” πŸ‘ 20    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Same! ASG-89 Shotgun has been OP for zombies.

15.11.2024 18:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Mostest Overly Technical Sewing Engineering

15.11.2024 18:14 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Linkin Park's new album is such a banger. Feels like I'm in high school again.

15.11.2024 15:04 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I love this "TIL" series on your site. Great idea. Keep it up man!

14.11.2024 21:15 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Instantiating a class via constructor property promotion

TIL you can instantiate a class via constructor property promotion in PHP: travisnorthcutt.com/til/php-cons...

14.11.2024 20:12 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 3    πŸ“Œ 0

Ah, I was type hinting with public Carbon ..., which reset the date. Removing the type hint fixed the issue. Interesting! Thanks so much for your helpβ€”really appreciate it!

14.11.2024 18:07 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Hmm, shoot - gives me today, equivalent to writing `new Carbon()` instead of the passed date. Super nice find though!

14.11.2024 16:57 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Whoa! Nice find! Is it meant to be used this way? haha

14.11.2024 16:54 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Haha yeah, you go it! Or perhaps something like an attribute on the constructor. πŸ€”

Still smells a bit funny haha but it's nice that I don't have to type it again.

14.11.2024 16:46 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
<?php

...

// Current
public Carbon startDate;

public function __construct()
{
	$this->startDate = new Carbon('2024-01-01');
}

...

// Instead, Would be nice:
public Carbon startDate = new Carbon('2024-01-01');

// or

#[InstantiateOnConstruct]
public Carbon startDate = new Carbon('2024-01-01');

<?php ... // Current public Carbon startDate; public function __construct() { $this->startDate = new Carbon('2024-01-01'); } ... // Instead, Would be nice: public Carbon startDate = new Carbon('2024-01-01'); // or #[InstantiateOnConstruct] public Carbon startDate = new Carbon('2024-01-01');

I think about this often πŸ€” – it’d be great to see something like this in a future version of PHPβ€”instantiation on property declaration. I get *why* we do this, but the number of constructors I could clean up... 🧹

14.11.2024 16:32 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@andyhinkle.com is following 20 prominent accounts