# Contributing to Laravel Translate

Thank you for considering contributing to Laravel Translate! We welcome contributions from the community.

## How to Contribute

### Reporting Bugs

If you find a bug, please open an issue on GitHub with:
- A clear description of the bug
- Steps to reproduce
- Expected vs actual behavior
- Laravel version and PHP version
- Any relevant error messages or logs

### Suggesting Features

Feature suggestions are welcome! Please open an issue with:
- A clear description of the feature
- Why it would be useful
- Example use cases

### Pull Requests

1. Fork the repository
2. Create a new branch (`git checkout -b feature/my-feature`)
3. Make your changes
4. Write tests for your changes
5. Ensure all tests pass (`composer test`)
6. Format your code (`composer format`)
7. Commit your changes (`git commit -am 'Add new feature'`)
8. Push to the branch (`git push origin feature/my-feature`)
9. Create a Pull Request

### Code Style

- Follow PSR-12 coding standards
- Use type hints where possible
- Write descriptive variable and method names
- Add PHPDoc comments for all public methods
- Keep methods focused and concise

### Testing

- Write tests for all new features
- Ensure existing tests pass
- Aim for high test coverage
- Use meaningful test names

### Documentation

- Update README.md if adding new features
- Update CHANGELOG.md following Keep a Changelog format
- Add inline comments for complex logic

## Code of Conduct

Be respectful and constructive in all interactions. We're all here to make this package better!

## Questions?

Feel free to open an issue for any questions about contributing.
