Support the ongoing development of Laravel.io →
nkiermaier

nkiermaier

Joined 11 Sep 2014

Statistics

Threads 7
Replies 3
Solutions 0
Articles 0

Create a Factory without a model?

I want to define a factory for a post from the front end. There's no model for it. How do I make a f...

Likes Replies

Making a service provider but want to inject the Database service into it

So Ive learned how to make simple service providers that call a helper method from a helper folder....

Likes Replies

Keep getting Class not found when trying to extend a class from another class?

app/Helpers Animal.php Girrafe.php class Girrafe extends Animal{.... Error: FatalErrorException in...

Likes Replies

How to namespace a folder?

So I moved my models from the App folder to a Models subfolder and now any time I want to use a mode...

Likes Replies

Best practice for how to handle variable number of controller parameters?

If I have a route in routes.php that routes to a controller method and there's a variable number of...

Likes Replies
4 years ago

Making a service provider but want to inject the Database service into it

According to the docs this seems like it should work? https://laravel.com/docs/5.4/providers . (see...

0 Likes
4 years ago

Keep getting Class not found when trying to extend a class from another class?

Sorry you have to capitalize the App for the namespace. Derp.

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.