Contributing
Thank you for your interest in contributing to Laravel imgproxy! This document provides guidelines and instructions for contributing.
Getting Started
Prerequisites
- PHP 8.2+
- Composer
- Laravel 10.x or 11.x (for testing)
Development Setup
- Fork the repository
- Clone your fork:bash
git clone https://github.com/YOUR_USERNAME/laravel-imgproxy.git - Install dependencies:bash
composer install
Testing
Before submitting a pull request, ensure all tests pass:
bash
# Run all tests
composer test
# Run with coverage
composer test-coverageSee Testing Guide for more details.
Code Style
This project uses Pint for code formatting:
bash
# Format code
composer formatSubmitting Changes
- Create a feature branch from
main - Make your changes
- Ensure tests pass
- Submit a pull request
Reporting Issues
When reporting issues, please include:
- PHP version
- Laravel version
- Package version
- Steps to reproduce
- Expected vs actual behavior