Abrar Ahmad (@abrardev99) 's Twitter Profile
Abrar Ahmad

@abrardev99

Full stack engineer (PHP/Laravel) | Writing about Laravel at dev.to/abrardev99

ID: 1171075628415819776

linkhttp://abrar.pro calendar_today09-09-2019 14:59:35

1,1K Tweet

293 Followers

817 Following

Ralph J. Smit ⚡️ (@ralphjsmit) 's Twitter Profile Photo

Interesting PHP thing I learned recently: what if you want to trigger a continue in *multiple* foreaches? I first tried `continue; continue;` which (obviously) didn’t work—then learned you can pass a number as `{level}`, telling PHP how many loops to continue.

Interesting PHP thing I learned recently: what if you want to trigger a continue in *multiple* foreaches?

I first tried `continue; continue;` which (obviously) didn’t work—then learned you can pass a number as `{level}`, telling PHP how many loops to continue.
Povilas Korop | Laravel Courses Creator & Youtuber (@povilaskorop) 's Twitter Profile Photo

Currently re-shooting VIDEO version of my Filament 🦒 course. Re-discovering how elegant it is. Example: auto-set icons/colors in the table with PHP Enum and Filament traits like `HasIcon` or `HasColor`. Find more in the docs: filamentphp.com/docs/3.x/suppo…

Currently re-shooting VIDEO version of my <a href="/filamentphp/">Filament 🦒</a> course.

Re-discovering how elegant it is.

Example: auto-set icons/colors in the table with PHP Enum and Filament traits like `HasIcon` or `HasColor`.

Find more in the docs: filamentphp.com/docs/3.x/suppo…
Steve Bauman (@ste_bau) 's Twitter Profile Photo

If you have a large application with hundreds of routes and need to separate them into files, consider adding a Route::directory mixin to auto-register all route files in a given directory so you don't need to require them all manually

If you have a large application with hundreds of routes and need to separate them into files, consider adding a Route::directory mixin to auto-register all route files in a given directory so you don't need to require them all manually
Steve Bauman (@ste_bau) 's Twitter Profile Photo

Sometimes you may need to send notifiables to people who are not actually users in the application To help with this, consider adding a Guest class that uses RoutesNotifications which unifies the "guest" user information that your application needs to notify

Sometimes you may need to send notifiables to people who are not actually users in the application

To help with this, consider adding a Guest class that uses RoutesNotifications which unifies the "guest" user information that your application needs to notify
Liam Hammett (@liamhammett) 's Twitter Profile Photo

🔥 You can just nest a match block in #php if you need a bit more specificity for a group of matches! It's neat, clean, and so readable

🔥 You can just nest a match block in #php if you need a bit more specificity for a group of matches!

It's neat, clean, and so readable
Michael Dyrynda (@michaeldyrynda) 's Twitter Profile Photo

I touched on it on the last Laravel News podcast, but thought it warranted further explanation. Here's how I go about testing queued jobs have been dispatched as expected, and how I avoid lose my mind chasing down failures

ARCHTECH (@archtechx) 's Twitter Profile Photo

🤯 Tenancy v4 will launch with 24 different SaaS boilerplate setups That is any combination of: - Jetstream with teams, Jetstream without teams, new Laravel 12 starter kits - Domain identification / Path identification - Livewire / Inertia + Vue - Multi-database / PostgreSQL RLS

ARCHTECH (@archtechx) 's Twitter Profile Photo

🦀 The neat thing is how we've implemented this. Maintaining 24 repos would be impossible, so instead we have a custom tool written in Rust for generating these setups Each generated setup has a clean git history and is automatically tested after being built Here's how we keep

🦀 The neat thing is how we've implemented this. Maintaining 24 repos would be impossible, so instead we have a custom tool written in Rust for generating these setups

Each generated setup has a clean git history and is automatically tested after being built

Here's how we keep
Ryan Chandler (@ryangjchandler) 's Twitter Profile Photo

🧵 New to writing tests for your Laravel routes & controllers and not sure what you should be testing? Here's a good set of default tests, a blueprint if you like, that you can start using straight away.

Marcel Pociot 🧪 (@marcelpociot) 's Twitter Profile Photo

I've been working on a really cool Laravel Herd companion extension for VSCode and PHPStorm 🔥 In combination with Herd's dump interception, you will get inline dump/dd output - right where you add the dump calls 🤯

I've been working on a really cool <a href="/laravelphp/">Laravel</a> Herd companion extension for VSCode and PHPStorm 🔥

In combination with Herd's dump interception, you will get inline dump/dd output - right where you add the dump calls 🤯
Kevin McKee (@iamkevinmckee) 's Twitter Profile Photo

So my company has been going crazy these last few months. Soon we will be launching one open source plugin and two premium plugins for the Filament ecosystem. More information to come, but these are things I think almost every Filament could use.

Lukas Frey (@_lukasfrey) 's Twitter Profile Photo

Quick Filament 🦒 v4 tip 💛🚀 There are a lot of undocumented hidden gems to be found in filament. For example, did you know there is a OneTimeCode input that you can freely use however you like? Just to demonstrate the input field easily, here we use it to confirm an