Skip the setup. Our team will have you taking orders in 24 hours. Get started →
Resources

Contribution Guide

New features Reporting bugs Which Branch? Compiled Assets Development environment setup How to contribute Development tools Reporting securit...

Interested in contributing to the development of TastyIgniter? All contributions are appreciated and welcome: from opening a bug report to creating a pull request.

Before contributing, please read the code of conduct.

To order to learn a little more about how TastyIgniter operates, we suggest that you read the documentation, if you're just beginning.

If you have a feature idea, the TastyIgniter forum is the best place to suggest it. Please do not use GitHub issues to suggest a new feature.

Use GitHub only if you plan to contribute and develop a new feature. If you'd like to discuss your idea first, you can always join us on Discord before posting it "officially" anywhere.

Please don't use the main GitHub for reporting issues with extensions or themes. If you have found a bug in an extension or theme, the best place to report it is with the author.

Issues are a quick way to point out a bug. If you find a bug in TastyIgniter then please check a few things first:

  1. Search the TastyIgniter forum, ask the community if they have seen the bug or know how to fix it.
  2. There is not already an open Issue
  3. The issue has already been fixed (look for closed Issues)
  4. Is it something really obvious that you can fix yourself?

When you are creating a bug report, please include as many details as possible. Fill out the required template, the information it asks for helps us resolve issues faster

Please be very clear on your commit messages and pull request, duplicate or empty commit or pull request messages may be rejected without reason.

Note: This section applies specifically to those sending pull requests to any repositories under the TastyIgniter organization.

All bug fixes should be sent to the latest stable branch that supports bug fixes (currently 4.x and master for packages). Bug fixes should never be sent to the develop branch unless they fix features that exist only in the upcoming release.

Minor features that are fully backward compatible with the current release may be sent to the latest stable branch.

Major new features or features with breaking changes should always be sent to the develop branch, which contains the upcoming release.

If you are unsure if your feature qualifies as a major or minor, please ask Sam Poyigi in the #core channel of the TastyIgniter Discord server.

If you are submitting a change that will affect a compiled file, do not commit the compiled files. Due to their large size, they cannot realistically be reviewed by a maintainer. This could be exploited as a way to inject malicious code into TastyIgniter. In order to defensively prevent this, all compiled files will be generated and committed by TastyIgniter maintainers.

tastyigniter/TastyIgniter is the stand-alone application for installing tastyigniter/core using Composer.

  • Make sure Composer accepts unstable releases from your local copies by adjusting the value of minimum-stability in composer.json to dev.
  • Run composer install to install composer dependencies.
  • Finally, run composer update "tastyigniter/*" --prefer-source to clone TastyIgniter packages into the vendor directory for development.

Follow these steps:

  • First you need to complete the development environment setup
  • Identity the repository you want to contribute to
  • Fork the repository
  • Clone your forked repository into the development environment
  • Checkout the current release branch (3.x or 4.x)
  • Make your changes
  • Run composer test to run the test-suite on your changes
  • Commit and push your changes with a descriptive message.
  • Submit in the pull request on GitHub

The CI/CD workflows must run successfully on your pull requests to be merged into the release branch.

Most TastyIgniter contributors develop with PHPStorm. However, feel free to use your preferred IDE.

To serve a local TastyIgniter website, Laravel Valet (Mac), XAMPP (Windows), and TastyIgniter Docker (Linux) are popular choices.

If you wish to contact us about any security vulnerability in TastyIgniter you may find, please send an e-mail to [email protected]

You are very welcome to contribute to the TastyIgniter documentation. Please follow these rules if you want to contribute. Here's how styling perfect TastyIgniter documentation pages is done:

  • Try not to use H1 headers.
  • A TOC list would be generated automatically for each page with at least one H2 header. The TOC would have links to all of all the page's H2 headers.
  • The introductory text would be displayed below the TOC.
  • Try to use only H2 and H3 headers.
  • Each H2 and H3 header could have a link defined as <a name="event-handlers"></a> or have it generated automatically.
  • Avoid short, 1 sentence paragraphs. Combine short paragraphs and try to be a bit more verbose.
  • Avoid short paragraphs hanging below code sections. Combine these paragraphs with the text above the code blocks.
  • Use the inline code tags for all code-related - variable names, function names, syntax examples, etc.
  • Don't hesitate to make cross-links to other documentation articles. There is no need to add links to the same article in the same paragraph.
  • For your reference, see the pages or themes files.

For more information on contributing, read the guide here

Did this answer your question?

Your feedback helps us improve our help articles.

See a mistake? Edit this page on GitHub

Need more help?

Explore the help center, join the community, or get priority support from the TastyIgniter team.