Use a view instead of a complex Eloquent query in your Laravel application
– tray2.se - submitted by Patrik Ahlström
What is a database view, and how can we use it to make our code cleaner?
Read more [tray2.se]
In this section you'll find links submitted by others.
Did you write or stumbled across a blog post, tutorial or video that might be interesting for others?
To be able to submit a link you need to log in first.
Log in– tray2.se - submitted by Patrik Ahlström
What is a database view, and how can we use it to make our code cleaner?
Read more [tray2.se]
– tray2.se - submitted by Patrik Ahlström
Have you ever had a huge list of values that the users needs to scroll through to get to the item they wanted, you know the classic `Country` dropdown, and for me who lives in Sweden will have to scroll through a load of countries to get to the desired one.
Read more [tray2.se]
– rocketee.rs - submitted by Mark van Eijk
By default Laravel adds cookies to the response of your app. Sometimes you don't want Laravel to use any cookies, just because it doesn't need them, to improve caching or show your users your not storing any information about them - privacy wise.
Read more [rocketee.rs]
– youtu.be - submitted by Andrew Schmelyun
A quick 8-minute video detailing some of the similarities (and differences) between two popular Laravel authentication packages.
Read more [youtu.be]
– baspa.dev - submitted by Bas van Dinther
An explanation on how I built the PHP package. This is one of the first packages I created and it might be useful to read when you just start.
Read more [baspa.dev]
– github.com - submitted by Peter
KPHP is a PHP compiler. It compiles a limited subset of PHP to a native binary running faster than PHP.
Read more [github.com]
– laravel-upgrade-helper.github.io - submitted by Semih Erdogan
Hey, We have open sourced our upgrade helper project to easily view changes between laravel versions. Hope that this project helps community for upgrade their projects
Read more [laravel-upgrade-helper.github.io]
– sinnbeck.dev - submitted by René Sinnbeck
Setting up rate limiting on routes and then testing them might seem hard but it's actually not
Read more [sinnbeck.dev]
– protone.media - submitted by Pascal Baljet
Splade provides a super easy way to build Single Page Applications (SPA) using standard Laravel Blade templates, enhanced with renderless Vue 3 components. In essence, you can write your app using the simplicity of Blade, and besides that magic SPA-feeling, you can sparkle it to make it interactive. All without ever leaving Blade.
Read more [protone.media]
– tray2.se - submitted by Patrik Ahlström
A few days ago a user at the Laracasts forum had performance issue with one of his queries that used joins. This post here will explain what the issue probably was and how to speed that up.
Read more [tray2.se]
– youtu.be - submitted by Ashish Dhamala
Here, we will be looking at a very useful laravel/mysql tip where we will learn how to make a column unique along with soft delete.
Read more [youtu.be]
– github.com - submitted by Mark van Eijk
A Laravel package to dynamically generate Open Graph images using your favourite front-end stack. This way you can create images using an HTML template, with Tailwind and custom fonts. It works by leveraging Puppeteer (headless Chrome) that takes a visual screenshot of your HTML.
Read more [github.com]
– mailtrap.io - submitted by Sofia Tarhonska
A detailed guide on how to send emails via Node.js with or without Nodemailer and SMTP. Learn how to send dynamic HTML emails and sending with Gmail.
Read more [mailtrap.io]
– benjamincrozat.com - submitted by Benjamin Crozat
When in doubt, clear caches in Laravel. Knowing all the different types of caches will help you debug any problem you might have in your projects.
Read more [benjamincrozat.com]
– benjamincrozat.com - submitted by Benjamin Crozat
You heard about Laravel but don't know where to start? Don't worry, you found the best starting point for your journey.
Read more [benjamincrozat.com]
– mailtrap.io - submitted by Sofia Tarhonska
Dealing with HTML email building that has CSS in it can be tricky. This article by Mailtrap goes over the most important principles of using CSS in emails as well as showcases examples.
Read more [mailtrap.io]
– www.iankumu.com - submitted by Ian Kumu
A guide on how to upload files in Laravel using reusable traits and compression package
Read more [www.iankumu.com]
– sinnbeck.dev - submitted by René Sinnbeck
Get Vite to work with Lando with both http and https sites
Read more [sinnbeck.dev]
– ralphjsmit.com - submitted by Ralph J. Smit
In this tutorial I'll show you how to use event listeners to stop outgoing emails just before they're sent.
Read more [ralphjsmit.com]
– youtu.be - submitted by Ashish Dhamala
Here, we will be looking at a hidden trait that is present in Laravel and its name is ForwardsCalls. It allows you to forward a method call to another object with just a simple method.
Read more [youtu.be]