Note: Besides serving as an issue tracker for symphonyextensions.com and all things related to the extensions ecosystem this repository aims to provide a comprehensive set of best practices, guidelines and resources regarding extension development and maintenance. We encourage every extension developer to not only keep an eye on this repository (watch/star), but to join the discussion and help us build a platform that in the long run finally might define who, what and wherefore the "symphonists" are :)
- 1. Extension Ecosystem
- 2. Extension Development
- 3. Extension Publishing
- 4. Extension Migration
- 5. Extension Adoption
- 6. Extension Transfer
- 7. Extension Consolidation
- 8. Extension Deprecation
- 9. Extension Request
If you built an extension that might also be useful for other Symphony developers you should think about publishing it. Here's a list of best practices you should follow if you want to share your work with the community:
- Use branches to develop and maintain your extension on github. Your basic setup should contain a
master
-branch (representing the latest stable, tested and documented release) and anintegration
-branch (that is used for ongoing development and incoming pull requests and should cointain stable code too). Experimental and instable stuff should happen in separate feature-branches. - Use releases to publish versions of your extension on github.
- Use semantic versioning for your extension's version numbers.
- Use tags to tag your releases with the appropriate version number. Don't follow github's recommendation of adding a prefixed
v
, just use the plain version numbers as tag (e.g.1.0.0
instead ofv1.0.0
) - Add a short changelog to each release listing all relevant changes since the previous release.
- Get familiar with the official Symphony Extension Metadata Schema and add a valid and comprehensive extension.meta.xml to your repo.
- Add a descriptive markdown-formatted readme to your repo explaining what your extension does and how to use it.
- Keep your readme focussed. You don't have to include everything in here – github wikis are a great way of providing additional documentation, tutorials or examples. 1
- If you set up a wiki you should mention it in the readme. A list of links to all wiki pages ain't a bad idea either.
- Make use of github topics to tag your repo:
symphony-cms
andsymphony-cms-extension
are the official recommended tags for each extension-repository. Depending on the scope of your extension you might also want to add more specific topics (following thesymphony-cms-xyz
-syntax, e.g.symphony-cms-multilingual
). - Add a valid licence to your repo – MIT is a good choice that's used by Symphony itself too.
- Publish your extension on github
- Publish your extension on symphonyextensions.com
- You might also want to spread the word in the official chat or forums to get some feedback about your extension.
- The official Symphony website also houses a collection of extensions but we don't recommend publishing new extensions there at the moment.
1) This holds especially true if you plan to include tables in your readme – they're not supported on symphonyextensions.com and are better of in a wiki.
If you own extensions that you no longer want to support, update or care about we'd encourage you to take the following steps to help us find a new home for them:
- Submit a new issue (one per extension).
- Give it a descriptive title: "Extension Adoption: Extension Name".
- Add a link to the extension repository.
- Optionally add a short statement about the current state of the extension.
- If possible give Nicolas (@nitriques) admin access to the repo so he can manage the transfer for you. 1
Depending on the state, popularity and usefulness of the extension we will then either …
- … try to find a developer who is willing to take over ownership and further maintenance/development.
- … transfer the repo to the symphonists organization and provide best possible support there.
- … mark the extension as deprecated and transfer it to the "symphonists archives".
If you don't give Nicolas admin access to the repo we'll need you to take action after a solution is agreed upon. Thus it would be great if you could keep an eye on the discussion and be available to manage the repo transfer yourself.
1) If the repository is owned by a user account you might need to set up a temporary organization to give other users permission to transfer the repository. Please refer to the github help for details about transferring a repository and repository permission levels.