SlyFireFox Profile Banner
Peter Fox Profile
Peter Fox

@SlyFireFox

Followers
2K
Following
39K
Media
729
Statuses
11K

🐘 Laravel & PHP developer helping others gain experience Writer of PHP Rector Rules to make upgrading easier πŸ”§

United Kingdom
Joined April 2010
Don't wanna be here? Send us removal request.
@SlyFireFox
Peter Fox
11 months
I've been asked a few times what's the best way to get started with @rectorphp. I've now got an article to help you get it installed. I'm planning to do lots more so please do tell me the things you want to know!.
1
9
33
@SlyFireFox
Peter Fox
3 hours
RT @SlyFireFox: Just had my fastest ever PR merged into Laravel 🀯. If you've ever used Laravel for APIs and you're using OpenAPI docs it ca….
0
1
0
@SlyFireFox
Peter Fox
1 day
As always there's a link to the PR if you want to check it out. Now time to document the change!.
0
0
0
@SlyFireFox
Peter Fox
1 day
Just had my fastest ever PR merged into Laravel 🀯. If you've ever used Laravel for APIs and you're using OpenAPI docs it can be a bit frustrating to not be able to validate if a JSON value is a strict boolean. You often need a custom rule. My new PR adds a new `strict`
Tweet media one
2
1
13
@SlyFireFox
Peter Fox
7 days
Don't forget there's rules for Laravel specifically as well
1
1
2
@SlyFireFox
Peter Fox
7 days
Cool to see Josh talking about Rector!
@joshcirre
Josh Cirre
10 days
I know this doesn't mean much coming from the PHP guy, but writing modern PHP is actually enjoyable. With the tooling we have in 2025, it gets harder and harder to write bad PHP code. Plus, I'm not gonna lie. I think I found the perfect collection of tools. New video out.
Tweet media one
1
1
10
@SlyFireFox
Peter Fox
7 days
RT @rectorphp: New @rectorphp 2.1.1 is out 🀩. * improved --kaizen option for step-by-step upgrade πŸ’ͺ.* many bugfixes across core, @symfony a….
0
10
0
@SlyFireFox
Peter Fox
9 days
Just bought my copy because I've no doubt this'll be great. πŸ˜„.
@VotrubaT
Tomas Votruba
9 days
One page at a time, I've finished the "Introduction" chapper. Just deployed to productoin πŸ˜‰ . It's still long way ahead, but if you'd like to speed up the writing, get the book here:.. (Time to coin the hashtag #upgradeveryday )
Tweet media one
0
0
1
@SlyFireFox
Peter Fox
11 days
RT @PHPCSFixer: Long-awaiting official support for #PHP 8.4 in PHP-CS-Fixer is finally here πŸ₯³! You may find more information in release not….
0
16
0
@SlyFireFox
Peter Fox
12 days
RT @packagist: 🚨 shutdown of Composer 1.x support postponed to September 1st, 2025. Act now, upgrade to Composer 2!….
0
10
0
@SlyFireFox
Peter Fox
16 days
RT @VotrubaT: Big news! πŸ“š . Three years ago, I began writing a book on upgradesβ€”transforming tough changes into lasting success. Life got b….
0
19
0
@SlyFireFox
Peter Fox
21 days
I'd pay good money to have an LLM or whatever model that was focused purely on correcting spelling and grammar mistakes that are common to people with Dyslexia. Or a way to train one just off my own mistakes and fix them.
1
0
4
@SlyFireFox
Peter Fox
21 days
RT @dunglas: FrankenPHP hit 9k stars on GitHub. At 10k, we'll make a stuffed elePHPant!. Click, click!
Tweet media one
0
22
0
@SlyFireFox
Peter Fox
21 days
That said, if you want to do well in PHP world, learning what you can and can't do with Closures is really helpful. More than any patterns or abstractions.
0
0
1
@SlyFireFox
Peter Fox
21 days
Personally, I think PHP is great because you only need a bit of the basics around the primatives like strings/arrays and then you can get going with Laravel. Understanding interfaces/abstract/traits can come later. Just learn to make features and then improve where you can.
@__onlychild
Toluwalase.VueπŸ§‘πŸΎβ€πŸ’»
22 days
When learning or building with @laravelphp how much of @official_php most one know, just curious πŸ€”. @SirAlexthomson @LeahTCodes @joshcirre @aarondfrancis @jeffrey_way. Thank you 😊.
1
0
2
@SlyFireFox
Peter Fox
21 days
Proud to manage to get two bug fixes into this one πŸŽ‰. If you're not using Rector, check it out.
@VotrubaT
Tomas Votruba
21 days
New @rectorphp 2.1 is here πŸŽ‰ πŸŽ‰ πŸŽ‰ . * 4 new rules for PHP 8.4 🐘 .* 2 new configuration options to enjoy gradual step-by-step upgrade without touching config πŸš€ .* a new typed collection set with 20 new rules for Doctrine 🧑 .* 30 bugfixes. and more. Thanks all contributors
Tweet media one
1
0
9
@SlyFireFox
Peter Fox
24 days
RT @nativephp: 🫡You. @LaraconUS . 🎟️ WIN a ticket to the conference. FREE to enter. Goodies for πŸ₯ˆ and πŸ₯‰ place too!. πŸ‘‰ .
0
107
0
@SlyFireFox
Peter Fox
24 days
Let's make PHP easy to deploy to production πŸš€.
@dunglas
KΓ©vin Dunglas
24 days
FrankenPHP gained 1,000 stars in one week and is now listed among the trending repositories on GitHub 🀩! Let's help it reach 10,000!
Tweet media one
0
0
21
@SlyFireFox
Peter Fox
26 days
You probably want to just have a timezone setting determined by the user but this is a good tip. Always best to store in UTC.
@a_libori_roch
Axel Libori Roch 🐘
27 days
πŸ“Œ Laravel tip:.Keep your app timezone and display timezone separate. This idea is from the @benholmen @laravelnews YouTube channel: store everything in UTC, display it in your preferred local timezone. Great for clarity and consistency!.#Laravel #PHP #Carbon
Tweet media one
0
0
5
@SlyFireFox
Peter Fox
28 days
I'll still use AI to do the grunt work myself. JSON to value objects or knocking together the prototype of a UI just makes too much sense to me πŸ€·β€β™‚οΈ. Save my energy for the complex work.
@JackEllis
Jack Ellis
28 days
I can’t do maths in my head anymore because I always use a calculator. This is also why I will never use AI to do my programming for me. Instead, I use it for research in the same way I’d use a search engine, just with more context and reasoning, so I still have to use my brain.
0
0
0
@SlyFireFox
Peter Fox
29 days
Great little tip for users of PHPStan who want to avoid duplicating lots of complex type hints in your doc tags.
@freekmurze
Freek Van der Herten πŸ”­
29 days
🌟 Typehinting Laravel validation rules using PHPStan's type aliases.
0
0
2