Support the ongoing development of Laravel.io →

297 Threads

Pagination override behavior to provide an specific json output

Hi everyone, I need some help to accomplish my goal, I have a legacy frontend app and i need to chan...

0 Likes 0 Replies

Can't run Artisan in lumen.

On a fresh install of lumen, when I try to run anything in Artisan, I get this error message: [Error...

0 Likes 1 Replies
posted 8 years ago

Laravel 5 Form Macros

With the changes to Laravel 5 directory structure and service providers changes, where is the ideal...

0 Likes 4 Replies

iOC resolving

HI, Ive got a system that Im building for a advertising company and they sell advertising a Medical...

0 Likes 0 Replies
posted 7 years ago

Repository Pattern and Class - Interface binding

Hello all; I've been using this pattern for a long time but there is just a little point that I coul...

0 Likes 2 Replies

Laravel5 CRUD Generator

Hello listener, I've just developed a CRUD generator for laravel5 though there are so many generator...

0 Likes 2 Replies

Log does not work in Lumen?

I got this problem with lumen/framework, the log doesn't work. I try to post the issue in github but...

0 Likes 2 Replies
posted 7 years ago

Caching Dependency Injection Container

What's your idea on caching heavy calculations of IoC Container into a file or a php config? Special...

0 Likes 0 Replies

Lumen Routes List Artisan Command

Hello, If you are want to display all registered route list same as laravel framework then you can u...

0 Likes 0 Replies

Lumen: adding a service that uses static methods (Bigcommerce API)

Hi all, I'm new to Lumen and Laravel, sorry if I'm missing something obvious! I'm working on a small...

0 Likes 0 Replies

Fetch data from 3 tables with Eloquent Relations

I have three tables namely users auctions bids bids table has foreign key to users table and auction...

0 Likes 1 Replies

L [5] : Use Eloquent model Globally without using namespace

I want the Eloquent model in app ->Models ->users.php and in every file i h...

0 Likes 4 Replies

Route::post does not execute method call anymore

I'm wondering what is the difference between: Route::post('insert/{slug}/{page_number}/{person_type_...

0 Likes 0 Replies

Extend command bus

Hi, I want to extend the command bus, just say I want to add a new function "Send($aggregate_id...

0 Likes 1 Replies

Injecting Config (for testable classes)

I'm just starting out with phpspec, trying to test my Image class which uses the Config facade. This...

0 Likes 2 Replies

What's the best test-friendly method to use Cache in models?

Hi, I've been looking at Cache docs: http://laravel.com/docs/5.0/cache I want to use Cache in my mod...

0 Likes 0 Replies

Aliasing not working

I have a controller that does this public function index() { Redirect::to('www.laravel.io'); } Retur...

0 Likes 1 Replies
posted 7 years ago

IoC not working properly when fetching data

Hi guys I'm trying to inject the validator class into my models // app/Model/Model.php <?php name...

0 Likes 0 Replies

Artisan Optimize Creates Fatal Class 'Controller' Not Found Error

Whenever I attempt to run php artisan optimize, when I visit my website, I get an error in my Apache...

0 Likes 2 Replies
posted 7 years ago

Service Provider/Container: Abstract Factory

hey guys, i'm coming from zf2. Beside a huge more complexity there was one feature i really liked: A...

0 Likes 9 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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

Your logo here?

Laravel.io

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

© 2022 Laravel.io - All rights reserved.