Laravel with dependencies