Download the PHP package cre8-it/vincrease without Composer

On this page you can find all versions of the php package cre8-it/vincrease. 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 vincrease

Version Management Command

This package provides a set of Artisan commands for managing version numbers in your Laravel project, particularly for handling the APP_VERSION in your .env file. It is designed for continuous deployments and follows semantic versioning to keep track of application updates.

Installation

  1. Install the package via Composer:

  2. (Optional) Publish the configuration file if you need to modify settings:

Available Commands

vincrease:init

Initializes the APP_VERSION in your .env file if it does not exist. You can provide a custom version with the --app-version option.

Options:

Usage:

To specify a version:

vincrease:up

Increases the version number in APP_VERSION in your .env file. By default, it increments the patch version, but you can specify the level of increment (major, minor, patch).

Usage:

By default, increase the patch version:

To increase the major version:

Integrations

Services like Ploi and Forge are just two examples of how it can be integrated, but similar functionality can be achieved with other deployment providers. Refer to their documentation for details on how to pass versioning parameters or modify deployment scripts accordingly.

Using vincrease with Ploi

If you're using Ploi.io for deployment, you can integrate vincrease into your deployment script to ensure the APP_VERSION is incremented with each deploy, depending on the type of version increase you hint in your latest commit message for example.

Example deployment script:

For Laravel Forge, you can modify your deployment script to include vincrease, ensuring that each deployment updates the application version, based on environment variables injected into your deployment script by Forge.

Example deployment script:

Additionally, Forge allows passing query parameters to deployment triggers. This means you can dynamically control version increments by passing type=major or type=minor in the trigger URL:

Forge will then inject a FORGE_VAR_TYPE variable that can be used in your deployment script:

Why use vincrease?

automatically updating an APP_VERSION might be useful to:

Testing

Running Tests and Code Quality Tools

This project includes a few commands to help with code quality and testing:

Available Composer Commands:

License

This package is open-source and available under the MIT License.


All versions of vincrease with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
laravel/framework Version ^10.0|^11.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 cre8-it/vincrease contains the following files

Loading the files please wait ....