|
| 1 | +# Contributing to FileViewEntryPlugin |
| 2 | + |
| 3 | +Thank you for your interest in contributing to FileViewEntryPlugin! We welcome contributions from the community. |
| 4 | + |
| 5 | +## Getting Started |
| 6 | + |
| 7 | +1. Fork the repository on GitHub |
| 8 | +2. Clone your fork locally |
| 9 | +3. Create a new branch for your feature or bug fix |
| 10 | +4. Make your changes |
| 11 | +5. Run tests and code style checks |
| 12 | +6. Submit a pull request |
| 13 | + |
| 14 | +## Development Setup |
| 15 | + |
| 16 | +```bash |
| 17 | +# Clone your fork |
| 18 | +git clone https://github.com/your-username/FileViewEntryPlugin.git |
| 19 | +cd FileViewEntryPlugin |
| 20 | + |
| 21 | +# Install dependencies |
| 22 | +composer install |
| 23 | + |
| 24 | +# Run tests |
| 25 | +vendor/bin/pest |
| 26 | + |
| 27 | +# Run tests with coverage |
| 28 | +vendor/bin/pest --coverage |
| 29 | + |
| 30 | +# Run code style checks |
| 31 | +vendor/bin/pint --test |
| 32 | + |
| 33 | +# Fix code style issues |
| 34 | +vendor/bin/pint |
| 35 | +``` |
| 36 | + |
| 37 | +## Code Style |
| 38 | + |
| 39 | +This project follows the [Laravel](https://laravel.com/docs/11.x/pint) code style. Please ensure your code passes the style checks before submitting a pull request. |
| 40 | + |
| 41 | +## Testing |
| 42 | + |
| 43 | +- Write tests for new features |
| 44 | +- Ensure all tests pass before submitting PR |
| 45 | +- Aim for high test coverage |
| 46 | + |
| 47 | +## Pull Request Process |
| 48 | + |
| 49 | +1. Update the README.md with details of changes if applicable |
| 50 | +2. Update the CHANGELOG.md with your changes |
| 51 | +3. Ensure your code follows the project's code style |
| 52 | +4. Verify all tests pass |
| 53 | +5. Link any related issues in your PR description |
| 54 | + |
| 55 | +## Reporting Issues |
| 56 | + |
| 57 | +When reporting issues, please include: |
| 58 | + |
| 59 | +- PHP version |
| 60 | +- Laravel version |
| 61 | +- Filament version |
| 62 | +- Clear description of the problem |
| 63 | +- Steps to reproduce |
| 64 | +- Expected vs actual behavior |
| 65 | + |
| 66 | +## Code of Conduct |
| 67 | + |
| 68 | +This project adheres to a code of conduct. By participating, you are expected to uphold this code: |
| 69 | + |
| 70 | +- Be respectful and inclusive |
| 71 | +- Welcome newcomers |
| 72 | +- Focus on constructive feedback |
| 73 | +- Respect differing viewpoints |
| 74 | + |
| 75 | +## License |
| 76 | + |
| 77 | +By contributing, you agree that your contributions will be licensed under the MIT License. |
0 commit comments