Download the PHP package tekod/accent-core without Composer

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

Accent core package

Core package contains common classes required by all other Accent packages.

Classes for basic concepts (autoloader, Component, Service manager, Events,..) are declared here.

There are following directories in this package:

Each directory has its own README.doc file with more detailed description of components and their usage.

Component class

This class is ultimate ancestor of almost all other AccentPHP objects.

It defines some handful features like:

RequestContext

Because direct access to superglobals ($_SERVER, $_FILES, $_ENV,...) are not permmited in Accent components they fetching that values from RequestContext.

Basically this is DTO with few fancy getters and setters. Some normalization of values will be internaly performed after any setter operation.

Instance of this object is typically injected in constructor options of other objects allowing them to reach emulated superglobals.

Stacker

This is utility for making stack (collection) of objects of same type. Stack mimics behaviour of these objects by passing all calls to object on top so consumers are not aware of its real nature.

For example components have to fetch some data from RequestContext but within sub-requests there must be stored different values. Solution is to make Stacker object as service named something like 'GetRequestContext' and push normal RequestContext object in it. When subrequest arrives just push new RequestContext object in that service and all components will receive new values. Class Accent\Application\AbstractKernel doing exactly that.


All versions of accent-core with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
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 tekod/accent-core contains the following files

Loading the files please wait ....