Support the ongoing development of Laravel.io →
posted 3 days ago

laravel collection groupby filter

I have a collection and group it by OrderNumber: $orders = collect([ ['id' => 33, 'O...

0 Likes 1 Replies
posted 1 day ago

Add a <br /> after the <<Previous Next>>

Add a <br /> after the <<Previous Next>> in the database list display. I have this...

0 Likes 1 Replies
posted 18 hours ago

Laravel Application Management

I created a Laravel Application to manage Laravel Applications called Maravel. Anyone who wants to t...

0 Likes 0 Replies

Laravel Shows White Page

Once installed react in Laravel and executed npm run dev Laravel shows white page. The console show...

0 Likes 0 Replies
posted 5 days ago

schedule:run calls for translation and causes an exception

Hi, in my production machine I set up a crontab like this: * * * * * www php /var/www/artisan schedu...

0 Likes 2 Replies
posted 5 days ago

apprendre laravel

Salut à tous je suis un petit nouveau j'aimerai bien apprendre laravel si vous pouvez m'aider je ser...

1 Likes 1 Replies

problem parsing .env filela

Laravel Version: 9.30.1 PHP Version: 8.1.10 Database Driver & Version: MariaDB 10 php artisan pa...

0 Likes 6 Replies

can we get same structure using relation

Hi , Can i get the data in same structure using the relation for ex:: I have to tables One is User a...

0 Likes 1 Replies
posted 6 days ago

Laravel couldn't find uploaded files from storage and i get

Laravel Version: "laravel/framework": "^9.14", PHP Version: 8.1 After making...

0 Likes 0 Replies
posted 6 days ago

Nginx log start time of the request

Hi all. How I can get initial time of the request in Nginx. Default log format shows the end time of...

0 Likes 0 Replies

custom domain use for users in a sinle project

How to use custom domains in Laravel? How to give different domains to different users in a project?...

0 Likes 1 Replies
posted 1 week ago

multiple payment API using checkbox

How can i make multiple payment API using checkbox data in table? I mean: Import CSV file and store...

0 Likes 0 Replies

Eloquent query builder does not work correct for morph to re

Hi all. I'm using Constraining Eager Loads With Relationship Existence but getting unexpected result...

1 Likes 5 Replies
Solved

Model with several tables or migrations

So far I have created one migration (database table) per model. P.ex. I have a user model, a user mi...

0 Likes 5 Replies

How to define eloquent relationship using parental package

I'm using parental package by caleb in my laravel project There i've two models: Intake, Trainee (wh...

0 Likes 0 Replies

How to get the export button using controller?

I want to export the data from the Datatables to excel or CSV files. I have been searching for more...

1 Likes 1 Replies

Laravel IOT MQTT Integration

Client - Laravel Server Communication using MQTT. I read about a Laravel package (https://github.com...

0 Likes 0 Replies
posted 1 week ago

Dynamic Open Graph Images using Laravel

We recently created a package where you can create dynamic open graph images (and the metatags neede...

0 Likes 0 Replies
posted 2 weeks ago

Route broken image from 404 to blank not found?

My site loads a full 404 page for any missing images. I want to reduce the server load and just have...

0 Likes 2 Replies
posted 2 weeks ago

Get total hours except specific time range

I just want to get a total hours and exclude specific time, example is 7:00 AM to 4:00 PM is 8 hour...

0 Likes 1 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?

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

© 2022 Laravel.io - All rights reserved.