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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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:

  1. Runs npm ci && npm run build.
  2. Packages spora/ (the Vite build output, with base: '/spora/' rewriting asset URLs) into spora-frontend-{tag}.tar.gz (with a top-level spora-frontend-{tag}/ directory).
  3. 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


All versions of spora-frontend with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4.1
composer/installers Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package spora-ai/spora-frontend contains the following files

Loading the files please wait ...