Skip to content
Reference

Contributing & Credits ​

Contributions, issues, and pull requests are welcome.

Maintainers ​

WhoRole
Amit GuptaCreator and maintainer
ContributorsEveryone who has sent a fix or improvement

Packages ​

PackageRegistry
erag/inertia-formsPackagist
@erag/inertia-forms-vuenpm
@erag/inertia-forms-reactnpm
@erag/inertia-forms-sveltenpm

All four live in one repository: eramitgupta/laravel-Inertia-forms.

Before opening a PR ​

  1. Open an issue first if the change is large or changes the public API.
  2. Keep behavior the same in PHP and in the Vue, React, and Svelte packages.
  3. Add or update tests where behavior changes.
  4. 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.

  1. Fork and clone eramitgupta/laravel-Inertia-forms:
bash
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
  1. Install the PHP package and all three frontend packages (npm workspaces):
bash
composer install
npm install
  1. Create a branch from an up-to-date main:
bash
git checkout main
git pull upstream main
git checkout -b fix/combobox-keyboard
  1. Make the change. PHP lives in src/, the shared TypeScript core (logic and Tailwind classes) in packages/core, and the renderers in packages/vue, packages/react and packages/svelte. Change all three renderers together, and add tests for what changes. Use npm run dev -w packages/vue to rebuild a package on save.

  2. Run the checks. These are the same checks CI runs:

bash
vendor/bin/pint
vendor/bin/pest
bash
npm run format
npm run typecheck
npm test
npm run build
  1. Commit and push with a short, imperative message:
bash
git commit -am "Fix keyboard navigation in Combobox"
git push origin fix/combobox-keyboard
  1. Open a pull request against main and fill in the template: what changed and why, the type of change, and the checklist. Link the issue it fixes, for example Fixes #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 ⭐.