Thank you for your interesting in contributing with PowerGrid.
If you have any questions, do not hesitate to reach the community in the repository Discussions tab.
1 .Fork
git clone https://github.com/Power-Components/livewire-powergrid.git && livewire-powergrid
Install all dependencies with composer and NPM.
composer install
Then run:
npm install
- Create a new branch
Create a new branch specifying feature
, fix
, enhancement
.
git checkout -b feature/my-new-feature
- Code and check your work
Write your code and, when you are done, run the CS Fix:
composer fix
Run tests and static analysis:
composer check
- Build Assets
If you have updated or added JavaScript code, you need to recompile the assets and include it in your commit.
npm run build
- Tests
Including tests is not mandatory, but if you can write tests, please consider doing it.
Besides all technical benefits, tests also help to prove your concept and make the maintainers' job easier. PowerGrid is developed entirely by volunteers.
- Commit
Please send clean and descriptive commits.
- Pull Request
Open a Pull Request (PR) and use the template for detailing your changes and motivations. Please make only one change per Pull Request.
If you never wrote a PR before, see this excellent example by @vs0uz4 for inspiration.
💓 Thank you for contributing!