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

How to set the referrer for Redirect::back() ?

Suppose I have a link to a form, but after submitting the form I want to redirect back to the origin...

0 Likes
0 Replies

Having issue while trying to use model route binding

By using this code I'm trying to return the post from posts table which has the same id by {post}. R...

0 Likes
0 Replies

Cant access to Models From Views in Package

Hi there I'm working in a package , and for some reason i cant access to models methods from View, f...

0 Likes
2 Replies
posted 10 years ago

$morphClass not used by morphTo()?

So I have MyApp\Posts\Post MyApp\Videos\Video In each I declare a $morphClass of 'Post' and 'Video'...

0 Likes
4 Replies

Problem with routes when passing a variable from a Modal to a web page.

Hi. I'm having an issue when passign a variable from a Modal toa web page. The variable it's not sho...

0 Likes
1 Replies
posted 10 years ago

legacy url routing using 4.2

I'm having trouble getting the below to work. I want to route legacy urls but the below does not see...

0 Likes
8 Replies

Check if route is accessible

Hey guys, is there a way to check if route to given controller action is accessible? By accessible I...

0 Likes
0 Replies

Laravel Configaration Problem with nginx

Hi... I am a very new Laravel user, For a work of mine,i have to integrate nginx with laravel in win...

0 Likes
3 Replies

Repository Responses

Hi everyone, What is your approach for repository methods responses ? returning Eloquent models or...

0 Likes
0 Replies
posted 10 years ago

form::select and optgroup

does anyone know how to add an optgroup to the form::select with multiple ?

0 Likes
1 Replies

Need to download thousands of photos and reupload to Amazon S3. How?

I can download files to my local server and I can use the Amazon S3 package to reupload. However, i...

0 Likes
1 Replies

Forbidden access on MAMP apache

I'm using a mac 10.8.5 and I'm trying to create a virtual host for my project. I've tried varies way...

0 Likes
0 Replies

How and why to use the IoC container of Laravel

I've just written an article to shed some light on what the IoC container is and how to leverage it...

0 Likes
4 Replies

How disable ruting from package

Hi, I'd like overwrite some rules from package rules. When I change boot method in vendor directory...

0 Likes
0 Replies
posted 10 years ago

Eloquent relations - need confirmation

Hi, lets imagine i have a Eloquent model "Picture" (table pictures), with : -id -path And...

0 Likes
5 Replies

running package migration inside migration failed in prodction enviroment.

I have a migration file which contain running migration of a package: Artisan::call('migrate', array...

0 Likes
0 Replies

verify model attach

I am attaching model A to model B as per a defined Many-to-Many relationship. Such as $user->role...

0 Likes
1 Replies

Laravel Drag and Drop

Hi There! i have an idea to build a website using laravel with technical drag and drop but i dont kn...

0 Likes
0 Replies

Laravel powered site, with a wordpress powered blog help?

I have a site created using Laravel. I wish to implement a blog at either blog.mysite.com or mysite....

0 Likes
8 Replies

Reusing Code

I have a list of Australian states in which I want to make a case switch method as the state are com...

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.