Code Explainers
Code explainers tagged #service-class
php
<?php namespace App\Services;
Building a cached daily leaderboard in Laravel
caching
aggregation
eager-loading
Intermediate
9 steps
php
<?php namespace App\Services;
A cached settings service in Laravel
caching
memoization
cache-invalidation
Intermediate
8 steps
php
<?php namespace App\Services;
Throttling login attempts in Laravel
rate-limiting
authentication
security
Intermediate
6 steps
php
<?php namespace App\Services;
Tagged cache invalidation in Laravel
caching
cache-tags
invalidation
Intermediate
5 steps
php
<?php namespace App\Services;
Placing an order atomically in Laravel
transactions
pessimistic-locking
concurrency
Advanced
8 steps
php
<?php namespace App\Services;
Resilient HTTP retries with Laravel's client
http-client
retry-logic
error-handling
Intermediate
7 steps
php
<?php namespace App\Services;
Caching tenant dashboard metrics in Laravel
caching
multi-tenancy
aggregation
Intermediate
7 steps