This project demonstrates the use of Laravel Eloquent ORM for handling complex database operations in an elegant and efficient manner. It includes examples of migrations, seeders, and routes to manage users, posts, and comments in a simple blog-like API.
These instructions will get your copy of the project up and running on your local machine for development and testing purposes.
Before you begin, ensure you have the following installed on your local environment:
- PHP >= 8.2
- Composer
- Laravel
- Slimframework
-
Clone the Repository
git clone https://github.com/MrKacmaz/EloquentModels.git
-
Install Dependencies
Navigate to the project directory and install dependencies: For Laravel:
cd EloquentModels composer install
For Slim:
cd SlimModels composer install