An open-source Laravel library for building high-quality, accessible applications and administration dashboards.
MIT License
An open-source Laravel library for building high-quality, accessible applications and administration dashboards. Built using Inertia.js, React, TailwindCSS, and HeadlessUI.
⚠️ Arpite is currently in early development and APIs are likely to change quite often. Use in production on your own risk!
composer require arpite/arpite
yarn add @arpite/arpite
resources/js/app.js
fileimport { Arpite } from "@arpite/arpite";
import "@arpite/arpite/resources/dist/arpite.css";
Arpite.render();
yarn build
Inertia::share([
"baseUrl" => fn() => URL::to("/"),
"applicationName" => fn() => env("APP_NAME"),
"notification" => fn() => Notification::getAndClear(),
"resetFormIdentifier" => fn() => Session::get("resetFormIdentifier"),
"csrfToken" => fn() => csrf_token(),
"balance" => null,
]);
HandleArpiteRequests
middleware to web
group inside app/Http/Kernel.php
file'web' => [
\Arpite\Core\Middlewares\HandleArpiteRequests::class
]