Skip to content

concretecms/sample_composer_package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Composer Package

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!

About

Example composer based Concrete CMS package

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages