Laravel 7 blog (Episode-13 how to fetch records (category) in Datatables using Ajax in english)

Опубликовано: 24 Октябрь 2024
на канале: Code Shotcut
304
12

Laravel 7 blogging system

In this video we are going to fetch all the categories from database into datatables using ajax also we are going to discuss about the get and post request for datatables.

Yajra Datatables link : https://yajrabox.com/docs/laravel-dat...

Cdn Datatables : https://cdn.datatables.net/

Command for yajra Datatables package : composer require yajra/laravel-datatables:^1.5

incase if you got the error : PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted

Then try this command : COMPOSER_MEMORY_LIMIT=-1 composer require yajra/laravel-datatables:^1.5

If you still receive this error then clear the cache of application using commands

php artisan config:cache
php artisan cache:clear

then try the below command again

COMPOSER_MEMORY_LIMIT=-1 composer require yajra/laravel-datatables:^1.5