Thanks for considering contributing to Laravel Translations!
- Fork the repo on GitHub, then clone your fork:
git clone git@github.com:MohmmedAshraf/laravel-translations.git && cd laravel-translations- Install dependencies:
composer install
npm install- Create a branch:
git checkout -b feature/your-feature-nameIf you're working on frontend changes, run Vite in dev mode:
npm run dev- Format your code:
composer format- Run tests:
composer test- If you changed frontend files, build assets:
npm run buildYou can test your local copy in a Laravel app by adding a path repository to the app's composer.json:
{
"repositories": [
{
"type": "path",
"url": "/path/to/your/laravel-translations"
}
]
}Then run composer update.
- Write clear, descriptive commit messages
- Include context on what and why in the PR description
- Keep PRs focused — one feature or fix per PR