Download the PHP package silviosln/arbor-router without Composer

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

Arbor Router 🌳

PHP License

🇧🇷 Leia esta documentação em Português: README.pt-BR.md
🤖 Instructions for AI Agents: See ai/ context layer.

Arbor Router is a modern, strictly-typed, and framework-agnostic PHP 8.4+ library providing File-System Based Routing, heavily inspired by the mental model of Next.js App Router. It eliminates the need for manual, bloated routing configuration files by mapping your directory tree inside app/ directly into URL routes, nested layouts, API endpoints, and server actions.


🌟 Key Features


🚀 Installation

Install via Composer:

Requirements: PHP 8.4 or higher (ext-json and ext-mbstring).


📦 Directory Structure & Resource Conventions


🛠 Quick Start Guide

1. Bootstrapping the Router (public/index.php)


2. Static and Dynamic Pages (page.php)


3. Cascading Layouts (layoutroot.php and layout.php)


4. REST APIs and Content Negotiation (route.php)

Note: By default, route.php endpoints require the X-API-Request: true header to guard against direct browser address bar visits.


5. Server Actions & Form Mutations (action.php)

In your HTML form, embed the built-in CSRF token field:


6. Russian Doll Middleware (middleware.php)


🤖 AI-Native Context Layer

Arbor Router is designed to be AI-Friendly. If you are building with AI coding assistants (Claude, Cursor, Copilot, ChatGPT, Gemini), explore:


⚖️ License

This library is licensed under the MIT License. See LICENSE for details.


All versions of arbor-router with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
ext-json Version *
ext-mbstring Version *
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 silviosln/arbor-router contains the following files

Loading the files please wait ...