Learn web and mobile development, programming guides and tutorials on VueJS, NuxtJs, Laravel Framework, TailwindCSS and Flutter

Joined January 2021
Shipped Tailwind CSS v4.0-alpha.10 today, which now uses CSS variables for each utility by default ✨ Makes theming a breeze 🎨
39
88
11
1,274
90,196
A super simple Eloquent trait for tracking metrics on any of your Laravel models You could add "day" to the schema if you wanted more granularity of course
6
31
200
17,197
🚀 We just released a mini-package called spatie/holidays that can calculate all public holidays for a country. Right now Belgium, Netherlands and Hungary are supported, but we’re welcoming PRs for other countries. #php
26
64
4
492
38,575
We've integrated the code behind @staudenmeir's "eager load limit" package into Laravel 11. That means in Laravel 11 this will actually work... retrieving users while eager loading only 5 posts per user... ❤️ Thanks @staudenmeir!
39
117
11
1,152
59,218
✨ New screencast series: BUILDING DATA TABLES AND A TON MORE RELATED STUFF IN LIVEWIRE AHHH What's in it? Welp, here's the entire course condensed into a few minutes while I play with my deluge in the background 😎
41
42
4
364
36,000
Here are my favorite 16 Laravel packages📦 I would immediately DIE without them! 🧵Keep Reading
12
113
4
516
52,878
✨ Probably my favorite new Livewire feature shipped today: @ assets and @ script - assets only load once per page - scripts run for every component - scripts have access to "$wire" - no need for "document.addEventListener" anymore - all this works with lazy loaded components Docs here: livewire.laravel.com/docs/ja…
24
53
4
394
56,814
Using Algolia search on a docs site enables such a valuable feedback loop. This morning, when I saw this email I: - searched "alpine" on the Livewire docs - saw there's no "central place" to learn about using Alpine with Livewire. - wrote a new page called "Alpine" I then rinse/repeated for a few other searches and added some more docs to make the experience better. Such an awesome way to know what users are looking for and sort by popularity of search
4
8
1
120
21,301
⚒️ Me and @keithdamiani are breaking ground on a new project: Livewire UI All the UI components you need in your app - built with ❤️ More to come 👀
45
35
8
736
63,029
🎄 Check this outttt I want to make sure my sites are "accessible" but I really suck at testing things in screen readers and such Devtools to the rescue baby 💪
13
45
4
318
29,141
Here's the code for those "god rays" I’ve been sharing! codepen.io/TWilson/pen/jOdWq…
16
44
3
654
80,670
CSS Tip! 🤙 Use custom properties to work out the nested radius of elements for you 😎 .parent { --nested-radius: calc(var(--radius) - var(--padding)); } .nested { border-radius: var(--nested-radius); } Couldn't resist making an interactive visual! @CodePen link below 👇
quick tip for nested radii → your corners will look a lot better if you set the outer radius to the sum of the inner radius + padding
39
812
55
5,001
795,789
Useful trick if you ever need to use inline styles because a value is coming from the database or something but also need to change those styles on hover or similar — Use those values to set CSS variables using inline styles, then use arbitrary values to read the variables 🧠
28
107
6
1,239
162,496
Here's the source... gist.github.com/calebporzio/… Enjoy!
7
9
81
8,678
Replying to @benjamincrozat
Very interesting approach, Benjamin! Out of curiosity, have you considered having the tests just below the code itself? Something like this:
11
2
3
49
⚡️ Additionally, you can even specify which font service is used to fetch your fonts! All in PHP. We will support Google Fonts, Bunny Fonts, local fonts... and a new plugin for @spatie_be's laravel-google-fonts package - which caches Google fonts locally!
Filament v3 allows you to configure a custom font by just passing its name. 🔥 Great ideas pop up on weekend calls with @awcodes1 and @danjharrin. 😎
7
8
3
57
I'm afraid to even share this 😂 but playing around with ideas for what it might look like to do more of your Tailwind customization/configuration/extensions directly in CSS instead of in JS. Left is what you do now, right is an idea of doing the same thing in "CSS":
45
18
4
491
By default, @laravelphp uses auto-incrementing integers as your Eloquent model's primary keys. Yet, since Laravel v9.30, you may choose to use UUIDs instead by simply using the "HasUuids" trait. 💎
33
122
8
677
I wanted a way to make simple command-line apps with the exact experience of a Laravel app, just without the whole app... Pretty fun 🤡
8
15
198