Download the PHP package pickleboxer/bitbucket-update-fetcher without Composer
On this page you can find all versions of the php package pickleboxer/bitbucket-update-fetcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pickleboxer/bitbucket-update-fetcher
More information about pickleboxer/bitbucket-update-fetcher
Files in pickleboxer/bitbucket-update-fetcher
Package bitbucket-update-fetcher
Short Description PHP update fetcher from BitBucket
License MIT
Informations about the package 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
- 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
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:
-
Include the necessary files and use the UpdateFetcher class:
-
Instantiate the UpdateFetcher class:
-
Set the current version, workspace, repository slug, and access token:
- Update to the latest version:
Development Environment Setup
Follow these steps to open this project in a development container using Visual Studio Code:
- Install the Remote - Containers extension in Visual Studio Code.
- Clone the project repository to your local machine.
- Open the project folder in Visual Studio Code.
- Press
F1
to open the command palette. - 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:
Contributing
Contributions are welcome. Please submit a pull request or create an issue to discuss the changes you want to make.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
All versions of bitbucket-update-fetcher with dependencies
ext-curl Version *
ext-zip Version *
desarrolla2/cache Version ^3.0
php Version >=7.2.0
monolog/monolog Version ^2.1
composer/semver Version ^3.0
psr/log Version 1.1.4