concretecms/sample_composer_package

Sample package that is installable via composer

v0.2 2017-10-26 17:52 UTC

This package is auto-updated.

Last update: 2024-09-19 05:28:37 UTC


README

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

Using this project as a skeleton

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!