PHPackages                             ycs77/inertia-engage - 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. [Framework](/categories/framework)
4. /
5. ycs77/inertia-engage

ActiveLibrary[Framework](/categories/framework)

ycs77/inertia-engage
====================

Opinionated Inertia.js Laravel &amp; Vue helper library, to scaffolding and extended your Inertia.js application.

v3.0.0(1mo ago)133MITPHPPHP &gt;=8.3CI passing

Since May 15Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/ycs77/inertia-engage)[ Packagist](https://packagist.org/packages/ycs77/inertia-engage)[ Docs](https://github.com/ycs77/inertia-engage)[ RSS](/packages/ycs77-inertia-engage/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (16)Versions (21)Used By (0)

Inertia.js Engage
=================

[](#inertiajs-engage)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e1f01983ddfecc22639af7da2a74b855a8ab44806a8e0af2f38400d519408e1d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79637337372f696e65727469612d656e676167653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ycs77/inertia-engage)[![Software License](https://camo.githubusercontent.com/c090e080484e2a2bc766446291d04437db823929042bf614b26a1643660ddf6f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e3f7374796c653d666c61742d737175617265)](LICENSE.md)[![GitHub Tests Action Status](https://camo.githubusercontent.com/c9eff30dd9e5ed2710bf04a1ed7c635a20cbf5495058c49c7fd58073ce259e89/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f79637337372f696e65727469612d656e676167652f74657374732e796d6c3f6272616e63683d332e78266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/ycs77/inertia-engage/actions/workflows/tests.yml?query=branch%3A3.x)[![Style CI Build Status](https://camo.githubusercontent.com/517a569e3a8a6d805a1b989f9ab37af152540b62466ca49becbbe49e5154a635/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3830303639363234362f736869656c643f7374796c653d666c61742d737175617265)](https://github.styleci.io/repos/800696246)[![Total Downloads](https://camo.githubusercontent.com/6571aced9459a9eca2ae0438a472f860d170b8aab2d404eaef927b73b917c66c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79637337372f696e65727469612d656e676167653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ycs77/inertia-engage)

Opinionated Inertia.js Laravel &amp; Vue helper library, to scaffolding and extended your Inertia.js application.

**Features:**

- [Error Handler](#error-handler)
- [Pagination](#pagination)
- [IDE Helper](#ide-helper)

Supported Versions
------------------

[](#supported-versions)

VersionLaravel Version1.x11.x2.x12.x3.x13.xInstallation
------------

[](#installation)

Install the package via composer:

```
composer require ycs77/inertia-engage
```

Publish the config file is optional:

```
php artisan vendor:publish --tag=inertia-engage-config
```

Then install the Inertia.js scaffold into this application:

```
php artisan inertia:install
# or export with TypeScript
php artisan inertia:install --ts
```

Or just initialize the Laravel application:

```
php artisan laravel:initial
```

Error Handler
-------------

[](#error-handler)

> If you running the `inertia:install` command, below will automatically added.

Publish the error page:

```
php artisan inertia:ui error
# export with TypeScript
php artisan inertia:ui error --ts
```

Then extends the exception handler for Inertia application:

*bootstrap/providers.php.php*

```
