Category "laravel"

How to find data in other row with laravel-excel

I'm using maatwebsite/excel to import an excel file with laravel and save data to database In my excel file I have a column name "Ref" and an other name "toRef"

How to test a Laravel project for duration of requests

In a headless Laravel project we use unit and feature test. The unit and feature tests checks the input and output of the requests and the methodes but they won

ImageManagerStatic how to add copyright symbol on image

I am trying to add a copyright symbol onto an image with the ImageManagerStatic in Laravel, but it does not convert the code (©) to the symbol (©)...

Unit testing with get request

I am trying to create a unit test for one of my api. In the frontend, I send it this way... params = { participants: JSON.stringify(participants), secti

Does laravel sanctum only generate access_token?

I am trying to understand the basic flow of laravel sanctum in a SPA(vuejs) application. So far what I understood is: #It creates a middleware for API authentic

Laravel - Running Horizon in Google Cloud Run (via Docker)

I'm trying to set up laravel horizon to run on my google cloud (run) containers. I have gotten installed successfully, however when I navigate to the dashboard,

Vuejs + Laravel router redirection issue

After login, page should redirect on dashboard component and it does but then again redirect on laravel app url Route : I have used Vue Router const routes

Controller Target Class does not exist?

Im trying to follow a larval tutorial and make a controller. This is what I have so far and it works for the guy in the video but mine says controller not found

Laravel Excel Queue consume too much RAM

I have set up Laravel queue to read excel files using your Laravel excel and it works great for small files. But for large files (100+mb) and 400k+ records, it

Laravel Horizon internal server error on 'horizon/api/*'

I tried to implement Horizon, from the terminal when I run commands like php artisan horizon:status or php artisan horizon:list I get positive feedbacks, everyt

Laravel Backpack

I need help. I am currently working with Laravel backpack and I have the following problem: I have a field called Media, that field has two behaviors, one to up

ErrorException Trying to get property 'nom_service' of non-object [closed]

pls help I tried the maximum ways but no result, I'm beginner in laravel!!! liste.blade.php <td> {{$data->candidature->dem

Laravel model - CRUD only with records where one column = certain value?

Suppose i have a laravel model that works with a certain (MySQL) database table. Inside of this table there is a column named 'administration'. (example: could

Can I modify a failed Laravel (redis/horizon) job payload before retrying?

Locally, I use the database queue driver, but on production, we use Redis with Horizon. Recently, I noticed a job failed due to a tiny issue in the payload (a s

How to set compilerOptions.isCustomElement for VueJS 3 in Laravel project

I'm working on VueJS 3 inside Laravel project and I'm using a JS file which providing me with elements that I use for markdown toolbar. Basically it's a set of

Laravel Livewire Model set default value

I have a table that I am generating through an iterative loop. The issue is that there is an input field of type date. When I try to attach my livewire model, i

Trying to send data from query to another function

first i have two problem here the first problem when i run this query it gives me this Error //ERROR SQLSTATE[42S22]: Column not found: 1054 Unknown column '390

Create restrictions on the Laravel registration form

I want to create a registration form in Laravel that the user can only register once in the registration section of the site during a period of several months,

How to stop livewire from updating input when using alpine.js

So i'm using livewire and alpine.js, I am trying to stop the client from contacting the server so much when filling in input boxes (i already know you can use m

akaunting HR employees module employees.min.js file

I have just installed akaunting (https://github.com/akaunting/akaunting) I wanted to add a Loans component, so I dupplicated everything from positions, but then