Hello, I am trying to inject an attribute on my construtor to avoid to redeclare it on every method...
If I write this for example: class MyController { private $test; public function __construct(Interfa...
Let me set the scene, so to speak. I have an "Item" class which has different food items (...
Hello, Today I ran into a problem which I could not solve. I am developing at the moment some differ...
i have created a class as follows class CommonContainer { public $value1; public $value2; private st...
I'm a long time old school procedural programmer, slowly (at my age, everything is slow) getting my...
Hello, I am adding a command from a package like so -- $this->app->bind('stats::command.st...
Hello, I'm getting a need for use several classes in my application and If I have a single interface...
I have the following problem in my laravel 5 project. I have a service provider for form macros name...
This is driving me bonkers because it seems I'm the only person with this problem. I have a UserMess...
Using Laravel 5.0, we develop locally using Homestead and everything works fine. When we deploy the...
Hello, where can I place code (Laravel 5.1) that has to be executed after the App\Providers\AppServi...
Hey all, I'm having a really odd issue with a package I just wrote. I've been banging my head agains...
One team I'm on right now is in the process of building a massive application on Laravel. As we've a...
Hi I have developed a package for L4. This package is make be easy to CRUD ORM proccess for multi l...
How can i use controller method in scheduling rather than command?
demo Table: name | passport_date | visa_date when i using in Eloquent: $latestPassport = Demo::order...
I am Pretty new to the repository thing and don't do a lot of dependency injection.Now am having thi...
Can someone help me as to why the code bellow does not work. I created a ServicePrvoider which runs,...
I´m working on a small Web-Application which will be having a private messaging system. While a user...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community