Category "laravel"

Vue js render with different request

I am making an App with vue js and laravel using API,i am getting original data , but there is an optional parameter that i want to insert in the query to rende

Why opened page with AdminLTE looks broken?

I make site In laravel 9 with Inertiajs/vuejs 3 based on https://github.com/ColorlibHQ/AdminLTE 3 (dark mode). I removed all jquery and use vuejs only. it works

Autheticate via Laravel Sanctum by passing token as a GET query parameter

I know the dangers of passing the token as a GET parameter. I've seen this and this. However, in my case there is no other way because the route will get called

RedisException php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

I have Redis and php-redis extension installed but whenever I wanna use a queue in Laravel I just get the error below RedisException php_network_getaddresses: g

Laravel Sail after cloning from Git repository

I currently have my own Laravel application running on Docker using Laravel sail on Windows 11 using Ubuntu on WSL2. This works fine and as intended. I've pushe

unisharp laravel-filemanager Thumbnail url

Hi I'm using unisharp laravel-filemanager for user to upload their products photos when the image uploaded this address will save in database /photos/44/606074

Variable undefined error in laravel blade component view

Component InputError.php <?php namespace App\View\Components; use Illuminate\View\Component; class InputError extends Component { /** * Create a

InvalidArgumentException View [layouts.app] not found. Larave-8 LliveWire-2

When I change app.blade.php to base.blade.php I am having the following error. InvalidArgumentException View [layouts.app] not found. (View: D:\Code\my-app\ven

Valet is not working with php.8 Nginx return Bad Gateway

Hi I have try to update php to 8.0 but always there a problem with valet to read the new version and I try to solve it without specific instructions but this ti

While creating model with factory, migration and resource controller for api inside new repository, conflict encounters in migration as below:

Used Command: make:model Models/Test/TestApi -a Error: root@bb3433d4a92b:/var/www/nt-app-backend# php artisan make:model Models/Test/TestApi -a Model created su

PHP foreach loop on unknown depth multidimensional array

I have a multidimensional array consisting of a directory structure or a tree if you want, but how can I loop through this data when I don't know the depth of t

ChartJS Tooltip

I am using ChartJS on my project, I followed the integration as indicated on the ChartJS website. My problem is the following My error. I tried several things

Vue 3 Axios post call works but v-model lags a step behind?

I am using Vue.js 3, Laravel and Axios to make a simple post call: processFilters() { self = this; let tags = self.checkedTags.

When the file selected for upload, livewire component is automatically rendering

Is there any possibility to stop Livewire rendering on each click event? Actualy The issue is, if any event triggered from HTML or Javascript, then the render f

How to implement integration with a third-party API for example for a CRM system?

For example, I'm writing my CRM system in Laravel. This CRM system will collect orders from various online stores and marketplaces. One of the marketplaces prov

Do i have to put a foreign key relation to any column in a table with relation with another table? larvavel 8, Sql

I have multiple tables, and some do have columns which are related but I am not certain if I have to put the foreign key relations to all columns which are rela

Cannot connect to laravel-websocket CORS issue

I deployed my laravel application in GCP. I also set up SSL on my application https://myapp.com. It was working fine connecting to the pusher server. Then I s

how add image upload in TinyMCeditor laravel

i'm trying to upload images in between my blog content but when i select images from the gallery its shoes the error Route[/] not found, even though the route i

How to call the increment/decrement function on a nullable field | Laravel | increment | decrement function

I have an integer field, and the default value of the field is null. Migration Schema::table('servers', function (Blueprint $table) { $table->unsignedInt

Cron job not working in Elastic Beanstalk

I have deployed a laravel application in Elastic Beanstalk with Load Balancing. I have to backup my database daily and store it in s3 bucket so I am using Larav