arpite / arpite
An open-source Laravel library for building high-quality, accessible applications and administration dashboards
dev-master
2024-04-01 13:34 UTC
Requires
- php: ^8.1
- ext-json: *
- illuminate/contracts: ^9.8.1
- inertiajs/inertia-laravel: ^0.6.3
- spatie/laravel-package-tools: ^1.11.3
Requires (Dev)
- nunomaduro/collision: ^6.2
- nunomaduro/larastan: ^2.1.4
- orchestra/testbench: ^7.4
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.2
- phpstan/phpstan: ^1.8.3
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.1
This package is auto-updated.
Last update: 2025-03-01 00:30:48 UTC
README

Arpite
An open-source Laravel library for building high-quality, accessible applications and administration dashboards. Built using Inertia.js, React, TailwindCSS, and HeadlessUI.
Getting Started
⚠️ Arpite is currently in early development and APIs are likely to change quite often. Use in production on your own risk!
- Install the packages from Composer and NPM
composer require arpite/arpite yarn add @arpite/arpite
- Render Arpite in
resources/js/app.js
file
import { Arpite } from "@arpite/arpite"; import "@arpite/arpite/resources/dist/arpite.css"; Arpite.render();
- Build assets
yarn build
- Add to AppServiceProvider boot() method
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, ]);
- Add
HandleArpiteRequests
middleware toweb
group insideapp/Http/Kernel.php
file
'web' => [ \Arpite\Core\Middlewares\HandleArpiteRequests::class ]