Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.75 KB

contributing.md

File metadata and controls

22 lines (13 loc) · 1.75 KB

Cashier Contribution Guide

This page contains guidelines for contributing to the Laravel Cashier. Please review these guidelines before submitting any pull requests to Cashier.

Pull Requests

The pull request process differs for new features and bugs. Before sending a pull request for a new feature, you should first create an issue with [Proposal] in the title. The proposal should describe the new feature, as well as implementation ideas. The proposal will then be reviewed and either approved or denied. Once a proposal is approved, a pull request may be created implementing the new feature. Pull requests which do not follow this guideline will be closed immediately.

Pull requests for bugs may be sent without creating any proposal issue. If you believe that you know of a solution for a bug that has been filed on GitHub, please leave a comment detailing your proposed fix.

Feature Requests

If you have an idea for a new feature you would like to see added to Laravel, you may create an issue on GitHub with [Request] in the title. The feature request will then be reviewed by @taylorotwell.

Coding Guidelines

Laravel Cashier follows the PSR-0 and PSR-1 coding standards. In addition to these standards, below is a list of other coding standards that should be followed:

  • Namespace declarations should be two lines below <?php.
  • Class opening { should be on the same line as the class name.
  • Function and control structure opening { should be on a separate line.
  • Interface and Trait names are suffixed with Interface (FooInterface) and Trait (FooTrait) respectively.