Download the PHP package bro-world/core-bundle without Composer

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

Bro World Core Bundle

Core utilities and cross‑cutting services for Bro World microservices, packaged as a reusable Symfony bundle.

Goals

  • Centralize shared code (traits, helpers, subscribers, transport strategies, small infra services)
  • Keep domain‑specific logic inside each microservice
  • Provide clean, opt‑in configuration (no hard coupling)

Requirements

The bundle does not force doctrine/orm as a hard dependency. Install it in your apps as needed.


Installation

A) From Packagist (recommended)

B) From Git (VCS)

Enable the bundle


Configuration

Create config/packages/bro_world_core.yaml in your app. All options are optional and have sensible defaults.

If you don’t need a given area (e.g. Messenger), you can omit it entirely.


What’s included

Depending on what you use in your apps, this bundle typically provides:

The exact set may evolve; keep an eye on the changelog.


Service Wiring (what the bundle wires for you)

The bundle uses PHP config to autowire/autoconfigure its own namespace and binds common scalars so you don’t have to override them in each app, e.g.:

If you need to override any of those in a particular app, you can redefine the service in that app’s services.yaml.


Messenger Integration (optional)

If you want to use the provided retry strategy:

Set bro_world_core.messenger.failed_retry.* options in bro_world_core.yaml to control behavior.


Doctrine / Ramsey UUID (optional)

If your app uses Ramsey UUID and the DBAL types, install:

The bundle can prepend a DBAL type mapping when Doctrine is present:

If you prefer, you can configure DBAL types manually in your app instead.


Usage Examples

Secured path regex

Custom retry strategy for failed messages

Configuring the API proxy

Injecting the Clock service


Versioning & Releases


Contributing

Issues and PRs are welcome.


Security

If you discover a security vulnerability, please open a private issue or contact the maintainer directly.


License

See the LICENSE file distributed with this repository. (Composer currently advertises proprietary.)


All versions of core-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
symfony/framework-bundle Version ^7.2
symfony/config Version ^7.2
symfony/http-client Version ^7.2
symfony/mime Version ^7.2
symfony/serializer Version ^7.2
symfony/validator Version ^7.2
symfony/messenger Version ^7.2
ramsey/uuid Version ^4.6
ramsey/uuid-doctrine Version ^2.1
elasticsearch/elasticsearch Version ^8.15
mark-gerarts/automapper-plus-bundle Version ^2.4
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 bro-world/core-bundle contains the following files

Loading the files please wait ...