Support the ongoing development of Laravel.io →

91 Threads

posted 9 years ago

Method [validatePasscheck] does not exist.

Hello I'm building a custom provider for validation and i'm getting this error: Method [validatePass...

0 Likes
3 Replies
Solved

Should I commit app/config file to git repository

Hi I have question. Should I commit app/config to my repository? What is the best practises ? In my...

0 Likes
4 Replies
Solved
posted 9 years ago

Repository Pattern - Call to a member function create() on null

I keep getting this error: "Call to a member function create() on null" in my controller....

0 Likes
2 Replies
Solved

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

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
posted 9 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

Laravel 5: How to inject a model that has been bound to route into the authorized method of FormRequest

I've bound a model to a route parameter: $this->model('employee', 'App\Employee'); This is worki...

0 Likes
3 Replies
Solved

Laravel 4 and Symfony2 app usage

Hey, I wish to implement https://github.com/Sylius/Sylius along with L4 framework. Any help on how t...

0 Likes
2 Replies
Solved

Migrate package from 4.2 to 4.3/5

I'm trying to migrate my packages from 4.2 to 4.3 but I have an error because Laravel doesn't not re...

0 Likes
1 Replies
Solved
posted 9 years ago

IoC not using my mocks in test cases

I'm having some issues with testing. I have the testLoginStart method in the unit test here: https:/...

0 Likes
1 Replies
Solved

Inject controller name to layout

Hey guys, I'd like to inject controller and action names automatically to the returned view to add b...

0 Likes
2 Replies
Solved
posted 9 years ago

Having problems adding service provider

I'm trying to extend the Validator class. So that my text field doesn't return false when space is a...

0 Likes
2 Replies
Solved

Target [CmsBlox\MOD\PartnerInterface] is not instantiable.

When I search the error 'Target Interface is not instantiable' I get a lot of results on this error...

0 Likes
2 Replies
Solved
posted 9 years ago

How do I instantiate a new object by calling a class method via a Facade?

Is it possible to instantiate a new object by calling a class method via a Facade? I have this class...

0 Likes
4 Replies
Solved

How can I modify protected Illuminate\Routing\UrlGenerator::$dontEncode?

I'd like to be able to do things like URL::route('viewUser',['{{id}}']) without the { and } chars ge...

0 Likes
7 Replies
Solved
posted 9 years ago

Using Repository pattern

Hi, so i am new in Laravel. I want to use repository pattern, and here my problem: here is my interf...

0 Likes
2 Replies
Solved
posted 9 years ago

One controller to rule them all.

I have one controller for my entire website that sets up the routes and load the appropriate files b...

0 Likes
2 Replies
Solved

Type hinting parent::__construct() arguments in controllers

Greetings, I've got a BaseController with the following code: class BaseController extends Contr...

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