Download the PHP package vincentholmblad/bitbucket-packagist without Composer

On this page you can find all versions of the php package vincentholmblad/bitbucket-packagist. 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 bitbucket-packagist

About

A simple library that automatically creates a local packagist for private repositories hosted on BitBucket.

The project has two main functions:

  1. Creates a json file with auto-generated repositories (vcs) from a user or team on BitBucket that can be merged into an existing composer.json file. This is almost like having a local version of a Private Packagist.
  2. Takes the auto-generated json file to also create a static composer repository (through Satis) that can be uploaded to a server and served to other projects.

Installation

composer require vincentholmblad/bitbucket-packagist

Add these lines to composer.json after you've installed the package.

Then run composer run-script bb_composer_packages whenver you need to update your local packagist.

NOT RECOMMENDED! If you want to automatically update the local packagist with any changes then also include this to your composer.json. This will make the process of updating and installing new packages very slow as the process has to check load composer.json files from all your private repositories to build the packages.json file.

If you want to upload the result to a server then run composer run-script bb_composer_packages and upload the resulting folder ("./dist/" inside the package directory in vendor) to your hosting-service of choice. You can then include your new private packagist with this code in your composer.json.

Sidenote for repositories

Make sure that every repository that you want to include has its own composer.json with at least a name and a version field. This namefield should match the name of the repository.

An example below.


All versions of bitbucket-packagist with dependencies

PHP Build Version
Package Version
Requires gentle/bitbucket-api Version ^1.1
kriswallsmith/buzz Version ^0.16
composer/satis Version ^1.0
wikimedia/composer-merge-plugin Version ^1.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 vincentholmblad/bitbucket-packagist contains the following files

Loading the files please wait ....