New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

inertia/tonka-adapter

Inertia TONKA adapter
153 8

Larablocks Analysis

inertia/tonka-adapter works with any PHP project: the latest release (v1.2.6, Nov 9, 2026) doesn't depend on Laravel.

Promising: maintained and up to date, meets 1 of 3 checks; not yet widely used.

  • Released in the last 12 months (Nov 9, 2026)
  • 12 downloads a month (needs 10,000)
  • 8 GitHub stars (needs 100)

State

Actively maintained
  • Last stable release: Nov 9, 2026.
  • 8 releases in the last 12 months.
  • First released: May 20, 2025.
  • Monthly downloads: 12.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.

Install
composer require inertia/tonka-adapter
Latest Version:v1.2.6
PHP:>=8.0
License:MIT
Last Updated:Nov 9, 2026
Links: GitHub  ·  Packagist
Maintainer: honorable85

Tonka PHP Framework Inertia.js Adapter

Overview

The Tonka PHP Framework Inertia.js Adapter allows you to seamlessly integrate Inertia.js with the Tonka PHP Framework. This adapter enables you to build modern single-page applications (SPAs) while leveraging server-side rendering and routing.

Features

  • Easy Integration: Quickly set up Inertia.js with Tonka.
  • Automatic Responses: Handle Inertia responses directly from your controllers.
  • Supports Multiple Frameworks: Works with Vue.js, React, and Svelte.
  • Navigation Handling: Simplified link handling and navigation management.
  • Error Handling: Built-in support for error pages and validation messages.

Installation

You can install the Tonka Inertia.js Adapter via Composer:

composer require inertia/tonka-adapter

Client-Side Setup:

Make sure to install the Inertia.js client-side adapter for your chosen framework:

npm install @inertiajs/inertia @inertiajs/inertia-vue

Usage:

Create a Controller to handle Inertia responses:

use Inertia\Inertia;

Route::get('/dashboard', function () {
    return Inertia::render('Dashboard', [
        'user' => auth()->user(),
        'notifications' => Notification::recent(),
    ]);
});

Client-Side Example:

<template>
    <div>
        <h1>{{ message }}</h1>
    </div>
</template>

<script>
export default {
    props: {
        message: String
    }
}
</script>

Contributing:

Contributions are welcome! Please open an issue or submit a pull request.

  1. Fork the repository.
  2. Create your feature branch: git checkout -b feature/my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature/my-new-feature
  5. Open a Pull Request.

License:

This project is licensed under the MIT License - see the LICENSE file for details.

Contact:

For any inquiries, please reach out to clicalmani

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338
laravel/tinker

Powerful REPL for the Laravel framework.

546,909,908 7,440
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

465,816,364 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

431,187,642 4,660

Version History

Version Released PHP License
v1.2.6 >=8.0 MIT
v1.2.5 >=8.0 MIT
v1.2.4 >=8.0 MIT
v1.2.2 >=8.0 MIT
v1.2.1 >=8.0 MIT