Support the ongoing development of Laravel.io →

How should i use repositories ?

Suppose that We have a user that has many forum posts, and we want to get paginated user posts : Whi...

0 Likes 1 Replies

Need help debugging this Response error..

Here is my log file of the error, but I dont seem to have enough information there to debug it: [201...

0 Likes 2 Replies

how to create file txt

Hello friends, I have to create a txt file with the result of a query, so far I download the file bu...

0 Likes 1 Replies

Iterate over multidimensional object with blade

Hey folks, i'm new to Laravel but already in love! Awesome. Sadly there's little documentation espec...

0 Likes 6 Replies
Solved

View composer not firing on master layout

The view composer doesn't seem to fire on the master layout that all other views extend. The code wo...

0 Likes 8 Replies

Confusion with cacheTags

I think I dreamt something was in the docs, but in reality it isn't. I'm using a taggable cache stor...

0 Likes 2 Replies

Redirect back to same page

Please help. If a user is on say xyz.com/course/1/edit and closes the browser, only to return after...

0 Likes 2 Replies
Solved

Multi part survey - How to make in Laravel?

Hey there. I am currently busy with a application that should work like this: We have several studen...

0 Likes 1 Replies

Url often 404s

Hey, i am using a free host, and my URLs often 404, thinking the /public/something/something url is...

0 Likes 0 Replies

morphMany sorter type declaration

Hi! I created a morphMany relation, the related class is in sub folder and the type inserted in data...

0 Likes 1 Replies
Solved

Laravel won't execute insert or delete with nested select. Help

I have an insert and delete statement, both contain a nested selected and Laravel won't run them, no...

0 Likes 1 Replies
Solved

No relationship when using orderby random

I can not access my relationships when I order by random. If i remove the random and use all or firs...

0 Likes 1 Replies

Custom themes in laravel implementation

Hello, I want to give user a possibility to import/upload your own theme (view). I don't know to sol...

0 Likes 1 Replies

Using pagination

I've succeeded in including and using the Database class use Illuminate\Database\Capsule\Manager as...

0 Likes 11 Replies

Laravel Pagination standalone

OK, so I'm using Eloquent as a standalone package in my app. Is there any way I could do pagination...

0 Likes 1 Replies

Undefined variable in view (when trying to grab database result)

Hi, Been stuck on this problem for about a week. I know its probably something simple I missed but I...

0 Likes 14 Replies

Issue on creating models with foreign key relations (1:1)

Hello! I have a "Profile" model related to a "User" model. Currently I'm able to...

0 Likes 1 Replies

Laravel translation

Hi, i'm new to laravel i have a basic app that show the current date as 17 July i have setup mcamara...

0 Likes 0 Replies

Http_Exception http error: 0 | SSL certificate problem: self signed certificate in certificate chain

I can't push queues locally! I get that error. When I add this line of code below to my route it wor...

0 Likes 1 Replies

how to run php artisan queue:listen in production server

Hi all, How to run php artisan queue:listen in production server since We don't have command prompt...

0 Likes 0 Replies

Thanks to our community

Solutions given in the past year.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2021 Laravel.io - All rights reserved.