Support the ongoing development of Laravel.io →

Erik Sanchez

Joined 24 Jun 2017

Statistics

Threads 0
Replies 1
Solutions 0
Articles 0

eriksape has not posted any threads yet

replied 7 years ago

Is there a way to run a controller method before all other methods?

I think you should look for middleware instead. https://laravel.com/docs/5.4/middleware

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.