Support the ongoing development of Laravel.io →

Order by pivot table attribute in Eloquent

Hi Guys I have this query: $user = Auth::user(); $user->jobs()->get(); where jobs is a bel...

0 Likes
6 Replies
Solved

Laravel workflow using a template. Best practice?

I will start a new project using laravel and an metronic admin template. As you may guess, there are...

0 Likes
0 Replies

my url is not working properly.

I have install laravel 5.2 on LAMP in Digital ocean . After installation and configuration I run php...

0 Likes
0 Replies

Laravel always redirecting to login page even if Login credentials are correct after.

Ive created a custom authentication in my laravel app but it seems to be directing me back to login...

0 Likes
1 Replies
Solved

Trouble when want show user detail on Laravel 5.2.3x

i want to show detail from database from 'Detail Button' like this but laravel show me error like o...

0 Likes
0 Replies

Overriding find on amodel causes apache child to do segmentation violation

Hey folks. I tried to override find on a model like this namespace App; use Illuminate\Database\Eloq...

0 Likes
0 Replies

Laravel 4.2 - Class 'PDO' not found while PDO enable in whm

PHP.ini configuration on WHM/CPanel hosting ;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;...

0 Likes
0 Replies
posted 10 years ago

Resolving a slug to the right controller

Hi So I am developing this Laravel 5.1 LTS based CMS. One issue that I have come across is that I ca...

1 Likes
2 Replies
Solved

Laravel file structure

Hello, I'd like to create my own CMS with laravel, I'm looking for the following file structure. co...

0 Likes
0 Replies
posted 9 years ago

Multiple buttons with multiple redirects on forms

I'm trying to have multiple buttons on a form in Laravel 5.3 and depending on which button the user...

0 Likes
0 Replies
posted 9 years ago

Laraval umlauts not working with MySQL Database

Hello, I've a problem with german umlauts like äöü and so on in Laravel 5.2. I'm saving some script...

0 Likes
2 Replies
posted 9 years ago

How to display values of returned Collection?

Hello. I am trying to use the query builder as told in Laravel docs. when I pass the data to the vie...

0 Likes
11 Replies

How to pass variable from one controller to another controller in laravel

I have one Controller eg. VendorContoller in index.blade.php i have display all details in table wit...

0 Likes
1 Replies

Create user, out of the box 5.3

I have typed: php artisan make:auth php artisan migrate Question: Now because migrate worked, that m...

0 Likes
1 Replies

How to automaticaly create a slug when saving a user?

I want to set a slug for a user that I am saving. Should I use events? I tried this way whitout succ...

0 Likes
2 Replies

Error to install Homestead

I'm trying to run the Homestead in Ubuntu 04.16 but when running vagrant up command, it returns me t...

0 Likes
0 Replies
posted 10 years ago

Ordering a collection by the related items

My domain model looks like this: Person id first_name last_name other fields Position person_id c...

0 Likes
2 Replies
Solved

Laravel utf-8 problem

Hello, I have created a new Laravel 5.3 application and I have a problem with utf-8 chars which are...

0 Likes
0 Replies

Store variable in session after login.

Hey, I'm Eduard. I'm new to Laravel framework and I need some help from you, guys! What I'm trying r...

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