Laravel 9 CRUD Example
Example of create, update, delete and read operations in laravel 9 version.
Download
Step 1 (download the project.)
git clone https://github.com/aliyilmaz/laravel-9-crud-example.git
Step 2 (install packages.)
composer install
Step 3 (Create the database. Update database information in .env file.)
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
Install
php artisan migrate
Run
php artisan serve
Test
http://127.0.0.1:8000/posts