Skip to main content

Questions tagged [laravel]

The Laravel framework is an open-sourced PHP web framework that allows developers to create dynamic and scalable web applications. The source code of Laravel is hosted on GitHub and released under the MIT license.

0 votes
0 answers
35 views

How can i make my artisan tinker writeable?

I'm doing a Laravel project, and i want to do crud database on the php command line i do php artisan tinker on mu vscode laravel project, and then I got an error message that sounds ErrorException ...
Raka Putra's user avatar
0 votes
0 answers
12 views

Deploying nuxt/laravel site to forge laravel give me an error 500 concerning nuxt chunks

I have an error when deploying the nuxt part of my nuxt/laravel site to forge laravel. I get the following error Cannot find module '/home/forge/my-site.com/.output/server/chunks/app/_nuxt/index-...
Yex777's user avatar
  • 57
0 votes
0 answers
22 views

How to show hidden columns of a table in "phpoffice/phpword"?

In laravel 10 app using "phpoffice/phpword": "^1.2" I need to write with several columns with long width and resulting table in docx file looks not goood, as passing data with 6 ...
mstdmstd's user avatar
  • 2,941
0 votes
0 answers
25 views

Laravel v.11 job don't send email but give no errors

I have this problem with Laravel 11 that I can't solve: I create a command to retrieve data to send by email and this work correctly: class SendEvent5Reminder extends Command { /** * The name ...
Marco's user avatar
  • 1
-1 votes
0 answers
14 views

AWS EB Crontab laravel

I'm running a Laravel application on AWS Elastic Beanstalk and have set up a cron job to execute php artisan schedule:run using the following cron configuration file: files: "/etc/cron.d/...
JoãoM's user avatar
  • 1
0 votes
0 answers
59 views

Attempt to read property "week_id" on null

I am building a school management system I want once a teacher gets to the time table section they will be able to see the subjects they are teaching that day and they should also see the room and ...
Allan's user avatar
  • 51
1 vote
3 answers
58 views

I made Laravel CRUD api and I can't upload an image

for several days I have problem uploading an image with Laravel api. I was sending request via React's modified axios. Code is as follows. axios-client.js import axios from "axios"; const ...
i.rijad's user avatar
  • 46
1 vote
1 answer
55 views

pdf rendering issue with barryvdh/laravel-dompdf

%PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R 11 0 R 13 0 R ...
Chamod Tharindu's user avatar
0 votes
1 answer
30 views

Nginx on VPS proxy to Docker container timeout

I’m new to using docker on servers, I have only used it for local development. I am working on a project that the server has nginx installed on it (the host machine), and also some containers running ...
Jean da Silva's user avatar
1 vote
1 answer
37 views

Laravel - Rollback specific eloquent transaction after many other transactions committed

I will try as much as I can to explain my question, let's say that I have a shipping system that many admins using, one of the shipping steps is to put a selected packages in a container, the problem: ...
Mocha's user avatar
  • 19
0 votes
1 answer
22 views

Laravel Inertia Templating Issue

I've worked with Laravel and Angular before in a headless fashion where I was just building API endpoints with Laravel and consuming those with an Angular front-end but it was a few years ago. I've ...
angler's user avatar
  • 99
0 votes
0 answers
30 views

Laravel Idea type-hints ids as int even if using UUIDs

Could not find any information on this issue. I'm using PhpStorm's Laravel Idea plugin for my Laravel projects. All of our models use Illuminate\Database\Eloquent\Concerns\HasUuids;, and our ...
Phil Tune's user avatar
  • 3,225
0 votes
0 answers
48 views

How to define a Many-to-Many Model relationship with itself in Laravel?

I'm working on a mini chat system and my main model is User. Each User has many Contacts. A Contact is just another User in the system. A User can send an add request to the Contact which upon ...
Ahmed Deghady's user avatar
-1 votes
0 answers
15 views

Recipients unable to claim in my donation application in laravel [closed]

I've followed the steps on the documentation but to no avail. Anyone care to shed some insight? Undefined variable $donations. Error persisting. The donations are handled in the donation controller ...
Julian Tanui's user avatar
0 votes
0 answers
24 views

Running laravel application on AWS EC2

ss of my webpage getting this error, even after trying multiple permission changes and ownership changes. I am trying to run a laravel application in my ec2 instance, after installing all the ...
Bala's user avatar
  • 1

15 30 50 per page