trinsyca/docker
最新稳定版本:v1.1.1
Composer 安装命令:
composer require trinsyca/docker
包简介
Docker Setup [frontend, backend, fullstack] for Laravel
关键字:
README 文档
README
Welcome to the Trinsyca Docker project
Please choose your preferred language
What is this project for?
- This project allows you to easily set up Docker configurations for your PHP projects.
- You can integrate frontend, backend, or full-stack setups with just a few commands!
Installation 🚀
To integrate this project into your own, simply run the following command:
composer require trinsyca/docker
This will add the necessary Docker files and configurations to your project.
After running the installation commands, the project will automatically execute the command composer require trinsyca/trinsy.
During this process, you will be prompted with the following question in the terminal:
Do you trust "trinsyca/trinsy" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?]
- Please type
yto allow and proceed.
This will install the trinsyca/trinsy plugin, enabling you to use the Docker setup commands
Available Commands ⚙️
Once installed, use the following Composer commands to set up the Docker configurations for your project:
For Frontend Docker Setup:
-
composer trinsy:docker-frontend
For Backend Docker Setup:
-
composer trinsy:docker-backend
For Fullstack Docker Setup (Frontend & Backend):
-
composer trinsy:docker-fullstack
To Remove Docker Files:
-
composer trinsy:docker-remove
How It Works 🔧
- Frontend: Adds Docker configuration for frontend development.
- Backend: Adds Docker configuration for backend services, including database and API setup.
- Fullstack: Combines both frontend and backend Docker setups.
- Remove: Safely removes the Docker-related files from your project.
Note 📌
Before removing Docker files, you will be prompted with a confirmation to ensure you want to proceed.
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-08