Support the ongoing development of Laravel.io →

297 Threads

posted 10 years ago

ioc binding - closure vs. automatic resolution

Following official documentation for IOC (http://laravel.com/docs/ioc): class FooServiceProvider ext...

0 Likes
4 Replies

What should go in a Repository

Looking through Repository code and what everyone uses them for. It still seems they are pretty coup...

0 Likes
25 Replies
posted 10 years ago

BindingResolutionException using Schema\Blueprint and Builder

Hello eveyone, I am trying to create an application that creates custom tables and columns in my dat...

0 Likes
0 Replies
posted 10 years ago

App binding works in controller but not in command

I've got two simple classes: class FetchPosts implements FetchPostsInterface { } interface FetchPos...

0 Likes
1 Replies
posted 10 years ago

Static class, use Facade?

I want to make a class that will handle some global logic based on time. So when looking for "s...

0 Likes
2 Replies
posted 10 years ago

Get view data

Hi Guys, I need to get the view data i found the View::getData() method in the api but i can not cal...

0 Likes
3 Replies

Static call to a facade function from another

Hi, It looks like I cannot access a custom facade via a static call from another custom facade : Er...

0 Likes
1 Replies

dynamic route problem

I have tried to make a dynamic route by below code: Route::get( '/test', function() { return Route::...

0 Likes
0 Replies

BindingResolutionException Unresolvable dependency resolving [Parameter #0 [ <required> $input ]].

Hello friends, I'm currently coding a REST API, however I'm having an issue with Laravel 4.1.x Bindi...

0 Likes
0 Replies

creating ServiceProvider for package without it

Hello, I would like to create Service provider for package vendor/package (psr-0), I know with updat...

0 Likes
0 Replies

Controller Testing - Repositories Design Pattern

I am new to unit testing, and testing at all... I am trying to follow the repository implementation...

0 Likes
4 Replies
posted 10 years ago

Class cache does not exist

Hi all I have a slight issue ive extended the UrlGenerator class as explained in the documents to us...

0 Likes
0 Replies

One model and multiple tabels

Can one model manage multiple tabels? I have Image class and 3 type of users(for each user i have o...

0 Likes
1 Replies

Cannot catch DB exceptions inside seed class

For some reason, I cannot catch DB exceptions inside a seed class: the code never enters the catch b...

0 Likes
1 Replies
posted 10 years ago

Injection outside the construct

Hi guys, I have question about dependency injection and in this case repositories. Say I have a User...

0 Likes
2 Replies

My WebSite is not displayed

My problem is that my site is not displayed. roads and mesi controllers returns me well create views...

0 Likes
1 Replies

Architecture category

Does it make sense to have a separate category for questions and comments about code architecture. I...

0 Likes
1 Replies
posted 10 years ago

Learn Dependency Injection for Laravel.....

Hello all... I want to learn Dependency Injection in Laravel. Can anyone suggest me the best materia...

0 Likes
2 Replies

MMORPG Game

Hello , I would like to make game like Ogame with Laravel...can soomeone recommend site structure..w...

0 Likes
1 Replies
posted 10 years ago

Allow custom bindings in my service provider

So i've got the source of a package i have forked, and i'm trying to modify it so that parts of the...

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