Support the ongoing development of Laravel.io →

388 Threads

Laravel Access Layout in service provider

this is my service provider code : <?php namespace App\Providers; use Illuminate\Support\Service...

0 Likes
1 Replies

How to use basic class to render partials, please help

Hi Folks, I have some eloquent code I use throughout my controller to render a view, rather than kee...

0 Likes
1 Replies

Register events in ServiceProvider on PSR-4

Hi! Im developing an application on Laravel 4 and I am trying to follow the PSR-4 Standard in order...

0 Likes
0 Replies

Same controller class for multiple routes

Hello! I there way to use one controller class but for different routes? I mean, one controller clas...

0 Likes
0 Replies

Laravel failed to mock Eloquent::save using Mockery for Controller testing

Hi guys, iv been struggling with this for hours and hours. I cant seem to get Mockery to work with t...

0 Likes
1 Replies

How and why to use the IoC container of Laravel

I've just written an article to shed some light on what the IoC container is and how to leverage it...

0 Likes
4 Replies

How disable ruting from package

Hi, I'd like overwrite some rules from package rules. When I change boot method in vendor directory...

0 Likes
0 Replies

Laravel5 - Custom Guard

So I'm using Laravel 5, and for a more complex authentication, I need to overload the method attempt...

0 Likes
0 Replies

Autoload Init some models classes ?

Hi, I've something I really not understand. I have several classes in my models folder. Each classes...

0 Likes
3 Replies
Solved

Stripe Payment

Can anyone give me a link to implement stripe payment in my project I have checked in laravel doc bu...

0 Likes
2 Replies
posted 9 years ago

Response not Bound on Container

I have seen this convention in Laravel and in other frameworks. Why is the response object not bound...

0 Likes
0 Replies

Laravel Unit Testing

#How to mock this one? return Redirect::back()->withErrors($validator); it always says: BadMethod...

0 Likes
0 Replies

Can't solve Construct() must implement interface problem

Hi All, I've been reading Chris Fidao's excellent book on Implementing Laravel and unfortunately I'v...

0 Likes
2 Replies
Solved

What is the best design pattern for a shopping cart within the Laravel framework?

Hi all, At the moment I am developing an ecommerce solution based on the Laravel framework. One of t...

0 Likes
0 Replies

Artisan Command and Service provider

So I have a task I want to happen twice per day(perhaps more in the near future) and I have setup di...

0 Likes
0 Replies

ServiceProvider:Class not found.

I'm new at using ServiceProviders and spend most of the day figuring out what's wrong. composer.json...

0 Likes
1 Replies
Solved

Autoload dynamic added classes

Hi I am creating dynamic php files outside my workbench in the laravel foler app/sites/1/models/ No...

0 Likes
1 Replies

Laravel 5: Contracts and separation of concerns .

Im really struggling to understand the whole concept of Contracts in Laravel 5. Interfaces I underst...

0 Likes
4 Replies
Solved

Which one use (injection vs static method)

Hi. Probably is a PHP general cuestion but this is what I'm wondering: class A { public functio...

0 Likes
1 Replies

Inline css in the Laravel mailer for email views

Hi Guys, I'm using laravel layouts and templating language for my email views, I need to Inline the...

0 Likes
4 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.

© 2024 Laravel.io - All rights reserved.