Bag is an open-source project and we welcome contributions. Whether you're fixing a bug, improving the documentation, or adding a new feature, we appreciate your help.
To get started, fork the repository and clone it to your local machine. You can find the repository at https://github.com/dshafik/bag.
git clone https://github.com/dshafik/bag.git
To install the project dependencies, run the following command:
composer install
This will install the required dependencies for the project, and install the git hooks.
To run the test suite, use the following command:
composer test
Bag follows the PSR-12 Extended Coding Style standard. Laravel Pint is used to enforce code style. To check your code for style violations, run the following command:
composer style
All commits must adhere to the Conventional Commits specification.
Tip
Pre-commit hooks will automatically run tests, style checks, linting, and validate commit messages.