Short: Is there a way to generate a CSRF token in the controller (not in a view)? Long: I have a web...
I've got a model Foo with fillable set, and a request that's been validated, so in my controller I'd...
I'm using a form request for validation and I need to access the errors message bag in the controlle...
I have a simple one-to-many relationship, like order to line items. I'm building a search form where...
I need to build a model that executes a query like: select * from foo right join foo_pivot on foo_pi...
I found this works, though there may be a better way Request::session()->get('errors');
This is the solution I've come up with so far, but I don't really like it $field = Input::get('field...
I'm not sure. I've been thinking about this. I kind of feel like it's the routers job to be tightly...
I'm learning Laravel and I may be bringing in concepts from other MVCs. I prefer to have loose coupl...
I have this working, but it's really ugly and I feel like there's got to be a better way to do this....
The Laravel portal for problem solving, knowledge sharing and community building.
The community