Download the PHP package capachow/arcane without Composer

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

Arcane Microframework

Arcane is unconventional but beautifully intuitive. It is intentionally different, breaking away from modern frameworks to encourage critical thinking without the dependence and overhead of complex systems. It brings out the fun in building for the web by automating the features you want, while making it easier to apply the ones you need.

At its core, Arcane is a tiny 14kb single-file PHP microframework designed to keep things easy and minimal. It uses a filesystem-first workflow where files map directly to routes, and context-aware helpers and assets load automatically. Perfect for anyone who wants a fast, flexible tool with zero setup.

Less config. More craft.

Installation

https://arcane.dev/download or copy via terminal:

composer create-project capachow/arcane It's a single file with zero dependencies. You should just curl it.

Simply drop index.php into your project and open it in your browser. Arcane conjures the rest like magic.

Documentation

  1. Philosophy & Architecture
  2. The Four Functions
  3. Routing & Pages
  4. Layouts, Rendering, and Includes
  5. Optional Model-View Engine
  6. Helpers & Autoload Cascade
  7. Automatic CSS/JS Assets
  8. Localization and Translation
  9. Environment & Settings
  10. Page Directives
  11. Runtime Constants
  12. Troubleshooting & Notes
  13. Requirements and Ecosystem

1. Philosophy & Architecture

Arcane operates on a single governing principle: location is logic.

Modern web development often drifts into configuration chaos. Many frameworks are built to satisfy enterprise edge cases, and everyone else ends up carrying that weight. Arcane takes the opposite stance. It focuses on the work that ships real projects, like routing, templating, and helpers, and treats "less" as a deliberate discipline, not a missing feature. By focusing on what most projects actually need, Arcane makes a promise rooted in honesty, freedom, and focus. You should not have to carry the baggage for features you will never use.

That discipline comes from unified primitives and a filesystem-first approach. There is no route registry or hidden sigils to maintain. If you want a page, you create a file. By keeping assets, logic, and views close together, Arcane encourages cognitive locality. You build where it makes sense instead of hunting through scattered configuration.

Dependencies also break. They age, conflict, and require maintenance. Arcane stays dependency-free at its core, keeping your project stable and grounded in standard PHP, so you are not betting your site on whether a framework stays maintained.

The Request Lifecycle:

Instead of a complex event loop, Arcane follows a linear path of discovery:

  1. Match: The URL is mapped directly to the closest physical file in /pages, normalizing paths for SEO.
  2. Collect: Arcane walks the directory tree down to that file, channeling only relevant helpers, data, and assets.
  3. Build: The page executes within this prepared environment, generating the CONTENT constant.
  4. Return: Output is wrapped in the layout, assets are injected, and the final response is sent to the browser.

2. The Four Functions

Arcane keeps things minimal. You can build simple to complex applications using just these four globals. These global functions are available everywhere.

2.1 env(string, string): Retrieves environment variables or feature flags.

2.2 path(mixed, bool): The unified tool for inspecting where you are and generating where you want to go.

<?= path(['IMAGES', 'logo.svg']); # /images/logo.svg (no matter the URL) ?> php <?= path('/folder/custom.php', true); ?> <?= path(['HELPERS', 'custom.php'], true); ?> php

Sidebar

Injected into the layout.

php <?= scribe('Welcome'); ?> <?= scribe('Hello :name', [':name' => 'John']); # Hello John ?> <?= scribe(['missing.key', 'Fallback']); ?> php

<?= relay('title') ?? SITE; ?>

html

:$title

:$user->getName()

:="$user['name']"

:='"Welcome back, {$user->name}"'

:="number_format($price, 2)"

html

:scribe('welcome_message')

html

You have items!

Your cart is empty.

Please log in.

<input type="checkbox" checked /> html <-- This developer note will not appear in the DOM -->

php

php

Items:

Total: $

php

env DIR_PAGES=/pages/ DIR_LAYOUTS=/layouts/ DIR_HELPERS=/helpers/ DIR_SCRIPTS=/scripts/ DIR_STYLES=/styles/ DIR_LOCALES=/locales/ DIR_IMAGES=/images/ nginx location / { rewrite ^/(.*)/$ /$1 permanent; try_files $uri $uri/ /index.php?$query_string; }


  - [Arcane Helpers](https://github.com/capachow/arcane-helpers) is a collection of drop-in files for common tasks (Markdown parsing, OAuth, database access).
  - [Creating an issue](https://github.com/capachow/arcane/issues) on GitHub for reporting bugs is always appreciated.

*License*: Copyright 2017-2026 [Joshua Britt](https://github.com/capachow) under the [MIT](LICENSE.md).

---

### 14. The Meaning of Arcane

Since you made it this far down, here is a little easter egg message.

The word *arcane* refers to mysterious knowledge, secrets understood by only a few.

In an era of endless configuration and complexity, simplicity has become that secret. We have largely forgotten that the web was meant to be crafted, not configured. Arcane is a return to that lost art. It is a reminder that real mastery does not require complexity. It requires deep understanding.

> Now go have fun and develop something you are proud of, but keep it **Arcane**.

All versions of arcane with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
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 capachow/arcane contains the following files

Loading the files please wait ...