I told y’all I was working on a video series, and it’s finally here!
Check out my course at Laracasts to learn all about how Valet (& Herd) works, for you as a user & also underneath the hood.
It’s a great intro to Valet but I made sure to cover lots for experienced users too!
Our latest CreatorSeries is now live at Laracasts!
Join
@stauffermatt
as he reviews the intricacies of Laravel Valet, and how the magic works under the hood.
Big follower count != good programmer
Conference speaker != good programmer
Big words != good programmer
Blogger/author != good programmer
Brand ™ != good programmer
Being Old != good programmer
Being Young != good programmer
⏰PHP devs! Today's the 30th day in a month when the prev month has 28 days. Have you checked your `$carbon->subMonths(1)` calls lately? They might not be doing what you expect.
🔥Carbon Tip: subMonths overflows "February 30th" so you end up w/March 2. Use subMonthsNoOverflow!
I've spent every evening for the last week reviewing & re-working a huge
@laravelphp
Valet pull request that adds a really cool feature:
You'll be able to "isolate" any given site to be served by a specific version of PHP, regardless of Valet's global PHP version. Coming soon!
I spent the last week writing 4,285 words about getting your *perfect* office webcam, lights, and audio set up, whether you're a remote worker, podcaster, streamer, or YouTuber. Check it out, and let me know what I missed!
After some code review talking about “Logout” vs “Log out” I realized I’ve always just had to go w/my gut, but never had a strong rule for “Login”, “Logout”, “Signup”, and other often-buttoned-compound words. But no longer!
Short answer: in UI elements, use 2 words almost always
Today I learned macOS has a built-in bulk file renamer (!!); just select all the files, right click, “Rename”, and then describe the modification pattern. 🖥🤖💥
My son is starting kindergarten next week.
He also had his first active shooter training at school next week.
So much joy and excitement mixed with so much ... awfulness.
One of my favorite patterns I learned from
@laravelphp
is helpers where, if you pass the key, you get the value back for that key, but if you pass an associative array, it writes the key/value instead. And if you pass nothing, you get the backing service. So clean & efficient! 🤖
I saw a ton of potential in web3 tech, so I dug into it deeply last year. My goal was to build tools, write tutorials, and make it accessible for all devs.
My outcome? Complete web3 burnout. Unnecessary complexity, little to no practical value, extraordinarily toxic culture. 🤮
Crypto is 13 years old.
13 years into the web, 59% of Americans used it.
13 years after the iPhone, 81% of American had a smart phone.
13 years into crypto, and nobody uses it beyond speculation and ransomware.
This is very, very clever.
It’s a web-based builder that gives you a really clean syntax to quickly scaffold migrations, controllers, etc. for your models in a new
@laravelphp
project:
🌶️ PHP opinion:
Most interfaces in PHP code are completely useless, and actually just add unnecessary complication that makes the code harder to understand, especially for newcomers.
#yagni
Just heard my book was sent to the printers Monday! WOO!
Ebook will be ready by next Monday, & print books complete in “about 15 working days”, or by April 19, I believe.
Amazon ebook/print preorders:
I’ll share Google/iTunes links as soon as I have em.
I’ve been living in a temporary place for the last few years, since my divorce. Every spare cent I’ve earned, every bonus, every dollar I’ve made vía speaking & side gigs, has gone toward my “down payment” account.
Movers come Monday to take our furniture to the new place. 🎉🙌🏻
My life is a bit of a tornado right now. If you pray please pray for me. If you send energy vibes please do. If you burn sage burn some for me. Lol. If you pour one out, do so for my sanity. :)
Streams are gonna be at odd times for a few weeks; hopefully everything else persists
Working with a friend to refactor some code that’s slow because his database query ended up populating 10k+ Eloquent records only to just need a single property from each.
Pro tip that saved us: Use getQuery() before calling get() to turn Eloquent calls into query builder calls.
I am so happy to share that
@laravelphp
Valet v4 is released!
You can see the (very short) upgrade guide here:
Things you'll get:
- Share with Expose
- Upgraded & Brew-managed ngrok
- New "status" command
- Much more stable, re-written internals!
Because a bunch of people last used PHP in 2002, and have assumed it hasn't changed since then.
Then a bunch of other people swallowed those opinions uncritically.
🤷🏻♂️
I wrote 2 blog posts today (and I’m starting a third; all publishing next week).
I bought 4 domains last week.
I scheduled 2 podcast interviews for the next 2 weeks.
I started & launched a mildly-useful internal app this week.
My children ended each night clean & fed.
I AM BACK
🔥 Did you know you could hide a bunch of content in GitHub comments using the <details> & <summary> HTML elements?
Perfect for pasting debug information or logs.
<details>
<summary>Short text here</summary>
Remainder of your content here
</details>
HT
@sara_bine
Did you know GitHub has a "diff" syntax for Markdown code blocks? I often forget, and then re-remember it, and it's a little joy each time.
(I can't say for sure but I'm pretty sure I originally learned this from
@adamwathan
so I'm just gonna give him credit)
I was going to be a zombie for Halloween this year but I told my four year old daughter a few days ago and she said it would be too scary.
So, I went on Amazon to figure out what could be ordered cheaply & delivered quickly.
Turns out, this fabulosity could. 😍
If your Mac is all of a sudden completely useless today, it's because it's connecting to an Apple server to make sure your software is legit, and that server is completely bonked right now.
For non-technical folks, the simplest answer is to just get off the Internet for now.
Hey Apple users:
If you're now experiencing hangs launching apps on the Mac, I figured out the problem using Little Snitch.
It's trustd connecting to
Denying that connection fixes it, because OCSP is a soft failure.
(Disconnect internet also fixes.)
WOO! I just discovered that my book, Laravel: Up & Running (third edition), is now live on Amazon.
You can buy the Kindle edition now, or pre-order the print edition:
I'm happy to share that we launched a redesign today of Onramp, our free tool to help anyone become a Laravel programmer.
Thanks so much to
@nolveraa
for her incredible designs and
@_sugarCoded
for her diligent work coding it!
I really enjoyed re-making NovaPackages w/
@LaravelLivewire
& Alpine.js, and it’s already on Tailwind and Laravel, so it’s technically my first TALL stack app (term coined by
@adamwathan
). I really like it!
So, I made a fun site about it:
(Tailwind UI 😍)
Hey everyone! I have some great news. :)
The last few months at Tighten have been *incredible*, and it's led us to a position where we get to grow the team again!
We're hiring.... THREE programmers😳🎉
Job is live; applications due 5pm EDT Friday.
If you are developing in
@laravelphp
and you haven’t grokked Service Providers, I highly recommend you take 53 minutes of your day and watch my talk “Mastering the Illuminate Container” halfway down the page here:
If you don’t follow me on Instagram you may have not yet learned how deeply obsessed I am with this woman, so let me bring it out here too…
I have never met anyone like her and honestly feel like I’m getting away with something unfair to be with her.
#NationalGirlfriendDay
.
@dsheetz
and I are proud to announce that
@TightenCo
will be giving $5000 in grants to folks from traditionally underrepresented groups who would like to attend
@LaraconUS
but for whom money would be an issue.
Learn more:
Amazon just sent me an email letting me know I might be interested in the 2nd edition of my book.
In other news, turns out it’s now available for pre-order! Lol
WOO! I just discovered that my book, Laravel: Up & Running (third edition), is now live on Amazon.
You can buy the Kindle edition now, or pre-order the print edition:
A few exciting things in
@laravelphp
Valet v4:
- Pick Expose or Ngrok as your share tool
- Modernized codebase (PHP 8+) but you can still serve sites on PHP 7.1+, and even set your system PHP to 7.4 if needed
- Better debugging with `valet status` 🙌
- Tested AF, more stable
If you’re new to
@laravelphp
, you may not‘ve heard this yet, so I’ll say it again:
@LearningLaravel
is bad, across the board. Their site, book, & everything else they’ve ever done had been ripped off from other authors with no shame. Please support *any* other teachers over them
My 5-year-old son wanted to start his own podcast, which he named “Stauffers on Science”.
He wrote and performed a rap for the theme song (!!!) and will teach you one topic every week.
This is one of my favorite things ever.
If you think
@laravelphp
is *terrible*, check out this talk about why I think it's magical.
If you think it's *wonderful*, check out this talk about how I think we can make it even better.
If you don't know what to think about it... yep. Watch the talk.
This super exciting new feature is now officially released, as a part of Valet 3!
To update:
1. Update your global Valet constraint to "^3.0"
2. Run `composer global update laravel/valet`
3. Run `valet install`
4. Party On, Wayne!
I've spent every evening for the last week reviewing & re-working a huge
@laravelphp
Valet pull request that adds a really cool feature:
You'll be able to "isolate" any given site to be served by a specific version of PHP, regardless of Valet's global PHP version. Coming soon!
I’m tired of how overwhelming most financial topics can be—basic things like saving, investing, & retirement planning.
I took everything I’ve learned about the *first steps* to financial health & wrote it as simply as I can.
If it helps, RT for reach?
My slides from "Laravel in the Enterprise" are online!
You can also visit this site for links to related talks, articles, and books:
I'll post the video shortly as soon as I have it.
Jokes aside:
I'm incredibly excited to share I'm now
@TightenCo
CEO.
I have many new ideas, but the most exciting to me is: I'm opening us up to new types of business & engagements.
Have you considered working w/us in the past? I'd love to talk to you!
I just opened Twitter to share about my new role at
@TightenCo
and what I'm hoping to do with it...
...and it looks like "new CEO" is already trending? 13.4K tweets? About little old ME? You shouldn't have. 😊
If someone were learning PHP for the first time today (let’s say in order to get a job doing Laravel, or WordPress, or Magento, or Drupal) where would you send them to start? Videos? Books?
Trying to flesh out the resources on
I finished up my
@laravelphp
Nova writeup!
I’ll keep going back to it and adding new content as I learn more about Nova, and once it’s available I’ll be writing more Nova posts, but here’s a huge writeup on everything we know so far.
#laravel
#nova
I just saw a thread today of people who think PHP is dead and not good for making modern web applications.
If you think this, or you know people who think this, what do you think would be the best single step I could take to fight this idea?
A video? Blog post? Public art? lol
As the co-owner of a successful tech consultancy with 30 people on our team, which has run remotely since 2012, where employees are chastised if they work more than 40 hours a week, I can confidently say:
This is a garbage take.
@derickr
Hey!
I’ve been writing PHP since late 90’s & run a dev shop. I’m not an amateur but would love to
add Xdebug to my workflow! I’ve tried ~6 times & every time something breaks.
If you ever want a guinea pig who can turn into an evangelist if we can make set up easy, hit me up ❤️
I got many responses to my latest newsletter from folks who:
1. Didn't know that I have/experience depression & anxiety
2. Were grateful to have someone else to talk to, as they do also
A short thread about that, to make sure everyone hears it, not just newsletter folks.
(1/*)
Yesterday I accidentally deleted my terminal shell (zsh) and I suddenly couldn't open my terminal to even fix the problem I'd caused. I freaked out a bit.
Thankfully, I found an easy solution, so I made a little video showing how you can change your default shell on macOS.
So here's my current deal:
I'm spending all my free time building , a site to make it *as easy as possible* for folks to become hireable Laravel programmers.
I'm streaming it often on YT and Twitch, usually 11am Eastern Fridays.
A lot of our work as programmers is about mapping over (often poorly-) structured data.
Last week, I recorded a quick video about how I would handle a coding challenge in PHP, with and without Laravel's collections. Check it out!
Discovered a coffee shop just near my new office that has Turkish coffee and now I’ve imbibed enough caffeine to re-write all of our apps from scratch three times so I think I’m going to go do that and then maybe buy four domains and start six new projects and then run a marathon
.
@taylorotwell
just introduced Herd, a downloadable macOS app that bundles Valet & all its dependencies for the easiest installation story you could possibly imagine.
Don't worry, Valet's not going away! Herd is a layer on top of a Valet fork, and will soon be powered by Valet.
I’ve updated the final (for now) slide deck for my talk Laravel and the Enterprise. It wasn’t recorded, but I will be either giving it at other conferences or recording a version of my own to put online.
Just because someone has "senior" in front of their title, it doesn't actually guarantee anything about their seniority, level of experience, or competence.
Each company adds those labels for different reasons. A senior at one company might be, no joke, an intern elsewhere.
I was diagnosed w/ADHD a year ago, at age 35.
The diagnosis, & the self-understanding it's bringing, has changed my life. At first, I was scared to talk about it--"What if everyone stops thinking my fast-talking is funny and now just sees it as annoying?"
(short thread)
I was just called a "veteran programmer" and I laughed, thinking, "I'm just a baby."
So I thought.. when was the first time I was paid money to build a web site? 2002. When's the first time I built a web site? Some time in the mid-nineties.
Oh my God. I am old.
I haven’t been writing much
@vuejs
for the last year or two, but I’ve decided to get back into it and have my brilliant coworkers critique my code, then blog it.
First post in the “Refactoring Vue” series is live now!
Reminder: Empathy is a superpower.
Developers: your ability to empathize with the people around you is one of the most important tools in your arsenal as a developer.
My favorite talk I’ve ever given:
Have you ever wanted to build your own PHP package? Or to at least group your application's code in a package-like manner?
After a friend asked me about it earlier this week, I wrote up some really simple instructions on how you can do that in your apps.
Have trouble remembering the URLs to the dev/OAuth app management consoles for AWS, Google, Twitter, GitHub, etc? I do! So, I bought a short domain to make it easier to get to them:
Enjoy! PR on GitHub to add your favorites!
If you ever want to watch someone who’s been programming for over 20 years make a ton of mistakes to combat your imposter syndrome HAVE I GOT A STREAM FOR YOU
I love watching senior dev live-streaming. Because I can see with my own eyes that they don't know it all, they get confused by things too, they forget and mess up. Basically that all this is normal and as long as I keep going, I will be ok too.
I just want to publicly acknowledge that, while
@adamwathan
and
@taylorotwell
did a *beautiful* thing creating
@laravelphp
Valet,
@DrByteZC
is its daily sustaining force and is doing an *incredible* job. So grateful for this dude.
I've been working slowly on Laravel Valet v4 for the last few weeks. So far there are no new features, just a ton of internal code re-writing to make it much easier to maintain and extend.
But... while I'm at it... any feature or syntax requests?
.
@laravelphp
folks, did you know that Laravel has methods for converting a string to plural or to singular?
Str::plural('goose') === 'geese'
Str::singular('geese') === 'goose'
Str::plural('moose') !== 'meese'
Str::plural('moose') === 'moose'
👌🏻
I spilled water in my Macbook Pro and it totally crapped out. Just called terrified to learn how much it would cost and discovered I had put AppleCare on it and it's gonna cost me a total of $99+tax to fix it.
This has been my AppleCare testimony™
.
@laravelphp
peeps, this PR is amazing if you ever work with multiple jobs in a batch, which we do often at
@tightenco
.
Thank you
@taylorotwell
! This one is gonna get a lot of use.
📷"How to Get Started Live Streaming on Twitch & YouTube"✨
After a few weeks of work, I've got another mega post to walk you through all the steps it takes to live stream on Twitch, YouTube, or anywhere else!
Confused by anything else? Let me know!
😳 I just learned about github1s, which allows you to use VS Code in the browser to navigate GitHub repos; just add 1s after the GitHub domain.
So, to browse tighten/tlint, visit
This is... amazing. Hat tip to my older brother who's not even on Twitter.
I don't have anything to contribute that's worthwhile but I feel weird having only RT'ed & not said anything.
Black Lives Matter.
They always have. They always will. And as long as our country, White House resident, police, citizens don't acknowledge it, we have a big problem.