Category "laravel"

Job stay in pending list after processed

I am running Laravel 8, horizon 5.4 After I initiate the job, it processes successfully as it should, but in the Horizon dashboard it stays pending list, it doe

How to export all rows using Export Buttons of Backpack Laravel?

I'm looking to export all rows of users table using the export button of Backpack in Laravel. Currently the export button only exports the lignes of 10 rows sho

Laravel Vapor file upload fails

Following the Laravel Vapor documentation for file uploads (https://docs.vapor.build/1.0/resources/storage.html#file-uploads), I'm encountering the following er

Laravel Fortify not triggering 2FA challenge?

I've used Laravel Fortify to write some authentication for my app and I've setup the enable part of the 2FA, and that all works fine, but the problem I'm having

Use environment variables in Laravel Nova

I am trying to follow: https://laravel.com/docs/9.x/mix#environment-variables My project setup is Laravel Framework 8.4 Php 7.4 Laravel Nova 3.0 .vue file in /n

How to render html from a @foreach loop in a textarea

Using Laravel 8 livewire, I need to render a list of name ($list) on per line in a textarea. I do this <div class=" border border-red-800 rounded-lg mt-8 p-4

getting null values from the collection

I have an array that comes from an API request that has the stucture below. ^ array:40 [ "id" => 2 ... "categories" => array:2 [ "data" => ar

Product varient size validation on Add to card in laravel

I'm using Laravel and I'm struggling a little bit with Add to cart button validation. The scenario is: if user want to Add to cart to cart is not added without

Laravel/Livewire display data on table if today is between 2 dates

I'm trying to populate my table with data if today is between posting date and closing date. public function mount(Career $career) { $this->today

How To Access A Column In M-M Relationship Table In Laravel

I made a many-to-many relationship in laravel, where users can make announcements on an event. The problem is that I want to retrieve the announcement message f

How can I make condition for class of x-jet-dialog-modal?

With laravel 8.68 and livewire 2.7 opening modal dialog (which can be used in many cases) I want to change background color/color depending on parameter. I try

Laravel ajax auto populate field based on selection

I am working to solve an ajax issue I have where I am trying to auto populate an amount field based on the selection from the drop down box. My table is layout

Mailhog is not working in Laravel 8.x + Sail

I'm using Sail with Laravel 8.x I set it up and it's working perfectly. However, as said here in the Doc, I'm supposed to be able to access the MailHog web inte

How to fix this error : Ask your hosting provider to use PHP 7.2.5 or higher for both HTTP and CLI?

I am facing the issue while setup the Akaunting application. I cloned this repo from GITHUB source 1: https://github.com/akaunting/akaunting. I followed all the

Laravel 5.5 won't render email with PHP 7.4

I am trying to render an email in Laravel 5.5, but no matter what I do, I get the following error on render: ErrorException (E_NOTICE) Trying to access array o

Laravel TALL npm run dev --openssl-legacy-provider is not allowed in NODE_OPTIONS

I have just updated the npm packages of my Laravel project right at my MacOS system (I have been developing on Laravel Homestead since so long but npm didn't wo

When I use ngrok to load my Laravel app , it only displays basic html and no css

The website my groupmates and I are working on is only locally available on my laptop. I want them to be able to open the website from their own homes, so that

Laravel 9: Custom login

I am trying to change the default table that laravel 9 uses to authenticate the users. But while I can see that user is authenticanted in the login function of

Axios getting blocked by laravel 7 cors. No "access-control-allow-origin-header"

I've a backend app working with Laravel 7 and a frontend which works with VueJs. My Laravel app is running on laradock (nginx, postgres etc...) Using Postman th

How to inject custom js to shopify via app

Hello I'm pretty new to shopify app development. I created the shopify app with laravel and now I generated a js file with content. What I want is to inject thi