New

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

arpite/arpite

An open-source Laravel library for building high-quality, accessible applications and administration dashboards
205 4
Install
composer require arpite/arpite:dev-master
PHP:^8.1
License:MIT
Last Updated:Apr 1, 2024
Links: GitHub  ·  Packagist
Maintainer: Dohxy
Arpite hero image

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!

  1. Install the packages from Composer and NPM
composer require arpite/arpite
yarn add @arpite/arpite
  1. Render Arpite in resources/js/app.js file
import { Arpite } from "@arpite/arpite";
import "@arpite/arpite/resources/dist/arpite.css";

Arpite.render();
  1. Build assets
yarn build
  1. 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,
]);
  1. Add HandleArpiteRequests middleware to web group inside app/Http/Kernel.php file
'web' => [
    \Arpite\Core\Middlewares\HandleArpiteRequests::class
]

Related Packages

hewcode/hewcode

Inertia table and form builders.

15 0
neondigital/forma

A nice way to play with forms in Laravel 4/5 and indeed any PHP project.

1,229 0
forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

3,823 31
invue/tables

Native Vue 3 data table components for the Invue framework, wired to Eloquent vi...

138 0
invue/forms

Native Vue 3 form components for the Invue framework, wired to Laravel validatio...

128 0