Support the ongoing development of Laravel.io →

388 Threads

composer.phar update --no-dev Error

$ composer.phar update --no-dev Loading composer repositories with package information Updating depe...

0 Likes
0 Replies

Complex Relationship Query [Team->county and Team->users->roles]

Hello guys, I am having some trouble filtering data through a relationship that i created... CLASS T...

0 Likes
1 Replies
Solved
posted 10 years ago

Singleton dependancy injection

Hello everyone! Can someone explain me how to inject a singleton class to Controller constructor? I...

0 Likes
0 Replies

Getting parameters of a call just having the string of the url

Hello! I am trying to have a function called extractParameters that accepts a string, this string sh...

0 Likes
5 Replies
posted 10 years ago

App::make inside service provider

Hi guys, is this right approach? To use app::make inside service provider like this $this->app-&g...

0 Likes
1 Replies

inject to controller the laravel Log object

I want to inject the larvel log object to my controller instead of using the facade. But I cant type...

0 Likes
1 Replies

Change response to JSON in after filter

Hello guys, I'm about to create RESTful API with Laravel. I've created such in past, but this time I...

0 Likes
3 Replies

Custom ServiceProvider not loading via web, but loads via phpunit? (L4.2)

I'm using Laravel 4.2. I have a custom ServiceProvider that is registered in app.php. My code wasn't...

0 Likes
2 Replies
Solved

How to extend Builder to add custom where function

Hi. I'm trying to add some postgresql functionality to Eloquent. I've already made it so I can migra...

0 Likes
0 Replies

Extending MySqlGrammar and binding to IOC

I wanted to extend the MySqlGrammer to provide support for the MySql colum type 'set' while using th...

0 Likes
0 Replies

App architecture with multiple sources / newbie

Hi, I'm going to develop an application that may use many sources as data providers. It means that i...

0 Likes
1 Replies

Architecture Quandary: Dependency Injection vs Ajax Requests?

I know I'm overthinking this, but I wanted feedback from people with more experience. I'm building...

0 Likes
0 Replies

Binding a conditional implementation to a controller

What's the best way to pass a concrete implementation of an interface if that implementation is depe...

0 Likes
3 Replies
posted 10 years ago

BindingResolutionException Target [Illuminate\Database\Eloquent\Model] is not instantiable

I have strugging with below error. It is not about interface error but model error. I don't know wha...

0 Likes
0 Replies

Multi-Tenant injection throughout views

I have a multi-tenant application using {company}.domain.tld. Is there a way for me to inject the co...

0 Likes
0 Replies

How to pass Sorting parameter to Repository

I have function all($columns = array(*)); public function all($columns = array(*)){ return $this...

0 Likes
0 Replies

Facades: Non-static method <some method here>should not be called statically code error

I'm trying to use Facade and service provider to create a Data class for misc application variables....

0 Likes
0 Replies
posted 10 years ago

Using a package without a service provider and facade

Hi, I found a package on packagist.com that I want to use in my Laravel project. I've installed the...

0 Likes
2 Replies
Solved

Beginner's Question: How to configure Package?

Motivated by Jeffrey Way's tweet from today ( https://twitter.com/jeffrey_way/status/515508990751817...

0 Likes
2 Replies
Solved

Using XML in a controller (curl)

Hi all, Im trying to make a function for creating a package label via something called pacsoft. It o...

0 Likes
1 Replies
Solved

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.