Hemp @ Laracon US Profile
Hemp @ Laracon US

@davidhemphill

11,549
Followers
430
Following
1,002
Media
13,323
Statuses

Creator of @PushSilver . Co-creator of @Laravelphp Nova, @TailwindCSS , and @ChipperCI .

Dallas, TX
Joined November 2006
Don't wanna be here? Send us removal request.
@davidhemphill
Hemp @ Laracon US
6 years
It’s pretty shitty that tech companies will drag folks through 4-6 weeks of interviewing, make them do code challenges and contracts, only to email something like, “Sorry we can’t move forward.” Offer something in return for the person’s time and emotional energy spent. 🤷‍♂️
87
280
1K
@davidhemphill
Hemp @ Laracon US
7 years
🤠 Found myself writing simple redirects a lot, so I wrapped it up in a macro:
Tweet media one
15
110
438
@davidhemphill
Hemp @ Laracon US
7 years
🔥 Go crazy with Blade directives. The simplest things can abstract away tons of visual noise from your templates.
Tweet media one
8
115
383
@davidhemphill
Hemp @ Laracon US
4 years
Remember that new project I teased a while back? 😈 Well, I'm now ready to show you what I've been working on for the past few months:
36
47
286
@davidhemphill
Hemp @ Laracon US
3 years
Been sitting on a nearly-done Laravel social network for several months. Just not sure if I'd have the time to care for it or if it would even be useful. Even got decently far on an iOS app for it...
Tweet media one
Tweet media two
44
8
285
@davidhemphill
Hemp @ Laracon US
2 years
Working on a Nova feature that allows you to add badges to menu items. Could be kind of useful...what do you think?
Tweet media one
24
9
273
@davidhemphill
Hemp @ Laracon US
5 months
Here's my dead-simple way of adding multi-tenancy to a Laravel application using the new "Context" feature. It uses a combination of middleware, global query scopes, observers, and context to handle single database tenancy.
Tweet media one
Tweet media two
22
25
257
@davidhemphill
Hemp @ Laracon US
4 years
🔥 I really want Laravel to have a `Str::markdown` method, but until that day comes, you can always add your own macro. 👍
Tweet media one
9
28
246
@davidhemphill
Hemp @ Laracon US
10 months
Which option looks the cleanest to your eyes?
Tweet media one
262
8
243
@davidhemphill
Hemp @ Laracon US
4 years
You're welcome. ;-)
@adamwathan
Adam Wathan
7 years
🔥 Trick I picked up from @davidhemphill , you can escape characters in your CSS to create more expressive class names:
Tweet media one
12
96
405
7
17
241
@davidhemphill
Hemp @ Laracon US
5 years
🚀 New post: Why Build X When Y Exists?: I see this come question come up just about every time a new take on an old idea is announced. Here's some good reasons.
25
64
233
@davidhemphill
Hemp @ Laracon US
8 months
Made something for fun the other day...another invoicing product! Say hello to , a dead-simple way to generate an invoice in PDF format. No account required. Here's an example:
Tweet media one
19
25
217
@davidhemphill
Hemp @ Laracon US
6 years
It seems like companies are just not incentivized to help rejected candidates. If a potential hire has 80% of what you need, you could tell them the 20% they could work on so they could reapply when they're more ready.
6
15
217
@davidhemphill
Hemp @ Laracon US
3 years
Nova's upcoming dark mode is looking kinda clean:
Tweet media one
26
18
205
@davidhemphill
Hemp @ Laracon US
2 years
🛠 Currently hacking on a new Laravel Nova feature allowing BelongsTo/MorphTo relation links to show a card when you hover over them. You could configure a small set of fields to show here. Useful?
Tweet media one
17
13
199
@davidhemphill
Hemp @ Laracon US
6 years
Generating PDFs with @vuejs components: I have a public invoice "print" view, styled with @tailwindcss , and served by a @vuejs SPA. I'm using spatie/browsershot to hit the page and generate a PDF download response of that public page:
Tweet media one
9
36
198
@davidhemphill
Hemp @ Laracon US
6 years
@chriscoyier My buddy @AndrewDelPrete has a whole series on low hanging perf fruit here: . Helped me a ton
3
13
186
@davidhemphill
Hemp @ Laracon US
5 years
Hotel room was sort of hard to find. 😐
Tweet media one
6
6
177
@davidhemphill
Hemp @ Laracon US
3 years
Set these two values on MacOS and instantly improve your life. A must-do on every new computer!
Tweet media one
10
25
179
@davidhemphill
Hemp @ Laracon US
3 years
Putting some finishing touches on the light/dark themes for the next Nova series. Bumped up the contrast a bit and tweaked some spacing, sizes, etc... Plus we've added a ton of improvements already including using full Tailwind along with JIT. Feels really nice to use! 😎
Tweet media one
13
16
178
@davidhemphill
Hemp @ Laracon US
4 years
Nova v3.7.0 has just been released and includes a new "Stack" field for more visual organization options!
Tweet media one
Tweet media two
11
18
176
@davidhemphill
Hemp @ Laracon US
5 years
🚀 Exploring an exciting new Nova feature this week...the ability to create relations inline:
15
15
173
@davidhemphill
Hemp @ Laracon US
5 years
The power of 'wip' is undeniable.
Tweet media one
11
12
171
@davidhemphill
Hemp @ Laracon US
6 years
Just learned that an input element with a type of "email" can take the boolean attribute "multiple", allowing for a comma-separated list of emails to be entered. 🔥
Tweet media one
8
67
170
@davidhemphill
Hemp @ Laracon US
7 years
Started working on some beta features for @pushsilver . Needed a way to opt some users in. Came up with this simple setup:
Tweet media one
2
21
175
@davidhemphill
Hemp @ Laracon US
5 years
🔥 Testing simple S3 uploads with randomized file names in Laravel? Use `Storage::fake` and real-time Facades. Handled.
Tweet media one
5
31
175
@davidhemphill
Hemp @ Laracon US
4 months
📺 By default, when using Laravel Jetstream, API tokens are only generated for users, even when it's configured with the team feature. On nearly every app I build, I prefer API tokens to be associated with the Team (like Stripe). So I thought I'd share a breakdown of how you can
7
31
174
@davidhemphill
Hemp @ Laracon US
2 years
Coming soon to a Nova near you...
Tweet media one
7
12
171
@davidhemphill
Hemp @ Laracon US
2 years
When I see people still trying to dunk on Laravel in 2022 I just lol. Who cares what you use? Just make it awesome. Me? I’m riding this artisan starship on the way to Andromeda collecting that Lambo money. Roll with us if you like. See you in the cosmos. Laravel forever. 🏄‍♂️
14
18
169
@davidhemphill
Hemp @ Laracon US
1 year
Sometimes, when I'm using Nova to manage Nova, I'm amazed at how beautiful and useful we've managed to make it. I really enjoy using it. 🏄‍♂️
Tweet media one
17
5
164
@davidhemphill
Hemp @ Laracon US
2 years
With the Nova v4 release close, I thought it'd be fun to go back and look at the prototype that would eventually become Laravel Nova...Beam. Spent a few months building out this proof of concept before @taylorotwell and I rewrote it from scratch over the next 6-7 months. 🏄‍♂️
Tweet media one
6
16
152
@davidhemphill
Hemp @ Laracon US
3 years
Not to overhype...but the new Nova looks *so* good and has so many killer new features. Can't wait to unload it on y'all.
9
11
151
@davidhemphill
Hemp @ Laracon US
2 years
👨‍🔬 We've been in the lab cooking up some 🔥 for Nova...
Tweet media one
Tweet media two
25
14
150
@davidhemphill
Hemp @ Laracon US
2 years
Out with the kiddos after a successful and smooth Nova v4 launch. Thanks to the Laravel community for all the Nova love. Appreciate the hell out of y’all. ❤️
Tweet media one
12
0
147
@davidhemphill
Hemp @ Laracon US
5 years
🔥It's easy to test your custom Nova actions using the built-in goodness of Laravel, despite what those haters @noplanstomerge say:
Tweet media one
13
13
142
@davidhemphill
Hemp @ Laracon US
5 years
My mom was trying to describe what I work on to a kid who wants to learn. She said, “I know it’s computers and he goes in from the back…” 😂
16
6
138
@davidhemphill
Hemp @ Laracon US
6 years
Can you customize Nova to use your logo and branding colors? Yes. 👨‍🚀
Tweet media one
11
27
135
@davidhemphill
Hemp @ Laracon US
4 months
There's lots of ways to skin this cat, but I'm curious: which of these two Laravel filtering strategies feels the cleanest to you? 🧐
Tweet media one
40
13
135
@davidhemphill
Hemp @ Laracon US
6 years
🔥 When using Laravel Dusk to test @stripe Elements integrations, sometimes Dusk will type faster than Elements can handle, so I use this little trick which adds a pause between each keystroke:
Tweet media one
3
20
134
@davidhemphill
Hemp @ Laracon US
6 years
@mbritton No one's whining. You're clearly out of touch with the job market. 4-6 weeks is *very* common for tech jobs. Maybe lose the self-righteous attitude when coming to a conversation about empathy.
2
1
132
@davidhemphill
Hemp @ Laracon US
5 years
🔥 @fideloper and I are creating the painless CI app for Laravel! We're calling it Chipper. Interested? Check it out:
7
31
130
@davidhemphill
Hemp @ Laracon US
5 years
🎅 My lady @tesshemphill has been making really cool Christmas ornaments and wanted to give the Laravel community a chance to hang one on the tree this year. So here we go…snag one to put your Laravel love on display and confuse your family members!
Tweet media one
10
22
127
@davidhemphill
Hemp @ Laracon US
1 year
So cool to be featured on the new Livewire website on !
Tweet media one
3
2
125
@davidhemphill
Hemp @ Laracon US
6 years
Maybe you need some Miami Ice? 🕶
Tweet media one
9
6
125
@davidhemphill
Hemp @ Laracon US
5 years
Beginning to think a majority of developers don't *actually* want development to be simpler.
18
12
121
@davidhemphill
Hemp @ Laracon US
5 years
🔪 Came up with a neat little Blade directive to output a CSS error class without needing a closing directive. It uses Tailwind's red border by default but also supports passing in a custom error class:
Tweet media one
7
21
122
@davidhemphill
Hemp @ Laracon US
5 years
If you don’t have your Dock set to auto-hide on MacOS, I know I can’t trust you.
9
9
122
@davidhemphill
Hemp @ Laracon US
3 years
LARAVEL FOREVER!
1
11
118
@davidhemphill
Hemp @ Laracon US
6 years
Soooo....we got out of the hospital today. Little man really showed improvement all last night and they set him free. 🎉
13
0
118
@davidhemphill
Hemp @ Laracon US
6 years
@velvetsemtex @steveschoger "We liked how you approached {{ problem }}. The top 3 candidates displayed a simpler/more-advanced/trendier use of {{ technology }}. In particular we were looking for some with {{ skillset }}." Basically any information at all would help a lot of folks.
0
4
120
@davidhemphill
Hemp @ Laracon US
4 years
Along with the release of Laravel 8, a fresh new Nova release it out. Includes L8 compatibility, a new field, and a bunch of other fixes and features. 👨‍🚀
Tweet media one
2
18
116
@davidhemphill
Hemp @ Laracon US
8 years
💡 Get real-life visual feedback on long PHPUnit test suites with a @thingm blink(1) status light.
3
33
117
@davidhemphill
Hemp @ Laracon US
2 years
I wanted to convert a backed enum's cases into an array suitable for use in a Nova select field. Created a simple little helper on the enum to return a simple array like `['nice_label' => 'Nice Label']`. 👍
Tweet media one
9
18
111
@davidhemphill
Hemp @ Laracon US
5 years
Answered some support emails. Wrote some code. Recorded a podcast. Feeling inspired. Good day to be wearing this shirt. 🤙
Tweet media one
2
6
115
@davidhemphill
Hemp @ Laracon US
7 years
Came up with this handy macro for working on front-end views without dedicated routes:
Tweet media one
2
23
108
@davidhemphill
Hemp @ Laracon US
4 years
🔥 Just pushed the first 2021 release of Laravel Nova v.3.19.0. Includes PHP 8 compatibility. 🧑‍🚀
Tweet media one
2
15
108
@davidhemphill
Hemp @ Laracon US
5 years
We're in the phase where we can now use @ChipperCi to build @ChipperCi and I think that's so cool.
Tweet media one
12
11
108
@davidhemphill
Hemp @ Laracon US
3 years
Man, y'all seemed to like that last Nova tweet! 😘 Will let you know more as progress continues. Today I'm working on some improvements to how cards/metrics are displayed among other things...
Tweet media one
5
10
106
@davidhemphill
Hemp @ Laracon US
4 years
🚀 Just released Laravel Nova v3.21.0. Now you can show custom modals after running actions. Also includes a bunch of nice fixes. And for the next few days, use coupon code "surprise-020221" to get 25% off your license purchase. 🤙
Tweet media one
6
19
104
@davidhemphill
Hemp @ Laracon US
2 years
🧑‍🚀 Needed a break from working on some complex Nova updates, so I built a Tag field for your BelongsToMany relations. Shipping soon! Any features you'd like to see for the Tag field?
Tweet media one
18
1
104
@davidhemphill
Hemp @ Laracon US
6 years
Alrighty friends, here's a video on customizing Nova's colors and logo:
4
29
103
@davidhemphill
Hemp @ Laracon US
2 years
🚀 Boom. Laravel Nova v4.6.0 has been released and includes support for searching relations more than one layer deep. 👨‍🚀
Tweet media one
1
18
100
@davidhemphill
Hemp @ Laracon US
2 years
🥱Hacked on some new Nova features before bed last night:
Tweet media one
Tweet media two
10
5
99
@davidhemphill
Hemp @ Laracon US
6 years
Anyone interested in a little screencast on customizing Nova's logo and colors?
16
2
103
@davidhemphill
Hemp @ Laracon US
2 years
🚀 Coming soon in Laravel Nova: action modals can now be shown in multiple sizes...including fullscreen! Perfect for really important actions or actions with large fields. 🧑‍🚀
Tweet media one
4
12
100
@davidhemphill
Hemp @ Laracon US
6 years
🎉 My crazy year, the development and launch of Nova, a new house, and more. Coming in at the last hour, here's my year in review: .
10
4
101
@davidhemphill
Hemp @ Laracon US
3 years
🛰Just launched Laravel Nova v3.31.0 into orbit. Highlights include PHP 8.1 and Laravel 9 support! Check it out:
Tweet media one
8
16
98
@davidhemphill
Hemp @ Laracon US
2 years
🔥 Hot tip: Nova can interact with 3rd-party APIs by using "Resource Hooks":
Tweet media one
4
11
99
@davidhemphill
Hemp @ Laracon US
4 years
Just merged pull request #1000 into Laravel Nova! Still so much to come...
2
3
94
@davidhemphill
Hemp @ Laracon US
4 years
Laravel Nova v3.15.0 has been released with LOTS of bug fixes and quality of life improvements. Big thanks to @crynobone for all the work he's been putting into these releases. 👨‍🚀 🚀
Tweet media one
5
18
95
@davidhemphill
Hemp @ Laracon US
5 years
Nothing like a clean start to the day. 👍
Tweet media one
15
2
94
@davidhemphill
Hemp @ Laracon US
1 year
Here’s a short little update on Laravel Nova… 🏄‍♂️
11
10
93
@davidhemphill
Hemp @ Laracon US
2 years
I wonder how many people create their own single-person businesses because they have undiagnosed ADHD and it’s the only working style that allows them to be productive and happy.
7
8
93
@davidhemphill
Hemp @ Laracon US
5 years
Ole @fideloper and I got tired of @ChipperCI feeling like a hobby project, so we decided to go whole-hog and form a new company. Just got word @atlas finished all that up. Everybody say hi to Internal Screaming LLC. 🚀
6
4
90
@davidhemphill
Hemp @ Laracon US
2 years
Man, if GitHub had an option preventing users with no avatars from creating issues and commenting on discussions, this would cut out 80% of the garbage maintainers have to deal with.
7
2
90
@davidhemphill
Hemp @ Laracon US
4 years
And we're back with another Laravel Nova release. v3.10.0 includes "standalone" actions, auto-refreshing resources, more debounce customization, and more! 👨‍🚀
Tweet media one
5
13
90
@davidhemphill
Hemp @ Laracon US
3 years
i wrote a regex and it worked the first time after 18 years of pro web dev
17
1
89
@davidhemphill
Hemp @ Laracon US
3 years
🧀👀
Tweet media one
5
2
88
@davidhemphill
Hemp @ Laracon US
1 year
🚀 Just released Laravel Nova v4.26.0! Includes a new "Repeater" field for creating and managing JSON and HasMany relationships in your resources. Read the docs here: Also includes other improvements and a bunch of bug fixes. 🧑‍🚀
Tweet media one
8
11
87
@davidhemphill
Hemp @ Laracon US
4 years
Laravel Nova v3.14.0 has been released! Includes new HasManyThrough and HasOneThrough fields, performance improvements, and some nice fixes. 🚀 👨‍🚀
Tweet media one
4
18
87
@davidhemphill
Hemp @ Laracon US
6 years
🔥 Been working on some nice updates to Nova's filters. A couple new built-in filter types are on the way, and you'll be able to create your own using custom @vuejs components.
3
12
86
@davidhemphill
Hemp @ Laracon US
4 years
🧑‍🚀 Just released a juicy Nova v.3.16.0 which includes a bunch of bug fixes. 😎
Tweet media one
2
8
85
@davidhemphill
Hemp @ Laracon US
3 years
🚀 Laravel Nova v3.23.0 is hot off the shelf with support for Laravel Octane! Also includes some big improvements for relations with pivot columns. 🧑‍🚀👩‍🚀
Tweet media one
5
17
87
@davidhemphill
Hemp @ Laracon US
5 years
Oldie but a goodie. Improve the reliability of testing @stripe Elements inside your @laravelphp Dusk tests.
@davidhemphill
Hemp @ Laracon US
6 years
🔥 When using Laravel Dusk to test @stripe Elements integrations, sometimes Dusk will type faster than Elements can handle, so I use this little trick which adds a pause between each keystroke:
Tweet media one
3
20
134
0
8
85
@davidhemphill
Hemp @ Laracon US
6 years
One of my favorite tricks for remembering to handle something or viewing something later is to snooze a browser tab for when it needs to get done using Tab Snooze:
3
15
85
@davidhemphill
Hemp @ Laracon US
11 months
Folks asking for Laracon to be cheaper are implicitly asking for the event to be shittier. Laracon US could've: - chosen a crappy hotel venue - picked an uninteresting city - had no open bars - had no catered lunches - had no afterparties - had no live entertainment - skimped
@taylorotwell
Taylor Otwell ☁️ 🦹
11 months
I don’t often dive into the specifics of business around Laravel, but feel a bit compelled to clear up one misconception because I see it keep popping back up. I have never made any money from an in-person Laracon. Not a single cent. 🤷‍♂️
42
18
472
27
2
80
@davidhemphill
Hemp @ Laracon US
2 years
🚀 Just released Laravel Nova v4.5.0 into the wild. Nova keeps getting more beautiful, functional, and stable with each release! 👨‍🚀
Tweet media one
6
9
85
@davidhemphill
Hemp @ Laracon US
6 years
Still hacking on some more Nova stuff. Was playing with the idea of an "advanced" filter. There are some overlap with the existing search input, but does this seem useful?
Tweet media one
11
4
83
@davidhemphill
Hemp @ Laracon US
2 years
🚀 Just released the source to our Nova Log Viewer tool. Install it to view your application logs or use the source as an example to create your own tool: 🖤
2
13
83
@davidhemphill
Hemp @ Laracon US
2 years
anytime i release something i always get nervous i left a "dd('Fuck!');" somewhere in the code
10
4
81
@davidhemphill
Hemp @ Laracon US
4 years
Yo, @TablePlus is the new GOAT for DB management. SequelPro had a good run, but can’t touch the multiple DB drivers, constant updates, and modern UI. 👌 Grab DBngin too for an even more powerful combo.
20
4
83
@davidhemphill
Hemp @ Laracon US
2 years
🚀 Just released Laravel Nova v4.8.0! Includes new menu helpers, conditional badges, improved metric date helpers and a bunch of other fixes and improvements. 👨‍🚀
Tweet media one
3
10
81
@davidhemphill
Hemp @ Laracon US
3 years
It's been a minute since I posted about Valet Lite... I decided to rewrite it in Swift in my free time. It's super fast as a result. Everything's running great on my M1 machines. Now to finalize packaging its library and implementing licensing flows.👍
Tweet media one
3
3
78
@davidhemphill
Hemp @ Laracon US
5 years
🚀 It's that time again. A hot new Laravel Nova release is waiting with some nice little fixes and a brand-new field:
Tweet media one
4
9
79
@davidhemphill
Hemp @ Laracon US
2 years
Added focus trapping to all of Nova's modals. Feels nice to implement little details like this. 👍
8
3
80
@davidhemphill
Hemp @ Laracon US
3 years
Also giving the Nova website a fresh coat of paint as we work towards the next series. 🤙 Lots of new stuff to talk about soon. 🏄‍♂️
Tweet media one
3
5
77
@davidhemphill
Hemp @ Laracon US
6 years
The HEMPHILL stack: HTML ECMASCRIPT MYSQL PHP HOSTED SERVICES INTERNET LARAVEL LOVE
3
3
80
@davidhemphill
Hemp @ Laracon US
7 years
🎉 It's live! Pretty stoked to launch the new @pushsilver and pricing:
4
31
78
@davidhemphill
Hemp @ Laracon US
2 years
Just pushed v4.1.0 of Nova out. Includes the theme toggle and a bunch of fixes. 🚀
Tweet media one
6
9
80