Download the PHP package kumwe/business-policy without Composer

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

Business Policy

Packagist version CI

kumwe/business-policy owns a bounded record-policy AST, deterministic evaluation, field disclosure and immutable access plans under Kumwe\BusinessPolicy.

Installation

Requires 64-bit PHP 8.5 and ext-json. There are no third-party runtime dependencies. Pre-1.0 consumers pin an exact release and verify it before adoption:

The version badge links to published packages. The CI badge reports the default-branch quality gate; it does not attest a release or a consumer's Core integration.

Usage

Run the complete standalone example with composer examples. Empty allow sets deny; matching denies override allows. Missing fields act as null. Empty disclosure sets disclose no fields. Constructors reject invalid grammar, references, types and complexity through InvalidArgumentException; JSON encoding can raise JsonException. Decimal comparisons use exact digits, never floating-point coercion. Immutable values and the stateless evaluator are reusable across requests; the caller supplies values and authority for each operation.

There is no ConfigProvider: values are directly constructed, and RecordPolicyEvaluator has no collaborators, configuration or mutable state. There are no factories, aliases, registries or injected services. The predicate interface describes a closed grammar; custom implementations cannot add operators.

Core contract

Core and other consuming applications retain active policy selection, actor/resource loading, final allow/deny/step-up decisions, query compilation, transactions, audit and delivery. In-memory evaluation is a semantic facility: hosts constrain queries before counts, paging, aggregates, reports and exports. An access plan records host authority; constructing one does not authorize a caller.

See release record.

Development

The gate runs syntax, PSR-12, maximum-level static analysis, behavior and hostile-input tests, API and architecture drift checks, dependency security audit, release automation tests, and a fresh no-dev, authoritative-classmap install from the verified Composer ZIP. CI targets PHP 8.5 on Linux. Archive consumers require only PHP and JSON; ZIP is required by the development archive gate.

Releases and compatibility

Release automation reads the first numbered release record. Source changes on main are not added to an existing release.

Licensed under Apache-2.0.


All versions of business-policy with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
ext-json 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 kumwe/business-policy contains the following files

Loading the files please wait ...