Download the PHP package spora-ai/spora-frontend without Composer
On this page you can find all versions of the php package spora-ai/spora-frontend. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spora-ai/spora-frontend
More information about spora-ai/spora-frontend
Files in spora-ai/spora-frontend
Package spora-frontend
Short Description Spora admin UI — prebuilt assets delivered as a Composer package. Consumed by spora-ai/spora-skeleton via spora-ai/installer.
License MIT
Informations about the package spora-frontend
Spora Frontend
The prebuilt Vue 3 admin UI for Spora, shipped as a Composer package of type spora-frontend.
What this is
A decoupled, standalone Vue + Vite + Tailwind + radix-vue SPA that lives in its own repository and gets distributed as a prebuilt artifact to operator installs (see spora-ai/spora). Operators do not need Node — composer install spora-ai/spora-frontend drops the compiled build output into public/spora/ via spora-ai/installer ^1.4. The SPA is then served from /spora/* by the operator's PHP front controller.
This repository is the source of truth for the UI. The Composer's dist.url points at GitHub Release assets produced by the build-and-release workflow (see .github/workflows/ci.yml).
Layout
Local development
The operator install at spora-ai/spora uses a two-terminal dev workflow:
In a second terminal, start Vite from the path-installed frontend:
Vite's server.proxy['/api'] forwards /api/* to the PHP server. Visit http://localhost:5173 for HMR; the API lives at http://localhost:8080/api/*.
Edit a .vue file here → Vite HMR triggers → UI updates without a reload.
Production build
Tagging v* (e.g. v0.1.0) on main triggers the build-and-release workflow which:
- Runs
npm ci && npm run build. - Packages
spora/(the Vite build output, withbase: '/spora/'rewriting asset URLs) intospora-frontend-{tag}.tar.gz(with a top-levelspora-frontend-{tag}/directory). - Creates a GitHub Release with the tarball attached.
spora-ai/installer consumes that tarball as dist.url and routes its contents into the operator's public/spora/. The SPA is then served from /spora/* by the operator's PHP front controller.
Build locally without releasing
How it integrates with Spora
| Layer | Repo | Purpose |
|---|---|---|
| Framework | spora-ai/spora-core | PHP framework, plugin system, agents, recipes, drivers |
| Operator install | spora-ai/spora | What operators composer create-project. Pulls core + this repo + installer |
| Prebuilt UI | this repo | Vue SPA source → prebuilt spora/ (base /spora/) → Composer spora-frontend package |
| Composer routing | spora-ai/installer | Routes spora-frontend packages → public/spora/ |
| Plugin template | spora-ai/spora-plugin-skeleton | Use-this-template for plugin authors |
License
MIT