Support the ongoing development of Laravel.io →

Group Eloquent query by column, order by another

Hey guys ! My question today is very simple. I have an employees table containing a type_id column a...

0 Likes
4 Replies
Solved
posted 9 years ago

Queue and send emails later

Hi. I'm trying to use queue in my app. I have a form which allow the admin to define a date to send...

0 Likes
2 Replies
posted 8 years ago

Eloquent Inverse Relationship Method Undefined

I have two models. My first one is: <?php namespace App; use Illuminate\Database\Eloquent\Model;...

0 Likes
0 Replies

How to see user properties?

When a user is logged in, I bet Laravel has a clever way of showing whats in the database row for th...

0 Likes
3 Replies
posted 8 years ago

How to call each other Repository

How to call each other Repository. class PostRepository { } class UserRepository { } PostRepositor...

0 Likes
0 Replies

Android Post Response - Internal Server Error 500 - OK in HttpRequester

My Android app is sending Json Array to Laravel 5.0 Rest Api. When i try the code with HttpRequester...

0 Likes
0 Replies

Laravel 5.1 MassAssignmentException After Model $fillable Update

Greetings. I am having trouble with a MassAssignmentException. I was following along Jeffrey Way's v...

0 Likes
12 Replies
posted 8 years ago

Problem creating a project

Hi guys I have a problem, i created a project for laravel app . But I can't find the folder in Bash...

0 Likes
0 Replies
posted 8 years ago

Constraining whereHas query to only the latest in relationship?

I have a table auctions with a column start_amount with a one-to-many relationship to another table...

0 Likes
0 Replies
posted 8 years ago

hasMany relation with ::where() ???

HI Community, im just getting started with Laravel and Eloquent. I'm watching the Laracasts and I'm...

0 Likes
3 Replies
Solved
posted 8 years ago

Error - Packets out of order. Expected 1 received 4. Packet size=2

Hi everyone. I have created a CRM with Laravel 5 and now, for stats purposes I had to develop an Sto...

0 Likes
0 Replies

it's possible to create a new database in laravel?(developers way)

i need to create custom command for create a new database in laravel? ex $php artisan Database Data...

0 Likes
1 Replies

[Package] Query Filters - Filter data based on the query string of HTTP requests

Package fully inspired by this Laracasts lesson: https://laracasts.com/series/eloquent-techniques/ep...

0 Likes
0 Replies

how to enable the postgis plugin in laravel through mogrations ?

i need to to use "Geometric Types (Box,Circle,Line,Line Segment,Path,Point,Polygon)" in la...

0 Likes
0 Replies
posted 8 years ago

Laravel yajra datatables showing json response on the browser

Hi I'm using yajra datatables for Laravel 5 it was returning a json response but showing that respon...

0 Likes
0 Replies

i need to write a migrations in laarvel ?

hai , i need add one column in data base like location . that field should be a geo-location , but i...

0 Likes
2 Replies
posted 8 years ago

How do I check if this object is empty?

This is my route Route::get('/customer/{name}', function($name){ $name = strtolower($name); $custo...

0 Likes
2 Replies
Solved
posted 8 years ago

Failed calling Illuminate\Database\Eloquent\Collection::jsonSerialize()

I have trying to convert two laravel collections in to string using json_encode($collection_array),...

0 Likes
0 Replies
posted 8 years ago

routing ->where('var', '(.*)') to include hashtag (#) character

I have this route in my application: Route::get('/files/{file?}', 'FilesController@checkFile') ->...

0 Likes
0 Replies
posted 9 years ago

[L5.1] Register Service Provider Automatically

Hi, is there any way to register service provider automatically?

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