concretecms / sample_composer_package
Sample package that is installable via composer
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 8
Forks: 3
Open Issues: 0
Type:concrete5-package
Requires
- concrete5/core: ^8.2
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!