This repository contains various assignments and projects developed using PHP and the Laravel framework. It is intended to showcase different aspects of Laravel, from basic concepts to advanced features.
Welcome to the PHP Laravel All Assignments repository! This collection is designed to help you understand and master PHP and Laravel through practical assignments. Each assignment focuses on a specific topic or feature of Laravel, providing hands-on experience to enhance your learning.
Before you begin, ensure you have met the following requirements:
- PHP >= 7.4
- Composer
- Laravel CLI
- MySQL or any other supported database
- A web server like Apache or Nginx
Follow these steps to set up the project on your local machine:
-
Clone the repository:
git clone https://github.com/your-username/php-laravel-AllAssingment.git
-
Navigate to the project directory:
cd php-laravel-AllAssingment
-
Install dependencies:
composer install
-
Create a copy of the
.env
file:cp .env.example .env
-
Generate an application key:
php artisan key:generate
-
Configure your database in the
.env
file:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database DB_USERNAME=your_username DB_PASSWORD=your_password
-
Run database migrations:
php artisan migrate
-
Start the development server:
php artisan serve
Once the server is running, you can access the application in your web browser at http://localhost:8000
.
Each assignment is organized in its own directory. Navigate to the respective directory to explore the code and run the specific assignment.
This section lists the assignments included in this repository:
- Assignment 1: Description
- Assignment 2: Description
- Assignment 3: Description
- Assignment 4: Description
- Assignment 5: Description
Feel free to explore each assignment's directory for more details.
Contributions are welcome! If you have suggestions, improvements, or additional assignments, please submit a pull request. Follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Happy coding!