Laravel Pro Tips
#blade #components
Laravel Tip π‘ Use Blade components to re-use HTML elements and make them dynamic with component properties. For example, add tooltips to your form labels π
Philo Hermans
#cache #tags
π₯ #Laravel Tip: Got lots of cached items that belong to a resource e.g. a user? Deleting them all can be pain, but not if you group them using a tag. All you need to do then, is simply delete the tag.
Matt Kingshott
#requests #http
π₯ #Laravel Tip: Need to make more than one HTTP request e.g. to one or more sites? You might think about running them concurrently to improve performance. The HTTP client's 'pool' method makes this a trivial exercise.
#responses #redirects
#Laravel tip: Sometimes, you'll want to redirect to a certain URL when specified and fallback to the previous URL otherwise. You can use the `url()->previous()` method to keep your code concise π
Luke Downing
#mailables #queues
#Laravel Tip π₯ You can delay the delivery of queued email using later() method #laravelframwork
Sanjit Singh
#scheduler #jobs
π₯ #Laravel Tip: The task scheduler is not limited to just commands. You can configure it to dispatch jobs and even execute shell scripts at regular intervals.
#models #select
πΆοΈ #Laravel tip: You can select the columns to run when using the Model::all() method. No need for an additional select() method. A tiny tip to always keep in mind π‘ #PHP #Developers
Bilal Haidar - Available 4 Laravel gigs
#eloquent #models
When calling Eloquent's Model::all() or Model::get() you can specify which columns to load πββοΈ
Daniel Eckermann
#migrations
π₯ Epic Laravel Tip - Did you know that you don't necessarily have to use underscores for migrations names?
Marian Pop πΊπ¦ Laravel Magazine