- The example shows how to create an API for the DataTables with Laravel and using MySQL as a database.
- The article of this repo https://blog.stackpuz.com/create-an-api-for-datatables-with-laravel/
- To find more resources, please visit https://stackpuz.com
- Composer
- PHP 8.2
- MySQL
- Clone this repository
git clone https://github.com/stackpuz/Example-DataTables-Laravel-11 - Install the dependencies
composer install - Create a new database and run /database.sql script to create tables and import data.
- Edit the database configuration in /.env file.
- Run project
php artisan serve - Navigate to http://localhost:8000