Support the ongoing development of Laravel.io →
posted 14 minutes ago

Install laravel sail with specific older version (8.1)

I would like to work with the repo of [https://github.com/JeffreyWay/Laravel-From-Scratch-Blog-Proje...

0 Likes 0 Replies

complex database: Model, migration, factory needed per table

I am trying to re-eingineer an application. I have the database scheme. Is it wise to make a model,...

0 Likes 1 Replies

Fresh install on Ubuntu with Sail example-app throws errors.

Just spent several days looking over the documentation, installing everything to try Laravel on Ubun...

0 Likes 0 Replies
posted 1 week ago

Adding my own code to Laravel

This is a very general question and I don't see ANY category of the tags that fits it very well. I h...

0 Likes 1 Replies

Lumen - createPdoConnection is too slowl

I have an Api Service using Lumen 8 with a quite a lot of traffic, somewhere around 350 requests/sec...

0 Likes 0 Replies
posted 1 week ago

belongsToMany with pivot

Hello, I need to extract related information from a pivot table (country_id). How to do please? Tabl...

0 Likes 1 Replies
Solved

SQLServer and Laravel: Invalid Object Name error

I migrated my MySQL database to SQL Server 2019. I made the required configurations: php.ini extensi...

1 Likes 1 Replies
posted 1 week ago

Laravel Form Validation Inconsistency

Laravel Version: 9.42.0 PHP Version: 8.1.13 Database Driver & Version: Description: Before lar...

0 Likes 1 Replies
posted 1 week ago

Why won't Composer update?Co

I am running Laravel 9.41.0 but my Composer is just at 2.0.7 and is showing me some deprecation mess...

0 Likes 1 Replies
Solved

Error: Attempt to read property "cpf" on null - Laravel 9

I'm trying to view details of a property that I registered in the bank and I'm getting this error me...

0 Likes 9 Replies
Solved
posted 1 week ago

How to reduce file size of PDF in laravel

I reduced the pdf file size in laravel using configuration 'enable_font_subsetting ' = true and I am...

0 Likes 0 Replies

Paginating an eager loaded relationship

This is a thought on old thread paginate-an-eager-loaded-relationship that I can't comment anymore,...

0 Likes 0 Replies
posted 1 month ago

Undefined variable $roles

<div class="mb-4"> @foreach ( $roles as $role )...

0 Likes 1 Replies
posted 1 month ago

withValidator $validator->fails() make server slow

PHP 8.1.4 Apache/2.4.53 Laravel Framework 9.33.0 I am trying to add messages error in every valida...

0 Likes 0 Replies

Laravel: how can I return redirect()->back() with a variable

Hi, How am I able to use redirect()-> back() width a variable. I tried below code but it is not w...

0 Likes 3 Replies

Feature request: pass arguments to relationship functions

Hi, I could really use the ability to set an argument to a relationship function from a method such...

0 Likes 0 Replies
posted 3 weeks ago

npm run build giving some sort of Alpine error?

Hi, So I tried to do an npm run build (which I use to compile my Tailwind CSS) - and got this weird...

0 Likes 1 Replies

Conditional Validation with dependency to other fields

I am trying to validate import data using Laravel Excel. I got through to using required_if when a f...

0 Likes 5 Replies
posted 3 months 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

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

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.

© 2022 Laravel.io - All rights reserved.