After some interest in the Laravel subreddit, I've decided to run a refactoring exercise a few times...
The simplest way would be to create a "lib" directory in your app folder and add the class...
Why not just call it "Settings" or "AppSettings" or something similar?
Depending on the complexity of your functionality, this might not be as difficult as it first appear...
Store the pagination number in the query string, session or as a user setting of some kind and the...
XoneFobic said: @thepsion5, out of curiosity. If it all hits the same model and therefore the same...
The Laravel portal for problem solving, knowledge sharing and community building.