Download the PHP package coolms/field-bundle without Composer

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

coolms/field-bundle

Symfony wiring for the field family: the bundle, its DI extension, the console commands, form types, the override storage router, and the field-definition API Platform resources.

Only pre-releases exist so far, hence the @alpha stability flag. Requiring this pulls in coolms/field and coolms/field-doctrine, so it is the only one of the three you name directly.

What the extension registers

An application that installs the bundle serves those routes without registering any of this package's classes itself. Since API Platform 4.1 a class carrying #[ApiResource] is found by being an autoconfigured service, so the extension registers each resource as one.

Fields declared in configuration

Fields declared in YAML, under config/modules/{module}/fields/{alias}/, are imported into the definitions table by an optional cache warmer: it runs with cache:warmup and cache:clear, after Doctrine's own warmer, and is skipped by --no-optional-warmers and by a warm-up with no database. Rows created that way carry a system marker, and the YAML is their source of truth: each warm-up re-applies it. Rows created through the API carry no marker and are never touched.

The warm-up never deletes. coolms:field:prune-undeclared removes a marked row whose field its alias's YAML no longer declares; it is a dry run unless given --execute, and under --no-interaction it also needs --force. It skips an alias whose YAML is gone entirely, so those rows stay until something else removes them -- the API's delete, for example.

Where an override is written

FieldOverrideStorageRouter decides, per write: in the dev environment, for an entity registered by class or alias, a YAML file, so the change can be committed with the code; in every other case -- any other environment, or a type that exists only at runtime -- the database.

Requires

PHP 8.5, api-platform/core, coolms/core, coolms/core-application, coolms/core-bundle, coolms/entity, coolms/entity-bundle, coolms/field, coolms/field-doctrine, psr/log, and the Symfony config, console, dependency-injection, form, http-foundation, http-kernel, security-bundle, serializer, validator and yaml components. DoctrineBundle with a central entity manager, as above.

Contributing

See the CoolMS organization's contributing guide.

License

MIT. See LICENSE.


All versions of field-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
ext-simplexml Version *
api-platform/core Version ^4.1
coolms/core Version ^2.0.0-alpha4
coolms/core-bundle Version ^2.0.0-alpha7
coolms/core-application Version ^2.0.0-alpha3
coolms/entity Version ^2.0.0-alpha5
coolms/entity-bundle Version ^2.0.0-alpha6
coolms/field Version ^2.0.0-alpha2
coolms/field-doctrine Version ^2.0.0-alpha2
psr/log Version ^3.0
symfony/config Version ^8.0
symfony/console Version ^8.0
symfony/dependency-injection Version ^8.0
symfony/form Version ^8.0
symfony/http-foundation Version ^8.0
symfony/http-kernel Version ^8.0
symfony/security-bundle Version ^8.0
symfony/serializer 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/field-bundle contains the following files

Loading the files please wait ...