Support the ongoing development of Laravel.io →

4,599 Threads

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

Have a problem with foreign key, while adding a record into database

Hello, I'm learning Laravel and I'm having a problem with foreign key when I want to add a new recor...

0 Likes
2 Replies
Solved

Not able to trace Source of Variable

Hi, Can someone please help me guiding ways to trace the source from where the variables are taking...

0 Likes
0 Replies

Laravel adding pet abbilities information

My laravel app structed like this: People: Model & Controller Pets: Model & Controller. Has...

0 Likes
0 Replies
posted 8 years ago

How to delete a row that is older than 30 days using MySQL.

Hi there, I have a laravel application using MySQL. I have a table named table and a column called c...

0 Likes
1 Replies

Use the timezone set by the user

Basically when I get the datetime column in my table I want to adjust its date and time base on the...

0 Likes
6 Replies

How can I use sqlsrv driver on Linux platform?

Hi all, I have a problem: can I use sqlsrv driver on my linux distro? In my project the database is...

0 Likes
0 Replies

earth datatype on migration

how to give postgresSql 'earth' datatype on laravel migrations

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.

© 2024 Laravel.io - All rights reserved.