Questions tagged [laravel-5.6]

Between 2015 and 2020, the technology world was introduced to Laravel 5. Founded by Taylor Otwell, this open-source PHP development framework revolutionized web development with its user-friendly syntax. If you have any questions relating to Laravel, don't hesitate to use the laravel tag for assistance.

What is the best way to handle an AJAX POST request and a resource controller in Laravel version 5.6?

As a newcomer to web development, I am currently learning about JavaScript and AJAX. Through various iterations of the AJAX call, I have managed to grasp the basics of how it works. My current goal is to send the content of my form to the database. Here ...

I am having trouble getting Stripe Elements to function properly within Laravel

I'm currently developing a subscription app using Laravel and trying to integrate Stripe Elements, but I'm encountering issues with getting it to function properly. Below is my form: <form method="POST" action="/subscribe" id="payment-form"& ...

Issue encountered when integrating vue2-google-maps into a project using vue.js and Laravel 5.6.12

I am currently utilizing Laravel 5.6.12 in combination with vue.js I am attempting to integrate Google Maps using the following GitHub link I am adhering to the instructions provided in the aforementioned link, as follows. Installation npm install vue2 ...

Tutorial: Using Laravel 5.6 to transfer selected value from Dropdown menu to PHP variable using Ajax on a single page

In my current project, I am utilizing Laravel 5.6 alongside PHP 7.1.9. On a specific page (pages/cardview.blade.php), I have a dropdown box with different options and PHP conditions to check the selected value from this dropdown. Based on the selection, ce ...

What is the best method for transmitting pagination information and an array from a Laravel controller to a Vue component?

Here is an example of my controller code: public function index() { $products = $this->product->list(); dd($products); return view('admin.product.index',compact('products')); } After running dd($products);, you can see the result l ...

Unable to display Laravel Vue components in application

Hi there, I'm currently experimenting with Laravel and experiencing an issue where the components I create are not showing up when I run the project. Strangely enough, the example component does appear but any changes I make do not reflect. I followe ...