Download the PHP package mrfleshka/symfony-versioning-bundle without Composer

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

This is forked project. Author repository


versioning-bundle

SensioLabsInsight Total Downloads

Simple way to version your Symfony Flex application.

What it is:

Purpose:

To have an environment variable in your Symfony application with the current version of the application for various needs:

Providers implemented:

Installation

Symfony Flex automates the installation process, just require the bundle in your application!

The version is automatically available in your application.

Console commands

There are three available console commands. You only need to run the app:version:bump command when manually managing your version number.

Version providers

Providers are used to get a version string for your application. All versions should follow the SemVer 2.0.0 notation, with the exception that letter "v" or "V" may be prefixed, e.g. v1.0.0. The recommended version provider is the GitRepositoryProvider which only works when you have at least one TAG in your repository. Be sure that all of your TAGS are valid version numbers.

Adding own provider

It's easy, write a class that implements the ProviderInterface:

Add the provider to the container using your services file:

Please take a look at the priority attribute, it should be between 0 and 99 to keep the providers in the right order.

Ensure your provider is loaded correctly and supported:

Version formatters

Version formatters are used to modify the version string to make it more readable. The default GitDescribeFormatter works in the following fashion:

If you want to disable the default formatter, use the NullFormatter:

Creating your own version formatter

To customize the version format, write a class that implements the FormatterInterface:

Then alias the FormatterInterface with your own:

Capistrano v3 task for creating a REVISION file

Add following to your recipe

Good luck versioning your project.

Contributions for different SCM's and etc are welcome, just submit a pull request.


All versions of symfony-versioning-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2 || ^8
nikolaposa/version Version ^4
symfony/console Version ^3.4 || ^4 || ^5 || ^6
symfony/framework-bundle Version ^3.4 || ^4 || ^5 || ^6
symfony/process Version ^3.4 || ^4 || ^5 || ^6
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 mrfleshka/symfony-versioning-bundle contains the following files

Loading the files please wait ....