Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avnsh1111/laravel-docker-with-php8.2-apache-mysql
A Dockerized development environment for Laravel, featuring PHP 8.2, Apache, and MySQL. Kickstart your Laravel project with this pre-configured stack.
https://github.com/avnsh1111/laravel-docker-with-php8.2-apache-mysql
Last synced: about 2 months ago
JSON representation
A Dockerized development environment for Laravel, featuring PHP 8.2, Apache, and MySQL. Kickstart your Laravel project with this pre-configured stack.
- Host: GitHub
- URL: https://github.com/avnsh1111/laravel-docker-with-php8.2-apache-mysql
- Owner: Avnsh1111
- License: gpl-3.0
- Created: 2023-09-06T04:43:32.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-13T06:49:24.000Z (over 1 year ago)
- Last Synced: 2023-09-13T14:47:07.603Z (over 1 year ago)
- Language: Dockerfile
- Size: 26.4 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel-Docker-With-PHP8.2-Apache-MySQL
Welcome to the Laravel-PHP8.2-Apache-MySQL development environment repository. This project provides a Dockerized setup for Laravel development, equipped with PHP 8.2, Apache, and MySQL.
## Getting Started
Follow these steps to set up your development environment:
1. Clone this repository to your local machine:
```
git clone https://github.com/avnsh1111/laravel-docker-with-php8.2-apache-mysql.git
```
2. Navigate to the project directory:
```
cd laravel-docker-with-php8.2-apache-mysql
```
3. Place your Laravel project within the `laravel` directory in this repository. You can do this by copying or cloning your existing Laravel project into the `laravel` directory.4. Start the Docker containers:
```
docker-compose up -d
```
5. Access your Laravel application in your web browser at `http://localhost:8080`.If your Laravel project is not running after the above steps, follow these additional instructions:
6. Access the terminal within the `laravel-php` container:
```
docker-compose exec laravel-php bash
```7. Run `composer install` to install Laravel's dependencies.
8. After the installation is complete, exit the container's terminal:
```
exit
```Now, your Laravel project should be up and running on port 8080. You can access it in your web browser at `http://localhost:8080`.
## Features
- Laravel Framework: Utilize the power of Laravel to build modern web applications.
- PHP 8.2: Benefit from the latest PHP features and improvements.
- Apache Web Server: Host your Laravel project with the Apache web server.
- MySQL Database: Manage your application's data with MySQL.
- Dockerized Environment: Ensure consistency and easy setup across different systems.
- Database Seeding and Migrations: Simplify database management during development.
- Sample Application: Start with a sample Laravel application or build from scratch.
- Composer Dependencies: Easily add and manage Composer packages for your Laravel app.## Contributing
We welcome contributions! If you have suggestions, bug fixes, or new features to add, please submit a pull request or open an issue on this repository.
## License
This project is open-source and licensed under the GNU General Public License (GNU GPL). Feel free to use, modify, and distribute it in accordance with the terms of the GNU GPL.
Happy coding with Laravel, PHP 8.2, Apache, and MySQL!