matteodv51/laravel-ajax-view

Simply create a blade view integrating an ajax script with the csrf token

dev-main 2023-04-27 02:21 UTC

This package is not auto-updated.

Last update: 2024-12-20 08:38:01 UTC


README

image

Installation

You can install the package via composer:

composer require matteodv51/laravel-ajax-view

Usage

add <meta name="csrf-token" content="{{ csrf_token() }}"> and <link rel="stylesheet" href="{{ asset('css/ajax/_ajax_form.css')}}"> in your header layout base

run php artisan make:ajax-view {filename : the name of your file}  

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.