PHPackages                             pickleboxer/bitbucket-update-fetcher - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. pickleboxer/bitbucket-update-fetcher

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pickleboxer/bitbucket-update-fetcher
====================================

PHP update fetcher from BitBucket

v1.0.0(2y ago)014MITPHPPHP &gt;=7.2.0

Since Nov 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/PickleBoxer/Bitbucket-Update-Fetcher)[ Packagist](https://packagist.org/packages/pickleboxer/bitbucket-update-fetcher)[ RSS](/packages/pickleboxer-bitbucket-update-fetcher/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Bitbucket Update Fetcher
========================

[](#bitbucket-update-fetcher)

The `UpdateFetcher` class is responsible for fetching updates from Bitbucket. It maintains information about the latest version and updates not yet installed. It also uses caching to optimize update requests and a logger instance for logging purposes. The class uses several dependencies including Composer\\Semver\\Comparator, Desarrolla2\\Cache\\CacheInterface, Monolog\\Logger, and others.

Installation
------------

[](#installation)

- Install the library via composer pickleboxer/bitbucket-update-fetcher
- Create an update file/method in your application with your update routine (see example/update/index.php)

Usage
-----

[](#usage)

To use the `UpdateFetcher` class, you need to instantiate it and then call the appropriate methods. Here's a step-by-step guide on how to use the UpdateFetcher class:

1. Include the necessary files and use the UpdateFetcher class:

```
require('vendor/autoload.php');
use BitbucketUpdateFetcher\UpdateFetcher;
```

2. Instantiate the UpdateFetcher class:

```
$fetcher = new UpdateFetcher();
```

3. Set the current version, workspace, repository slug, and access token:

```
$fetcher->setCurrentVersion('0.1.1');
$fetcher->setWorkspace('workspace');
$fetcher->setRepoSlug('repoSlug');
$fetcher->setAccessToken('your_access_token');
```

4. Update to the latest version:

```
$result = $fetcher->update();
```

Development Environment Setup
-----------------------------

[](#development-environment-setup)

Follow these steps to open this project in a development container using Visual Studio Code:

1. Install the [Remote - Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) in Visual Studio Code.
2. Clone the project repository to your local machine.
3. Open the project folder in Visual Studio Code.
4. Press `F1` to open the command palette.
5. Select `Remote-Containers: Reopen in Container` from the dropdown.

Once the development container is up and running, you can view the application by navigating to the following URL in your web browser:

```
localhost:8000/example/

```

Contributing
------------

[](#contributing)

Contributions are welcome. Please submit a pull request or create an issue to discuss the changes you want to make.

License
-------

[](#license)

This project is licensed under the MIT License. See the LICENSE file for more details.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

917d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4c5ee6ee6a8edf378add2f91aed5fd0fc341abf3fe306d521881a7f4fe3f552?d=identicon)[PickleBoxer](/maintainers/PickleBoxer)

---

Top Contributors

[![PickleBoxer](https://avatars.githubusercontent.com/u/78869247?v=4)](https://github.com/PickleBoxer "PickleBoxer (6 commits)")

---

Tags

bitbucketdownloadupdate

### Embed Badge

![Health badge](/badges/pickleboxer-bitbucket-update-fetcher/health.svg)

```
[![Health](https://phpackages.com/badges/pickleboxer-bitbucket-update-fetcher/health.svg)](https://phpackages.com/packages/pickleboxer-bitbucket-update-fetcher)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.4k37.3k](/packages/matomo-matomo)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[visualappeal/php-auto-update

Autoupdater for PHP

24136.3k](/packages/visualappeal-php-auto-update)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
