PHPackages                             asciisd/autochartist-laravel - 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. [API Development](/categories/api)
4. /
5. asciisd/autochartist-laravel

ActiveLibrary[API Development](/categories/api)

asciisd/autochartist-laravel
============================

Autochartist API integration with Laravel

v4.0.0(3w ago)085↓50%MITPHPPHP ^8.1CI failing

Since Apr 28Pushed 3w agoCompare

[ Source](https://github.com/asciisd/autochartist-laravel)[ Packagist](https://packagist.org/packages/asciisd/autochartist-laravel)[ Docs](https://github.com/asciisd/autochartist-laravel)[ RSS](/packages/asciisd-autochartist-laravel/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (6)Versions (14)Used By (0)

Autochartist for Laravel
========================

[](#autochartist-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/da04c0b852367ffea6ffa7f5b79f7181f7d5140b91dd67f0a351c5763872e50b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617363696973642f6175746f63686172746973742d6c61726176656c2e737667)](https://packagist.org/packages/asciisd/autochartist-laravel)[![Total Downloads](https://camo.githubusercontent.com/5e8c588a759e9264b5977f972eb14c38000fa5d67bb55d198e06c137263700e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617363696973642f6175746f63686172746973742d6c61726176656c2e737667)](https://packagist.org/packages/asciisd/autochartist-laravel)[![License](https://camo.githubusercontent.com/e4d7f2bd0e4a94e60c20f42114b280c61ee5cdbd0115769099d9c6490705ad13/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f617363696973642f6175746f63686172746973742d6c61726176656c2e737667)](https://packagist.org/packages/asciisd/autochartist-laravel)

A lightweight Laravel integration for the [Autochartist](https://www.autochartist.com/) API. It handles request authentication for you and exposes a simple, fluent way to fetch technical analysis data.

Requirements
------------

[](#requirements)

- PHP `^8.1`
- Laravel 10, 11, 12, or 13

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

[](#installation)

Install the package via Composer:

```
composer require asciisd/autochartist-laravel
```

The service provider and the `Autochartist` facade are registered automatically through Laravel package discovery.

Publishing the Config File
--------------------------

[](#publishing-the-config-file)

Publish the configuration file to your application's `config` directory:

```
php artisan vendor:publish --tag=autochartist-config
```

This creates `config/autochartist.php`, where all values are read from your environment.

Environment Variables
---------------------

[](#environment-variables)

Add the following keys to your Laravel project's `.env` file:

```
AUTOCHARTIST_URL=https://api.autochartist.com/
AUTOCHARTIST_BROKER_ID=your-broker-id
AUTOCHARTIST_SECRET_KEY=your-secret-key
AUTOCHARTIST_ACCOUNT_TYPE=demo
AUTOCHARTIST_TOKEN_TTL=259200
```

VariableRequiredDescription`AUTOCHARTIST_URL`NoBase URL for all API requests. Defaults to `https://api.autochartist.com/`.`AUTOCHARTIST_BROKER_ID`YesYour customer (broker) ID on Autochartist's systems.`AUTOCHARTIST_SECRET_KEY`YesThe secret used to sign the request token. Keep this private.`AUTOCHARTIST_ACCOUNT_TYPE`No`demo` or `live`. Defaults to `demo`.`AUTOCHARTIST_TOKEN_TTL`NoHow long (in seconds) a generated token stays valid. Defaults to `259200` (3 days).Usage
-----

[](#usage)

### Fetching Technical Trade Setups

[](#fetching-technical-trade-setups)

Use the `Autochartist` facade to reach the Technical Analysis service and call `technicalTradeSetups()`. It returns the API response decoded into a PHP array (JSON data):

```
use Asciisd\AutochartistLaravel\Facades\Autochartist;

$setups = Autochartist::technicalAnalysis()->technicalTradeSetups();

return response()->json($setups);
```

You can pass a query array to filter the results:

```
use Asciisd\AutochartistLaravel\Facades\Autochartist;

$setups = Autochartist::technicalAnalysis()->technicalTradeSetups([
    'group' => 'Currencies',
]);
```

You may also resolve the service from the container instead of using the facade:

```
use Asciisd\AutochartistLaravel\Services\AutochartistManager;

$setups = app(AutochartistManager::class)
    ->technicalAnalysis()
    ->technicalTradeSetups();
```

### Authentication Requirement

[](#authentication-requirement)

Autochartist credentials are generated per authenticated user (the request token is bound to the user's email). Calls must therefore run within an authenticated context, for example inside a route protected by the `auth` middleware:

```
use Asciisd\AutochartistLaravel\Facades\Autochartist;
use Illuminate\Support\Facades\Route;

Route::middleware('auth')->get('/trade-setups', function () {
    return Autochartist::technicalAnalysis()->technicalTradeSetups();
});
```

If no user is authenticated, or if the secret key is missing, an `Asciisd\AutochartistLaravel\Exceptions\AutochartistException` is thrown.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance94

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 56.7% 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

Every ~5 days

Total

13

Last Release

27d ago

Major Versions

1.0.1 → v2.0.02026-06-11

v2.2.1 → v3.0.02026-06-29

v3.0.1 → v4.0.02026-06-30

PHP version history (2 changes)v1.0.0PHP ^8.2

v2.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77636067?v=4)[ASCII SD](/maintainers/asciisd)[@asciisd](https://github.com/asciisd)

---

Top Contributors

[![melogail](https://avatars.githubusercontent.com/u/7257046?v=4)](https://github.com/melogail "melogail (17 commits)")[![mohanad69](https://avatars.githubusercontent.com/u/41144837?v=4)](https://github.com/mohanad69 "mohanad69 (13 commits)")

---

Tags

laraveltradingtechnical-analysisautochartist

### Embed Badge

![Health badge](/badges/asciisd-autochartist-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/asciisd-autochartist-laravel/health.svg)](https://phpackages.com/packages/asciisd-autochartist-laravel)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

813336.8k3](/packages/defstudio-telegraph)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.6k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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