PHPackages                             xbugszone/cryptotools - 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. [Framework](/categories/framework)
4. /
5. xbugszone/cryptotools

ActivePackage[Framework](/categories/framework)

xbugszone/cryptotools
=====================

Framework with tools to trade cryptocurrency

28PHP

Since Nov 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/xbugszone/cryptotools)[ Packagist](https://packagist.org/packages/xbugszone/cryptotools)[ RSS](/packages/xbugszone-cryptotools/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![](https://github.com/xbugszone/cryototools/raw/main/src/resources/cryptocoins.png?raw=true)](https://github.com/xbugszone/cryototools)

[![Contributors](https://camo.githubusercontent.com/5a4fecc7dd6651dcf8aee719bd3d8ed738622b9907b664904e5b264373139eaf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f78627567737a6f6e652f6372796f746f746f6f6c732e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/xbugszone/cryototools/graphs/contributors)[![Forks](https://camo.githubusercontent.com/73d571dda45f1eed7716bee648e3fd236bd62b118176a1ff88eeb23c96febc3e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f78627567737a6f6e652f6372796f746f746f6f6c732e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/xbugszone/cryototools/network/members)[![Stargazers](https://camo.githubusercontent.com/d17f1bdae81dc6603180a628eefe9fbab743700a5014e16142ef7c8d95f12d72/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f78627567737a6f6e652f6372796f746f746f6f6c733f7374796c653d666f722d7468652d6261646765)](https://github.com/xbugszone/cryototools/stargazers)[![Issues](https://camo.githubusercontent.com/4d7c73bef3e2da8863194a0d53952f3d6254dac3ed5f80137abb2ac268d7cfa5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f78627567737a6f6e652f6372796f746f746f6f6c732e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/xbugszone/cryototools/issues)[![MIT License](https://camo.githubusercontent.com/5019f0bb3b7f32caada1b6336a241818ec2c1e26cd1ab90f7df7b50147561109/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f78627567737a6f6e652f6372796f746f746f6f6c732e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/xbugszone/cryototools/blob/master/LICENSE.txt)

### CryptoTools Framework

[](#cryptotools-framework)

 CryptoFramework is a framework intended to easily create bots to manage cryptocurrencies.

 [**Explore the docs »**](https://github.com/xbugszone/cryototools)

 [View Demo](https://github.com/xbugszone/cryototools) · [Report Bug](https://github.com/xbugszone/cryototools/issues) · [Request Feature](https://github.com/xbugszone/cryototools/issues)

 Table of Contents1. [About The Project](#about-the-project)
    - [Built With](#built-with)
2. [Getting Started](#getting-started)
    - [Prerequisites](#prerequisites)
    - [Installation](#installation)
3. [Usage](#usage)
4. [Roadmap](#roadmap)
5. [Contributing](#contributing)
6. [License](#license)
7. [Contact](#contact)
8. [Acknowledgments](#acknowledgments)

About The Project
-----------------

[](#about-the-project)

CryptoFramework is a framework intended to easily create bots to manage cryptocurrencies.

([back to top](#top))

### Built With

[](#built-with)

- [Laravel](https://laravel.com)

([back to top](#top))

Getting Started
---------------

[](#getting-started)

To get started you can use as base a framework like laravel or symfony but for this example I will use it in a blank project

### Prerequisites

[](#prerequisites)

This is an example of how to list things you need to use the software and how to install them.

- composer blank project ```
    composer init
    ```

### Installation

[](#installation)

1. install package in the blank project folder

```
composer require xbugszone/cryptotools
```

([back to top](#top))

Usage
-----

[](#usage)

1. Create a folder called Brokers in your project and with a file inside, for this example we will use the Bitstamp exchange so lets call this file MyBitstamp.php In this file should be this code

```
namespace App\Brokers;

use ccxt\bitstamp;
use Xbugszone\Cryptotools\Brokers\CCTXBroker;

class MyBitstamp extends CCTXBroker
{
protected string $exchange = bitstamp::class;
protected string $apiKey = "your api key";
protected string $apiSecret = "your api secret";
}
```

2. Get the API Key from the selected exchange and update on the file
3. Now to run this app we create a file inside our project but outside of the Brokers folder and we can call it run.php with the following code:

```
