Support the ongoing development of Laravel.io →
posted 10 years ago

What is 'removeTableFromKey' for?

Hi! I'm reviewing source code and found 'removeTableFromKey' in this line: /** * Fill the model wit...

0 Likes
0 Replies
posted 10 years ago

Issue saving hasOne / belongsTo relation without triggering an infinite loop.

I have a User model that hasOne profile and $with=['profile'] I have a Profile model that belongsTo...

0 Likes
0 Replies

Getting Data from Controller after Loading

Hi, Through ajax I am posting a value to a Controller, which I need get on the Modal Window on the V...

0 Likes
1 Replies

Help on relations please

Hello, I will really appreciate any help provided in this case, it's probably very simple but even t...

0 Likes
7 Replies

Redirect to slug url

i have a route for a hotel view with a slug hotel name. Route::get('/hotel/{slug}', function($slug){...

0 Likes
1 Replies
Solved

Help me for Multi Auth in Laravel

hi, i'm newbie can you help me... I get an assignment from my teacher to make auth i have two table...

0 Likes
5 Replies

Trouble displaying created_at value in view

I'm trying to display the created_at column in one of my views and I'm not having any luck. When I t...

0 Likes
2 Replies
Solved

Laravel 5 connecting to a second database

The DB::connection seems to work but when I am using DB::table it is still looking at my 1st default...

0 Likes
2 Replies
Solved
posted 10 years ago

how do you backup your virtual machines in HYPER-V ?

I am using hyper-v and I am looking for ways to backup the virtual machine. I know I could just shut...

0 Likes
1 Replies

AngularJS & Laravel CORS, preflights OPTIONS causes problem

Hello, Although I set the withCredentials for the angularJS side of the call, the preflight OPTIONS...

0 Likes
0 Replies

How can I rewrite "domain/index.php/pagename" to "domain/pagename"?

Now every page can be accesed by www.anvastgoed.nl/downloads AND www.anvastgoed.nl/index.php/downloa...

0 Likes
0 Replies

Homestead v.0.1.6 & php5.6 Why? Is required php <=5.4

Good day. Install homestead ver. 0.1.6 through Vagrant I go to ssh => php -v PHP 5.6.3-1+deb.sury...

0 Likes
0 Replies
posted 10 years ago

how to access Models in ServiceProviders

whenever i access a model in service provider it returns an error: Call to a member function connect...

0 Likes
0 Replies

PHP 5.5 CLI some modules not loaded

Environment: Windows 7 x64 WAMP with PHP 5.5 Laravel 4.2 php -ini returns: C:>php --ini Configura...

0 Likes
2 Replies
Solved

Schema suggestions for one slot per day of week

I'm creating a scheduler that for each location has a start and end time for each day of the week. N...

0 Likes
0 Replies

Can't get filtering working

Hi! I'm just starting out with Laravel and I'm having a hard time trying to get the filters to worki...

0 Likes
2 Replies
posted 10 years ago

Stored procedure DB error with Laravel 4.2

We have some code running under Laravel 4.2 that calls a stored procedure that’s supposed to fetch a...

0 Likes
1 Replies

Routing to a controller method with a parameter

Have I missed an obvious way to do this? I'm checking to see if the request URI matches a list of kn...

0 Likes
4 Replies
posted 10 years ago

accessing pivot with join

Hello i have the following model: class Agent extends Eloquent { protected $fillable = []; protect...

0 Likes
0 Replies

Laravel Access Layout in service provider

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

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

© 2025 Laravel.io - All rights reserved.