trinsyca / trinsy
Trinsyca CLI Plugin for Composer
Installs: 19
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.0
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
y
to 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.