Contributing
Overview
Thank you for your interest in contributing to Laravel CRM! Contributions are welcome via pull requests on GitHub.
Development Setup
- Fork and clone the repository
- Install dependencies:
composer install
npm install
- Build frontend assets:
npm run build
Code Style
Laravel CRM follows the Laravel coding style enforced by Laravel Pint:
composer format # Run Laravel Pint formatter
composer format-test # Dry-run formatting check
Testing
Run the test suite:
composer test
Tests use Orchestra Testbench with SQLite in-memory database.
Pull Requests
- Fork the repository and create your branch from
master - Write tests for any new functionality
- Run the formatter before submitting
- Ensure all tests pass
- Write a clear description of your changes
Bug Reports
File bug reports on the GitHub Issues page with:
- A clear description of the issue
- Steps to reproduce
- Expected vs actual behaviour
- Laravel and package version numbers