Download the PHP package talevskiigor/composer-bump without Composer

On this page you can find all versions of the php package talevskiigor/composer-bump. 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 composer-bump

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

Description

Laravel Bump is a package that allows you to easy change your version of your application or package in composer.json file through an Artisan command.

Pretend you have an application or package that you would like to ensure has the right version information in composer.json, you can run php artisan bump to get automatically increase version information.

Example output

unknown@Dell-Studio-1747:~/Code/ComposerBump$ php artisan bump
Bump from: 0.0.1 to 0.0.2
unknown@Dell-Studio-1747:~/Code/ComposerBump$

Also has nice Facade to be used in about page or similar where you need to show your application or package version to the customer.

For more information about versioning please visit http://semver.org/

Given a version number MAJOR.MINOR.PATCH, increment the:

Usage

List of all commands:

php artisan bump:patch Increments PATCH version (major.minor.PATCH => verison 0.0.1)

Example output: Bump from: 0.0.1 to 0.0.2

php artisan bump:minor Bump MINOR version (major.MINOR.patch => verison 0.1.0)

Example output: Bump from: 0.0.2 to 0.1.0

php artisan bump:major Bump MAJOR version (MAJOR.minor.patch => verison 1.0.0)

Example output: Bump from: 0.1.0 to 1.0.0

Using Facade support:

In your controller you can easy get and return version of your application or package

`return ComposerBump::getVersion();`

Install

Step 1: Install through Composer

composer require talevskiigor/composer-bump

Step 2: Update config/app.php and insert the folowing line in Service Provider

Talevskiigor\ComposerBump\ComposerBumpServiceProvider::class,

Step 3 (optional): Add Facade support

'ComposerBump'=>Talevskiigor\ComposerBump\Facades\ComposerBump::class,

If you want to use this package for only local development, you don't need to update config/app.php. Instead, you can update provider app/Providers/AppServiceProvider.php, for example:

public function register()
{
    if ($this->app->environment() == 'local') {
        $this->app->register('Talevskiigor\ComposerBump\ComposerBumpServiceProvider');
    }
}

Step 4: Run the new Artisan Commands

`php artisan bump` - this is alias of `bump:patch`

Nice to know

Package will make backup copy of you composer.json file on each use, so you can easy do undo on changes, simple use undo command as:

`php artisan bump:undo`

Example output:

!!! WARNING !!!!!! WARNING !!!!!! WARNING !!!
    This will replace content of: composer.json file with content from file: composer.json-backup   !!!

 Are you suere? [y|N] (yes/no) [no]:
 > yes

Restored file: composer.json-backup into file: composer.json

unknown@Dell-Studio-1747:~/Code/ComposerBump$

Contributing

Add unit tests for any new or changed functionality. Lint and test your code using PHPUnit.

  1. Fork it
  2. Switch to develop branch (git checkout develop)
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request
  7. Thank You

License

Copyright (c) MIT license.


All versions of composer-bump with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
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 talevskiigor/composer-bump contains the following files

Loading the files please wait ....