Support the ongoing development of Laravel.io →

4,608 Threads

id as string?

ok so i have a country table with id, country e.g. UK => United Kingdom.. so id is a string...

0 Likes
3 Replies

Model->fill() should not typehint array, opinions?

Before I submit a PR for this, I am seeking opinions. I feel that the Model class (Illuminate\Databa...

0 Likes
0 Replies

How to login authentication with saved encrypted data using file(basically digital certificate)

I want to login with a file that contains digital certificate of someone, first registers with certi...

0 Likes
0 Replies

Access first data of a many to many relationsheep with eloquent

Hello, I have two models Person class Person extends Model { public function emails()...

0 Likes
2 Replies
Solved

Laravel Cashier Resume Subscription

Hi, I have a working app with laravel cashier and I can bill a user, swap plans... but I don't know...

0 Likes
0 Replies
posted 10 years ago

Outer Join Clousure

Hi, i know that i can do a full outer join with ->join('Especialidades', 'Especialidades.espe_Cod...

0 Likes
3 Replies
Solved

Getting a gallery item from a pivot table

I'm using laravel 4 and I'm trying to get all the gallery items that belongs to a category depending...

0 Likes
2 Replies

I need help on refferencing query builders in my controller.

Hello every one, I am a newbie in Laravel, I just took a Lesson about Laravel 5 Fundamentals. After...

0 Likes
0 Replies

syntax error, unexpected ';', expecting function (T_FUNCTION) But there is no error

Hi, I am trying to use db:seed but every time I run it i get [Symfony\Component\Debug\Exception\Fata...

0 Likes
2 Replies

structure to create statistics

Hello, For a simple questionnaire I would like to create some statistics but I'm not sure if the cur...

0 Likes
0 Replies

Save inputs of a dynamic form

Hi, I do have a dynamically generated questionaire form which fetch all published questions from the...

0 Likes
4 Replies
Solved

CSS & JS Compression & Minify

Looking for a tool with guide to compress my CSS & JS File into one file & No spaces. Questi...

0 Likes
4 Replies

Method 'orderBy' not found in class \Illuminate\Database\Eloquent\Relations\BelongsToMany

I have following relations: in TransportOrder Model: public function statuses(){ return $this-&g...

0 Likes
0 Replies

Eloquent, convert iso8859-1 to utf-8 and viceversa?

So, i have a database that is in iso-8859-1, and the website is supposed to be in utf8. I do not hav...

0 Likes
0 Replies

Using ::has on a relationship between two models that have the same table

So I have a Vip model: class Vip extends Model { use MemberTypeTrait; use RecordStatusActive...

0 Likes
1 Replies

Getting multiple values

I'm using Laravel 4 and I'm trying to get multiple values to display instead of one. When I try, I g...

0 Likes
1 Replies
Solved

retrieving 3 posts for each categories

Hello all i'm trying to have for my website 3 post for each Categories but in my controller i'm doin...

0 Likes
0 Replies

Which Eloquent structure for my application?

Hi, I started with a new application, but I struggle with setting up my Models and Relations. Let me...

0 Likes
1 Replies

Pass data to view or use Ajax to pull in data

Howdy all, I'm currently building a dashboard for an order system Ive been building in L5(first proj...

0 Likes
2 Replies

How to run a query in laravel

Hi I'm iqra, I'm a newbie in laravel, I want to run a query like this SELECT vote, slug, COUNT(*) FR...

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