Category "laravel"

Laravel validation for numbers and hyphens

How do you validate the numeric values with Hypen's (-) ? I just want to validate the numeric value with Hypen's and without Hypen's. Thank you so much ! For ex

Can't send mail with Lumen framework and no error appears

Since yesterday I have had problems sending emails with Lumen. I think I have followed all the steps in the documentation correctly, but unfortunately I cannot

How to make notifications as well deleted when deleting particular message on a chat box

I am developing an application using Laravel and Vue JS which includes a chat feature also. When user sends a new message admin gets a notification. Now i want

Laravel Livewire Tables - Filter not working

Noob question (sorry in advance if it's dumb) but I'm honestly trying to understand it all. I'm new to Laravel and still finding my way around. I'm using Larave

multistep form with fieldset is not going to next fieldset even if required field is filled

I have a multistep form with fieldset, but on the next button click, it is not going to the next step it still shows the required field is empty. Blade <form

Laravel form post data from placeholder value

I want to pass the data on a form placeholder without user input, want to know if that is possible... Below is my form in view @extends('layouts.app') @section

Back end to Back end API request and response

I have an app built on laravel 8 with a Vue Spa front end, using Sanctum. I have a controller method that requests from another Laravel project (using its Sanct

Prevent to remove spcaes between Action Icon of DataTable for HTML created in the ajax response

Video Link: https://drive.google.com/file/d/1vWfoYWsOT_DSfKOTuE1dH2xxhdl51UCd/view?usp=sharing I am creating the HTML code to redraw dataTable in ajax response.

cors issue in post request while deploying laravel inside docker

I have a laravel app which is running behind nginx proxy manager. The laravel app is running inside a docker container and nuxt frontend is also running inside

Display Leaflet marker using latitude and longitude from XAMPP database using Laravel framework

I need help with this problem since I tried quite a few tutorials and videos, but I still can't implement them. The homepage of my website including the Leaflet

Storing Laravel Logs using InfluxDb, Telegraf and Grok

I'm trying to centralize all Laravel logs using Telegraf and visualize them with Grafana. For now I can store logs with the following format: [2022-03-31 12:08:

Trying to import vue2-google-maps in blade.php file

I'm was trying to import vue2-google-maps in my blade.php file but failed. Is there any possibility to to import vue2-google-maps in blade.php file. Following i

Whay not jQuery .sortable is not a function?

When I am Create Drag and Droppable Datatables Using jQuery UI Sortable in Laravel Then Drag and drop not working in this code ... Create Drag and Droppable Dat

Facade does not implement getFacadeAccessor method

I got this error message after trying to downgrade laravel 9 to 8 cause i recently downgraded my php version from 8 to 7.3 In Facade.php line 178:

Botman ChatWidget available methods only work on click event

I want to use botmanChatWidget.say(text) on page load but it only works on click event. Help!

variable value not getting displayed on laravel blade

I have following in my laravel blade file. @slot('title') {{ $user->first_name }} {{ $user->last_name }} @endslot <?php if (App\Models\Departme

laravel fortify sanctum SPA issues on forge

My setup is working properly locally but apparently I'm getting a 401 issue on laravel forge for my laravel-fortify-sanctum basically I use laravel fortify for

Pusher Cannot read properties of undefined (reading 'push')

I want to update the list of users with pusher. When I submit the console shows this error: enter image description here I also get Uncaught refering to pusher.

Call to undefined method Illuminate\Database\Eloquent\Builder::links() error when attempting to paginate

I'm trying to create a simple filter system with a search box, service, category and a way to sort the items in my laravel controller. However, I am getting an

Error: Ziggy error: 'id' parameter is required for route

I am working on single SPA using laravel and inertia js. I am using multi language as well. So I am passing language as prefix parameter like this. Route::group