Answer the question
In order to leave comments, you need to log in
Where to put duplicate code in a Laravel project used in middleware?
Hello.
Inside some middleware projects there are checks that are called with different parameters depending on the middleware. It would be great to put these checks into separate functions in some files. In what files is it better to put these functions? What directory should the files with these functions be in?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question