Support the ongoing development of Laravel.io →

How to change join field in hasManyThrough?

I have structure like this: orders id - integer name - string order_details id - intege...

0 Likes
0 Replies

Foreign Key errors after defining primary key of several column

Hello everyone! I have the following situation. I created a table person with the following migratio...

0 Likes
1 Replies

Session lost after redirect

I want to redirect my user to another page after they have signed up. For that i need to access thei...

0 Likes
1 Replies
posted 10 years ago

INSERT ON DUPLICATE?

folks i have been trying to implement this simple sql for mysql in laravel, i know i am missing some...

0 Likes
2 Replies
posted 9 years ago

Upload more than 20,000 records via REST API

Hi everyone. I have a RESTful API and need to upload more than 20,000 records at once from a desktop...

0 Likes
3 Replies

Sorting union query

Hi. i would like to know how do i sort the data from my union query package_data query $query = DB::...

0 Likes
0 Replies

Approximate Dates

I'm trying to port over to Laravel a feature that I built in PHP where a user can enter approximate...

0 Likes
0 Replies

CSV Import Error - unrecognized

I have a project that comprises of various laravel models. Everything has worked fine because I have...

0 Likes
0 Replies
posted 9 years ago

Laravel 4 project. Classes not found and composer error.

I have project without vendor folder and fat composer.json. This is my composer file: { "name&q...

0 Likes
0 Replies
posted 9 years ago

Lumen Api is very fast On Local server but lot slower in production server

i just created a api using Lumen whern i tried it in localhost using the phpmyadmin database the res...

0 Likes
1 Replies
posted 9 years ago

Eloquent, Category and other

Good evening, I made a sketch of what I did: http://i.imgur.com/b7WYg2N.png Now I have to do this:...

0 Likes
1 Replies

Model::where query doesn't work

I have a model called Article with the table 'articles' and in the database there is a 'published' c...

0 Likes
3 Replies

Could not open input file: artisan after changging directory structure

I install Laravel-5.2 in my localhost and change directory structure like this -laravelfiles -pacakg...

0 Likes
0 Replies

call laravel from with in other project in same system

we have our system and we build new system with laravel, currently it will be hard to remove the old...

0 Likes
5 Replies

Ajax refresh on post.

I want create chat when with ajax refresh which reloads new messages in chat without reloading page....

0 Likes
0 Replies

Cronjob 'delete' query doesn't work

Hi Guys, I'm having trouble finishing my cronjob for deleting a existing user if their account has e...

0 Likes
0 Replies

Elixir Help

I am trying to get Elixir work but for some reason it is not putting the files in the correct direc...

0 Likes
0 Replies

Cant show image from Php artisan Server

Im not shure why but i am shure that when i try to get an image from a floder in public dir and im o...

0 Likes
2 Replies
posted 9 years ago

I am trying my Laravel web application, but I am getting this error. Kindly assist me. Best Regards

I am trying to host my Laravel application to my subdomain, but I am getting this error. I have trie...

0 Likes
0 Replies

How to work with tabular data

Hi, Does anybody know some good plugins/widgets or just good examples on how to work with tabular da...

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.