Skip to content

Contributing

Thank you for considering contributing to Laravel Inertia Toast.

How You Can Help

  • improve the documentation
  • fix examples, wording, and usage notes
  • report or clarify Laravel integration issues
  • suggest Vue API improvements
  • propose package features and bug fixes

Repository Scope

This branch is focused on the documentation site and published docs assets.

In this branch you can contribute:

  • VitePress documentation pages in docs
  • navigation, theme, and styling inside docs/.vitepress
  • examples and contributor-facing documentation

If you want to contribute to Laravel or Vue package behavior, open a pull request with:

  • a clear explanation of the change
  • documentation updates for the new behavior
  • focused examples showing the expected usage

Local Development

Install dependencies:

bash
npm install

Run the docs site:

bash
npm run dev

Build the docs site:

bash
npm run build

If your change also includes PHP package updates in a branch that contains Composer scripts, run:

bash
composer lint
  1. Fork the repository.
  2. Create a small, focused branch.
  3. Make one clear improvement at a time.
  4. Run npm run build before opening your pull request.
  5. Explain what changed, why it changed, and which docs pages were updated.

Contribution Guidelines

  • keep pull requests small and reviewable
  • preserve the existing Laravel-style documentation tone
  • update relevant docs when behavior, API, or setup changes
  • prefer practical examples over long theory
  • avoid unrelated formatting-only changes in the same pull request

MIT License. Copyright Er Amit Gupta