Download the PHP package coolms/core-bundle without Composer

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

coolms/core-bundle

CI Latest Version PHP

Symfony integration for the CoolMS platform kernel. The bundle base class every module extends, the DI extension and compiler passes, the install and secret console commands, and the platform's HTTP plumbing.

Notably it contains no persistence. Which storage backs the kernel's contracts is decided by whichever adapter package is installed — see coolms/core-doctrine.

Installation

Name the adapter, or Composer installs the wrong thing and says it worked. This bundle pulls in coolms/core-application, which requires the virtual coolms/core-persistence-implementation. With no adapter that requirement cannot be satisfied — and instead of failing, Composer backtracks to a release of this bundle from before it declared coolms/core-application at all, then reports success.

Measured at the time of writing: composer require coolms/core-bundle alone resolved to v1.0.1 and pulled coolms/dtmpl 1.0.0 with it. Which older version it lands on is not the point; that it exits 0 is.

coolms/core-doctrine is the adapter that exists today; substitute another if you write one.

What is in here

Area What it does
AbstractCoolmsBundle the base class every platform module's bundle extends
DependencyInjection/ the Core extension, AbstractExtension for module extensions, and the platform compiler passes
Console/ coolms:install and the coolms:secret:* commands
Secret/ the env, encrypted-file and Vault secret stores
Controller/, EventListener/, Http/ the base controller, RFC 7807 exception rendering, page-cache directives
Config/, Json/, Option/, Webhook/ the config cache warmer, JSONC decoding, option sources, webhook signature verification

Extending the platform

A module's bundle extends AbstractCoolmsBundle, and its DI extension extends AbstractExtension:

AbstractExtension provides setResolveTargetEntities(), which accumulates the interface-to-concrete map the platform resolves at compile time.

Declare getAlias() explicitly in every extension. Symfony derives the alias from the class short name, and Extension minus the Extension suffix is the empty string — so two modules that both omit it silently collide on every service id built from the alias.

Related packages

Package Role
coolms/core kernel contracts
coolms/core-application application services
coolms/core-doctrine persistence adapter

License

MIT. See LICENSE.


All versions of core-bundle with dependencies

PHP Build Version
Package Version
Requires api-platform/core Version ^4.2
composer-runtime-api Version ^2.0
coolms/core Version ^2.0.0-alpha5
coolms/core-application Version ^2.0.0-alpha4
coolms/dtmpl Version ^2.0
coolms/rql Version ^1.0
ext-mbstring Version *
ext-sodium Version *
php Version ^8.5
psr/clock Version ^1.0
psr/event-dispatcher Version ^1.0
psr/log Version ^3.0
symfony/config Version ^8.0
symfony/console Version ^8.0
symfony/dependency-injection Version ^8.0
symfony/event-dispatcher Version ^8.0
symfony/expression-language Version ^8.0
symfony/framework-bundle Version ^8.0
symfony/http-client-contracts Version ^3.0
symfony/http-foundation Version ^8.0
symfony/http-kernel Version ^8.0
symfony/messenger Version ^8.0
symfony/process Version ^8.0
symfony/security-bundle Version ^8.0
symfony/serializer Version ^8.0
symfony/service-contracts Version ^3.0
symfony/translation-contracts Version ^3.4.2
symfony/uid Version ^8.0
symfony/validator Version ^8.0
symfony/yaml Version ^8.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 coolms/core-bundle contains the following files

Loading the files please wait ...