Download the PHP package innonazarene/laravel-inertia-js-kit without Composer

On this page you can find all versions of the php package innonazarene/laravel-inertia-js-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-inertia-js-kit

Laravel Inertia JS Kit

One-command Laravel auth boilerplate for a pure Inertia + React + Tailwind monolith — no API, no tokens. Installs a session-based AuthController (register, login, logout, change password, forgot/reset password, email verification), wires up the routes, publishes matching React/TypeScript pages, and wires React + Tailwind into your build — all from a single artisan command.

This is the monolith counterpart to sanctum-auth-kit (which does the same thing for a token-based API).

Requirements

Installation

That single install command will:

  1. Publish App\Http\Middleware\HandleInertiaRequests (or patch your existing one) so the authenticated user is shared with every page as auth.user — this replaces the API's /me endpoint.
  2. Register that middleware in bootstrap/app.php (Laravel 11+) or app/Http/Kernel.php (Laravel 10).
  3. Publish App\Http\Controllers\AuthController.
  4. Publish the auth form requests to App\Http\Requests\Auth:
    • LoginRequest
    • RegisterRequest
    • ChangePasswordRequest
    • ForgotPasswordRequest
    • ResetPasswordRequest
  5. Publish routes/auth.php and require it from routes/web.php.
  6. Publish React/TypeScript pages to resources/js/Pages/Auth: Register, Login, ForgotPassword, ResetPassword, VerifyEmail, ChangePassword, plus shared Layouts (GuestLayout, AuthenticatedLayout) and Components (TextInput, InputLabel, InputError, PrimaryButton, TextLink), styled with Tailwind.
  7. Publish resources/js/app.tsx, resources/css/app.css, and resources/views/app.blade.php if your app doesn't already have them.
  8. Add react, react-dom, @inertiajs/react, tailwindcss, and the Vite plugins for both to package.json.
  9. Wire the React and Tailwind Vite plugins into vite.config.js/.ts.

Run php artisan migrate and npm run dev (or npm run build) afterwards.

Pass --force to overwrite files that already exist:

Generated routes

Routes are published to routes/auth.php and required from routes/web.php — plain session-based web routes, no /api prefix.

Method URI Auth required Description
GET /register Registration page
POST /register Register + log in
GET /login Login page
POST /login Log in
GET /forgot-password Forgot-password page
POST /forgot-password Send a password reset link
GET /reset-password/{token} Reset-password page
POST /reset-password Reset password via token
GET /verify-email/{id}/{hash} signed ✅ Verify email address
GET /verify-email ✅ Verify-email notice page
POST /email/verification-notification ✅ Resend verification email
GET /password/change ✅ Change-password page
PUT /password ✅ Change password
POST /logout ✅ Log out

The AuthController redirects to a named dashboard route after login/register/email verification — make sure one exists in your app.

If routes/web.php doesn't exist yet, the installer creates it. Existing published files are left alone on re-run unless --force is passed.

All published files are plain Laravel and React code — edit them freely after installation, this package does not hook into them afterwards.

License

MIT


All versions of laravel-inertia-js-kit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
inertiajs/inertia-laravel Version ^1.0|^2.0|^3.0
laravel/framework Version ^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package innonazarene/laravel-inertia-js-kit contains the following files

Loading the files please wait ...