February 10, 2025

Rate Limiting Route

HTTP Rate Limiting Docs For Hoover I needed to rate limit how many requests could come into the Tractor sync and I found that Laravel has a nice way of handling this. They have a Rate Limiter class we can use. We define how many attempts can be performed within a specific timeframe. We can also define how by whom those requests

Set Connection

When dealing with a relationship that lives in another database under a different connection

return $this->setConnection('mysql')->hasOne(FolderPath::class, 'tree_id', 'TREE_ID');

Api Authentication middleware (WCV)

middleware('auth.api)


© 2025 Terrence Eisenhower. All rights reserved.