trinsyca/trinsy
最新稳定版本:v1.1.1
Composer 安装命令:
composer require trinsyca/trinsy
包简介
Trinsyca CLI Plugin for Composer
README 文档
README
Welcome to the Trinsyca Composer Plugin project!
Please choose your preferred language:
What is this project for? 🤔
-
This project provides a Composer plugin for seamless Docker setup in PHP projects.
-
It automatically integrates frontend, backend, or full-stack Docker configurations.
-
You can execute simple commands to set up or remove Docker configurations without hassle!
Installation 🚀
To integrate this plugin into your project, simply run the following command:
composer require trinsyca/trinsy
This will install the plugin and register the necessary Composer scripts in your project.
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 allow the use of composer trinsy commands
Available Commands ⚙️
Once installed, use the following Composer commands to manage Docker configurations:
🐳 Docker Setup
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.
✅ Setup Frontend Docker:
-
composer trinsy:docker-frontend
✅ Setup Backend Docker:
-
composer trinsy:docker-backend
✅ Setup Fullstack Docker (Frontend & Backend):
-
composer trinsy:docker-fullstack
❌ Remove Docker Setup:
-
composer trinsy:docker-remove
How It Works 🔧
-
Frontend Setup: Adds Docker configurations for frontend development.
-
Backend Setup: Adds Docker configurations for backend services, including databases and APIs.
-
Fullstack Setup: Combines both frontend and backend configurations into a unified Docker environment.
-
Remove Setup: Allows you to safely remove Docker files from your project when no longer needed.
Notes 📌
This plugin automatically registers its scripts within your composer.json file.
If you need to re-register the scripts, run:
composer dump-autoload
License 📜
This project is licensed under the MIT License.
Contributors ❤️
We welcome contributions! Feel free to open an issue or submit a pull request.
📩 For support, contact us via GitHub issues.
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-08