PHPackages                             inertia/tonka-adapter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. inertia/tonka-adapter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

inertia/tonka-adapter
=====================

Inertia TONKA adapter

v1.2.0(2mo ago)0632MITPHPPHP &gt;=8.0

Since May 20Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/clicalmani/inertia-adapter)[ Packagist](https://packagist.org/packages/inertia/tonka-adapter)[ RSS](/packages/inertia-tonka-adapter/feed)WikiDiscussions main Synced today

READMEChangelog (10)DependenciesVersions (11)Used By (2)

Tonka PHP Framework Inertia.js Adapter
======================================

[](#tonka-php-framework-inertiajs-adapter)

Overview
--------

[](#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
--------

[](#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
------------

[](#installation)

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

```
composer require inertia/tonka-adapter
```

Client-Side Setup:
------------------

[](#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:
------

[](#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:
--------------------

[](#client-side-example)

```

        {{ message }}

export default {
    props: {
        message: String
    }
}

```

Contributing:
-------------

[](#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:
--------

[](#license)

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

Contact:
--------

[](#contact)

For any inquiries, please reach out to [![clicalmani](https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/facebook.svg)](https://fb.com/clicalmani)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance87

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~37 days

Recently: every ~70 days

Total

10

Last Release

70d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7316d2003f9fbef5b19aaa8caa3983f37742f2b1872e72a5390077c2975fc2e6?d=identicon)[honorable85](/maintainers/honorable85)

---

Top Contributors

[![clicalmani](https://avatars.githubusercontent.com/u/16488123?v=4)](https://github.com/clicalmani "clicalmani (22 commits)")

### Embed Badge

![Health badge](/badges/inertia-tonka-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/inertia-tonka-adapter/health.svg)](https://phpackages.com/packages/inertia-tonka-adapter)
```

###  Alternatives

[mageplaza/magento-2-product-slider

Magento 2 Product Slider

70230.0k2](/packages/mageplaza-magento-2-product-slider)[lendable/clock

Clock Abstraction

15283.5k](/packages/lendable-clock)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
