Download the PHP package novara/base without Composer

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

Novara

![](https://github.com/Novara-PHP/base/actions/workflows/tests.yml/badge.svg) ![](https://raw.githubusercontent.com/Novara-PHP/base/image-data/coverage.svg) ![](https://img.shields.io/github/v/release/Novara-PHP/base) [![License: MIT](https://img.shields.io/github/license/Novara-PHP/base)](../../raw/main/LICENSE.txt)
[//]: # () Variables? Disgusting!

Say "No!" to variables! Don't introduce state to your code.

9/10 Variables can be replaced with functional programming. I say let's ignore the remaining one and just do it!

Someone Somewhere

Installation

Usage

Superglobals

Superglobals (including $GLOBALS) can be accessed read-only.

include() and require()

Enforce novarity¹ by replacing require and include with the library functions.

ⓘ You can also autoload via the \Novara\Base\Autoloader\Loader class. See autoload.php.

throwIf()

Throws an Exception if the condition evaluates to true. Returns false if no Exception was thrown.

spread()

Reuse a value across multiple calls without creating a dedicated variable.

spread() will return true if all calls return a truthy value, otherwise false.

pass()

Novara::Call::pass() re-scopes a value as parameter of a function call. Passing allows returning the value from the internal call.

args()

The Novara::Call::args() function allows you to ensure novarity yet still have named arguments.

This can be combined with passing or spreading.

Why do this?

There a many good reasons to use Novara!

Jokes aside

I made this to prove I point. I have yet to find that point...


¹ "novarity" describes the complete absence of variables inside a PHP-Script.


All versions of base with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
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 novara/base contains the following files

Loading the files please wait ....