First off, thanks for taking the time to contribute! 🎉
This guide outlines how you can help improve Grok AI Laravel and collaborate effectively.
- 🚀 Getting Started
- 🐛 Reporting Bugs
- ✨ Feature Requests
- 🛠 Development Workflow
- 🧪 Running Tests
- 🙌 Acknowledgements
Click the "Fork" button at the top right of this repository to create your copy.
git clone https://github.com/your-username/laravel-grok.git
cd laravel-grok
composer install
If you're testing this package inside a Laravel project, you may use:
composer remove grok-php/laravel
composer require grok-php/laravel:@dev --prefer-source
Found a bug? Please open an issue and include:
- A clear description of the bug.
- Steps to reproduce the issue.
- The expected vs. actual behavior.
- Any error messages or logs.
- Your Laravel and PHP version.
Have an idea? We'd love to hear it! Submit a feature request with:
- A detailed explanation of your proposed feature.
- The problem it solves.
- Example use cases.
1- Create a new branch for your feature or fix:
git checkout -b feature/your-new-feature
2- Make Your Changes & Add Tests
- Follow PSR-12 coding standards.
- Use typed properties, enums, and traits.
- Document your functions with PHPDoc.
- Always write unit tests for new features.
3- Run tests before committing:
composer test
4- Commit Your Changes
git add .
git commit -m "✨ Added new feature X"
7- Push to Your Fork
git push origin feature/your-new-feature
6- Open a Pull Request (PR)
- Go to Grok PHP Client Repo
- Click "New Pull Request", select your branch, and submit 🚀
We use PHPUnit for testing. Before submitting your PR, run:
composer test
or
vendor/bin/phpunit
A huge thank you to everyone contributing! ❤️ Your efforts help improve this package for the entire Laravel community.
🚀 Happy coding!