Download the PHP package tbtop/admin without Composer

On this page you can find all versions of the php package tbtop/admin. 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 admin

Tabletop — Laravel + Inertia admin builder

An admin builder: pages are authored in a PHP DSL, serialized to a JSON structure in Inertia props, and rendered by a React interpreter. Filament's authoring model, without Livewire.

Layout

Package What it is
packages/php composer tbtop/admin — DSL, controllers, Effects, nav, uploads
packages/client npm @tbtop/inertia-admin — render layer + Inertia integration
packages/contracts JSON Schema grammar + kitchen-sink fixture (the contract shared by both sides)
apps/demo Laravel 12 + Inertia v3 reference app (acceptance)

Run the demo

A page in 30 seconds

Registration: add the class to config/tbtop-admin.php'pages'. Routes and the table/data/form/action endpoints are wired automatically under the configured prefix + middleware.

Forms

Actions — five kinds

Spec What it does
->visit(url) Inertia visit; supports {row.id} templates
->submit() submit the nearest (or a named) form
->handle(fn, needs: [...]) POST to a server closure; payload by needs: form/row/selection
->modal(title, $node) client modal with a StructureNode body
->custom('name', params) client registry via defineCustomAction()

->confirm(title) wraps a server action in a confirm modal. Server closures resolve by name per-request — they never travel over the wire.

Effects (a closed set): notify | redirect | refreshTable | resetForm | closeModal. Extending the set is a minor contract bump; anything non-standard goes through custom.

Uploads

Profiles live in config ('uploads' => ['media' => [disk, dir, accept, maxSize, sizes]]), the endpoint is POST {prefix}/uploads/{profile}, with GD fit-inside variants. The field $s->upload('file')->set('entity', 'media') delivers a full UploadRow to $ctx->form['file'] (url, mimeType, filesize, width/height, sizes).

The contract

contracts/structure.schema.json is the wire grammar. Gates:

A new block = update the schema + the zod mirror + the fixture in one PR.

Quality gates

phpstan runs at level 5 (the skeleton default; raise it in phpstan.neon.dist).

Status

See docs/roadmap.md for the release plan and the current gap list (auth-page layout and the relation field are the known blockers). Per-package contributor notes live in the root CLAUDE.md.


All versions of admin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/contracts Version ^11.0||^12.0||^13.0
inertiajs/inertia-laravel Version ^3.1
spatie/laravel-package-tools Version ^1.16
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 tbtop/admin contains the following files

Loading the files please wait ...