Support the ongoing development of Laravel.io →

4,606 Threads

Laravel and Vue.JS Many-to-Many with multiple arguments?

Hi! I'm with a problem, due to my lack of ideas and experience... And I hope you guys can help me! I...

0 Likes
0 Replies

how to pass data to partial directly?

Hi i am making a menu that get the data from database like this -> Laptop -> Pc -> Smartpho...

0 Likes
0 Replies
posted 8 years ago

Get value of the Second select box Based on First one.

I have a two select box in my project named Department and Concern. When Someone select a value from...

0 Likes
0 Replies

Create a database row

So this is the "example controller", or the controller that ships with Laravel. It creates...

0 Likes
1 Replies
Solved

Custom pivot as a model, how to and best practices?

Hello, I have been searching and trying for a week now without success, so here I post my first ques...

0 Likes
0 Replies

Changing 'strict' mode to true blocks mysqli_connect to fail connecting remote database

Hi. I am using Laravel for a bit of time and at one point in order to solve "created_at column...

0 Likes
0 Replies

Drop down menu based on value of another drop down menu.

In my view i have a form and 2 drop down menus. The first one shows countries and based on the selec...

0 Likes
2 Replies

Custom Relationship Queries

Does anyone know of a good way to either add a column to a relationship query, or use a custom query...

0 Likes
1 Replies

Help with Ajax post

Hello, I'm trying to return a JSON array populated with Mysql Data to an ajax call which at the mome...

0 Likes
5 Replies

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 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

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

Pull Associated Data

I am trying to pull relationship data in the same query. I have the hasMany and belongsTo set in eac...

0 Likes
0 Replies

Form Model Binding, (Many to Many) Polymorphic Relations and sync()

Hello community, I am Laravel newbie, so please, be patient with me. My tables: artists - id - name...

0 Likes
0 Replies

Undefined variable in blade 5.2

Hi, I've a 3 tabs in one of the tabs I'm showing the results of a db_query. In the controller I've...

0 Likes
4 Replies
posted 10 years ago

Passing Json to android

Hello, I was trying to pass json to android application, i'm having "org.json.JSONException: V...

0 Likes
9 Replies
posted 8 years ago

How to add custom data in laravel faker?

Hi i want to know can i add some custom data into faker database that it use to create fake data lik...

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.