I want to send the json data from view to controller using ajax. How can I achieve that? The data in local storage is [{"productId":2,"productCost":"630","produ
I am trying to return HTML from Laravel controller, but it is returning as plan text: Example: <input type="checkbox" class="row-select" value="9"> ->a
I have 3 tables structure like below:- products id name 1 apple 2 orange branches id name 1 Branch 1 2 Branch 2 stocks id branch_id product_id qty 1
Currently I am building rest API using Laravel. For authentication, I am using the Sanctum package. Every time a user is logged in it generate a token that look
I followed this https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/frameworks/vuejs-v2.html#integrating-a-custom-build-from-the-online-bui
I'm doing a project on Laravel 7 with FakerPHP, I want to populate my database with some random images and at the same time saving them on my local storage fold
framework versions laravel 6.20 lighthouse 5.3 Problem I'd like to use toOthers() method like this (laravel doc) in lighthouse but it seems @broadcast doesn't h
I am working on a web client which does a lot of AJAX request. The backend is written in Laravel. If the backend throws a PHP exception, the backend sends a JSO
I'm trying to hide a div in mobile, and display flex with md screen & above, here's my code: <div class="hidden md:flex"> <x-navbar.nav
When using Intervention\Image in laravel on lambda The following error has occurred. By the way, it works in the local environment. I have to add gd. [2021-08-
I am working on laravel / vue project and i want to pass a value from laravel blade to the vue component but i get this error : Missing required prop: "id" at
Use identifier is used when we want to send some outer environment variables inside closures so I have a scenario. $invoiceList = UserInvoice::where('user_id',
I want to translate text inside the button. <?php if ($product->category_slug === 'bramy-przesuwne' || $produc
I wanted to order by name the Categories (relationship field) of my CreateOperation. It is ordered by default by id. protected function setupCreateOperation()
In my web app built on Laravel, which under the hood uses an npm/Webpack build process, I'm currently using the SCSS icon sheet versions of FontAwesome like thi
I've got a query that I'm running in my project on a model called Domain, it returns all domains where the status column of a domain matches complete and a date
I've installed and configured meilisearch + Laravel Scout package. My Model: class Post extends Model { use Searchable; } When I run php artisan scout:impo
I'm building my first laravel API and when I try to validate some mock form data using Postman with POST method, the application returns to me the HTML of the i
I am trying to change Laravel Jetstream's logic in order to join a default team at registration rather than create a personal team. I found the method that does
Im creating a Website with Laravel nova. When installing nova by default you get a login, a users table and a dashboard. Now I need to add a second login for an