This project is a concrete5 sample package that is powered entirely by composer.
To install this package on a composer based concrete5 site, make sure you already have composer/installers
then run:
$ composer require concrete5/sample_composer_package
Then install the package
$ ./vendor/bin/concrete5 c5:package-install sample_composer_package
First, use composer create-project
to begin your own package project.
$ composer create-project concrete5/sample_composer_package
Once this is done, modify the composer.json
to have information about your project and an updated name.
Then set up your VCS
git init
git remote add origin git@github.com/youraccount/yourrepository
git add .
git commit -m "Initial Commit"
git push
Finally, add your git repository to a composer repository. And that's it!