Migrating from plain php code to Laravel I'm wondering where to put some pages.
For example I had a php page (~160 lines) I want to use which generates a pdf. Where should I put it's code?
I started to do it in a route but it's getting messy. I could think of a dedicated controller but I don't think it appropriate either. What would be the best practice?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2DD9eei
via IFTTT
Aucun commentaire:
Enregistrer un commentaire