Support the ongoing development of Laravel.io →

101 Threads

Is it valid to use filter to pass variables to layout?

Hi, I have a layout which requires a few variables and several controllers that use this layout. The...

0 Likes
1 Replies
Solved
posted 10 years ago

Unit Testing and impact of using 'use' to import classes into scope

Hi, I have been banging my head on the wall trying to figure this out : When ever we add a 'use Clas...

0 Likes
3 Replies
Solved

Input::has('name') is working in Laravel 4.0.9?

I tried method Input::has('name') But even i click to choosed image, it still return false. Is this...

0 Likes
5 Replies
Solved

ioc or parameters?

hi, i would like to ask you how would it be better to resolve dependencies. i'm not really sure to u...

0 Likes
2 Replies
Solved

compare array values

The problem i have is the following one: I have 2 arrays: Array ( [0] => off [1] => off [2] =&...

0 Likes
1 Replies
Solved

$_ENV from local file not passing bool to config

Hello, I'm quite confused with this. Pretty much I have to environments prod and local. Prod has deb...

0 Likes
1 Replies
Solved

Add default value to checkbox array (php)

So the point is that the user needs to select a (few) month(s) by clicking the checkbox. Then when t...

0 Likes
3 Replies
Solved

Get data from multiple input fields who are in a for loop

Ok the problem i have is the following one: (apoligize in advance for bad english xD) Im creating a...

0 Likes
4 Replies
Solved

Public folder configuration while publishing website

Hello. I am new to Laravel. When I publish my website created with Laravel, what to make with the pu...

0 Likes
1 Replies
Solved

How to mock facade from package?

Package Thujohn\Twitter; Twitter::shouldReceive() gives me error: Parse error: syntax error, unexpec...

0 Likes
4 Replies
Solved
posted 10 years ago

Need help using Mockery's "with" statement in a loop :(

Hey guys, so I'm trying to something like below: //MyTest $this->productMock ->shouldRe...

0 Likes
1 Replies
Solved
posted 10 years ago

Problem with uploading images

Here you have my method. How you can see in line 28 I want to upload the image, but it doesn't work...

0 Likes
4 Replies
Solved
posted 10 years ago

How can I find the test cases of Laravel itself

Hi, I am sure that Laravel framework is well tested, but how can I find the test cases of Laravel it...

0 Likes
3 Replies
Solved
posted 10 years ago

How to create a link to a site, which use a method with arguments ?

That's my route: Route::get('/admin/dashboard/{username}', array( 'as' => 'get-admin-dashboar...

0 Likes
3 Replies
Solved
posted 10 years ago

Creating GitHub Pages from Laravel project. Possible?

I'd like to use GitHub Pages to view my laravel site, but my /vendor folder (and other bits) are in...

0 Likes
3 Replies
Solved
posted 10 years ago

Redirecting doesn't work

Hi, I have a problem with redirecting on laravel. For example that's a route that doesn't work Route...

0 Likes
5 Replies
Solved
posted 10 years ago

Testing various multi-domain

How can I test multi domain app? I tried this without success: $domain = 'http://some.website.com/';...

0 Likes
1 Replies
Solved

oauth2-server failing under test

We are implementing Luca Degasperi's OAuth 2 server in our REST app. The integration seem to work ve...

0 Likes
1 Replies
Solved

Which environment does testing inherit from?

Can someone tell me if testing inherits from development, production, or neither?

0 Likes
2 Replies
Solved
posted 10 years ago

Auth and testing

Bascily everything is working up to the point where I want to get the Auth::user()->id check the...

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.