Learn Redis Through Examples
You've probably known for a while now that Redis is a thing. But, like so many others, maybe you've had trouble understanding exactly when you would reach for a key-value database like this. What's wrong with just using MySQL for everything, right? Well, as you'll find, there are a number of situations when Redis emerges as the best possible tool for the job. In this series, you'll work through a number of examples to get up and running with Laravel and Redis as quickly as possible.
Series episodes
Installation and a Visitor Counter
4m 39sGet Redis installed and learn basic Laravel integration with a simple visitor counter example. Start mastering Redis for your projects today!
Counters and Namespacing
6m 40sLearn how to manage counters like followers or downloads with Redis, while mastering key namespacing for clean, efficient data handling.
Trending Articles with Sorted Sets
19m 7sDiscover Redis sorted sets to easily rank and sort items like leaderboards or trending articles with just a few lines of code. Get started now!
Hashes and Caching
11m 24sExplore Redis hashes, the perfect key-value store like PHP arrays. Plus, see how Laravel’s Cache integrates for efficient caching in this clear tutorial!
Caching With Redis
14mUnlock Redis caching for queries, API calls, and HTML. Build a custom remember function and master Laravel’s Cache component with ease!
How to Structure Your Caching Layer
8m 38sMaster caching in PHP by structuring your layer for flexibility. Learn to clean up code and toggle caching easily with practical techniques!
Fetch In Progress Articles
10m 8sLearn how to fetch in-progress articles efficiently using Redis for faster, practical tracking—boost your site's performance with this simple workflow!




