CodelyTV / php-ddd-example

🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6

Home Page:https://pro.codely.tv/library/ddd-en-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can a dependency be added to the project?

nabby27 opened this issue · comments

I do not have composer installed on my local computer and I see that it is not installed in the php docker container, is there a way to install a dependency in the project that I am not seeing? or do I have to install composer on my local computer?

You can just edit the composer.json file and run a make composer-update command, or you can define a new task such as composer-require in the Makefile such as the current composer-update which would also require the arguments of the dependency to require and it version.

It would be awesome if you want to contribute with a PR implementing it 😊