Here's another modern WordPress stack, proudly made in Ukraine 🇺🇦🇺🇦🇺🇦. This local environment for WordPress in Docker comes with composer and other essential tools to help you get started.
- Docker support - Docker
- Dependency Manager for PHP - Composer
- Dependency Manager for WP (plugins/themes) - WordPress Packagist
- For environment variables - phpdotenv
- WP CLI support - WP CLI
- PHP Code Style for WordPress - Coding Standards
- PHP Mess Detector - Mess Detector
- Install Docker
- Run
docker-compose up -d
- Run
docker-compose exec php composer install
- Run
docker-compose exec php composer wp:import
- Open website - localhost
- Admin area(credentials: admin/admin) - localhost
- Run PHP Code Style check
docker-compose exec php composer cs
- Run PHP Mess Detector check
docker-compose exec php composer md
- Run WP-CLI example
docker-compose exec php composer wp:info
- Export DB and Uploads
docker-compose exec php composer wp:export
- Import DB and Uploads
docker-compose exec php composer wp:import