Contributing & Credits
Contributions, issues, and pull requests are welcome.
Maintainers
| Who | Role |
|---|---|
| Amit Gupta | Creator and maintainer |
| Contributors | Everyone who has sent a fix or improvement |
Packages
| Package | Registry |
|---|---|
erag/inertia-forms | Packagist |
@erag/inertia-forms-vue | npm |
@erag/inertia-forms-react | npm |
@erag/inertia-forms-svelte | npm |
All four live in one repository: eramitgupta/laravel-Inertia-forms.
Before opening a PR
- Open an issue first if the change is large or changes the public API.
- Keep behavior the same in PHP and in the Vue, React, and Svelte packages.
- Add or update tests where behavior changes.
- Update these docs when a public method, prop, or event changes.
Step by step
You need PHP 8.3+ with Composer, and Node.js 22+ with npm.
- Fork and clone eramitgupta/laravel-Inertia-forms:
git clone https://github.com/<your-username>/laravel-Inertia-forms.git
cd laravel-Inertia-forms
git remote add upstream https://github.com/eramitgupta/laravel-Inertia-forms.git- Install the PHP package and all three frontend packages (npm workspaces):
composer install
npm install- Create a branch from an up-to-date
main:
git checkout main
git pull upstream main
git checkout -b fix/combobox-keyboardMake the change. PHP lives in
src/, the shared TypeScript core (logic and Tailwind classes) inpackages/core, and the renderers inpackages/vue,packages/reactandpackages/svelte. Change all three renderers together, and add tests for what changes. Usenpm run dev -w packages/vueto rebuild a package on save.Run the checks. These are the same checks CI runs:
vendor/bin/pint
vendor/bin/pestnpm run format
npm run typecheck
npm test
npm run build- Commit and push with a short, imperative message:
git commit -am "Fix keyboard navigation in Combobox"
git push origin fix/combobox-keyboard- Open a pull request against
mainand fill in the template: what changed and why, the type of change, and the checklist. Link the issue it fixes, for exampleFixes #12.
The full guide, including how to try your change in a Laravel app and how to update these docs, is in CONTRIBUTING.md.
Reporting bugs
Open a GitHub issue with:
- the smallest form class that shows the problem
- your frontend (Vue, React, or Svelte) and package versions
- expected and actual behavior
Report security issues privately from the repository's Security tab (Report a vulnerability), not in public issues.
Support the project
If the package saves you time, sponsor Er Amit Gupta on GitHub or give the repository a ⭐.