Download the PHP package johnnickell/fight-access-control without Composer

On this page you can find all versions of the php package johnnickell/fight-access-control. 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 fight-access-control

Fight AccessControl

Framework-neutral identity, credential, session, authorization, and account-lifecycle contracts for Fight applications.

The 0.2.0 release adds an opt-in, non-autoloaded OpenAPI component catalog for consumer-owned documents. See OpenAPI composition.

The 0.1.x release line provides the first public-source package milestone while the API remains intentionally pre-1.0.0. It delivers the framework-neutral Domain and Application behavior described by the repository-local product specifications; consumer projects continue to own framework and infrastructure adapters. Tagged package versions intentionally precede full starter implementation so those projects can integrate against immutable version tags and return compatibility findings through later 0.x releases.

Package boundary

Production code follows Domain <- Application:

See TICKET-00001 for the repository-local behavioral and security authority.

Current principal composition

Consumers implement AuthenticationContextProvider to expose only the authenticated User ID, refresh-session ID, and authentication version for the current request. The composition root must create a new CurrentPrincipalProvider for each request with that context provider and the package AuthoritativePrincipalResolver. Application handlers use CurrentPrincipalProvider; its first lookup resolves all principal roles and permissions from authoritative repositories and later lookups in the same request return that cached result. Consumers cannot inject role or permission snapshots through this boundary.

After a consumer-owned framework adapter selects and resolves the request's authentication path, its composition root creates one SecurityContext from exactly one AuthenticatedUserPrincipal or AuthenticatedAgentPrincipal. The context exposes that authority's type and delegates its Permission and Role checks. Agents retain only their direct Permissions and have no package-level Roles; framework wrappers, endpoint policy, and response handling remain consumer-owned.

Local development

PHP 8.5 and Docker are required. Tooling follows the Fight Common conventions and runs in the isolated fight-access-control container through repository-owned scripts:

./bin/build is the canonical completion command. It installs the tracked Composer resolution and runs the single ordered ./bin/quality gate. ./bin/build --latest checks the latest dependency versions compatible with composer.json; hosted CI performs that same latest-compatible resolution before invoking ./bin/quality directly.

For a clean, dated release candidate, ./bin/release certify <version> records its exact HEAD and the OpenAPI consumer-composition, planning, and package-quality evidence under ignored .runs/. It is verification-only and does not create a commit, merge, tag, push, or publication.

Coordinate-build scratch work belongs under gitignored .runs/<YYYY-MM-DD>-<slug>/. Never stage it. When an approved task needs isolation, create its disposable linked worktree under that run directory at worktree/; run commands from that checkout and remove it only with separate cleanup authorization. See CONTRIBUTING.md for Git Flow, isolation, and review expectations.

Security

Do not disclose suspected vulnerabilities in public issues or pull requests. Follow the private reporting process in SECURITY.md.

Visibility and release effects

These are independent operational effects. Approval for one is not approval for another; each requires a separate approval:

The repository is public under the MIT License. v0.1.0 is its first public package release; later 0.x versions may refine public contracts before the separate 1.0.0 stability review. A commit hash may still be used for reproducible integration testing, but it is not a version tag or release.

License

Fight AccessControl is available under the MIT License.


All versions of fight-access-control with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5
johnnickell/fight-common Version ^1.2
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 johnnickell/fight-access-control contains the following files

Loading the files please wait ...