New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

asciisd/autochartist-laravel

Autochartist API integration with Laravel
1,412

Larablocks Analysis

asciisd/autochartist-laravel works with Laravel 10 to 13 (latest release v4.1.0, Oct 7, 2026).

Promising: maintained and up to date, meets 2 of 4 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Oct 7, 2026)
  • 670 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Actively maintained
  • Last stable release: Oct 7, 2026.
  • 14 releases in the last 12 months.
  • First released: Apr 28, 2026.
  • Monthly downloads: 670.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.

Install
composer require asciisd/autochartist-laravel
Latest Version:v4.1.0
PHP:^8.1
Laravel:10 – 13
License:MIT
Last Updated:Oct 7, 2026
Links: GitHub  ·  Packagist
Maintainer: asciisd

Autochartist for Laravel

Latest Version on Packagist Total Downloads License

A lightweight Laravel integration for the Autochartist API. It handles request authentication for you and exposes a simple, fluent way to fetch technical analysis data.

Requirements

  • PHP ^8.1
  • Laravel 10, 11, 12, or 13

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

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

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
AUTOCHARTIST_TIMEOUT=10
Variable Required Description
AUTOCHARTIST_URL No Base URL for all API requests. Defaults to https://api.autochartist.com/.
AUTOCHARTIST_BROKER_ID Yes Your customer (broker) ID on Autochartist's systems.
AUTOCHARTIST_SECRET_KEY Yes The secret used to sign the request token. Keep this private.
AUTOCHARTIST_ACCOUNT_TYPE No demo or live. Defaults to demo.
AUTOCHARTIST_TOKEN_TTL No How long (in seconds) a generated token stays valid. Defaults to 259200 (3 days).
AUTOCHARTIST_TIMEOUT No Seconds to wait for an Autochartist response before raising an AutochartistException. Defaults to 10.

Usage

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

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

This package is open-sourced software licensed under the MIT license.

Related Packages

asciisd/pelican

Pelican Laravel SDK - a Laravel package for integrating with the CopyTrade (Peli...

1,000 0
masyasmv/finam-sdk-laravel

PHP SDK for Finam Trade API with Laravel integration (REST).

1,291 0
mattfalahe/buyback-manager

Corporation buyback plugin for SeAT - Sellers appraise their items with no login...

1,077 1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338

Version History

Version Released PHP Laravel License
v4.1.0 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v4.0.0 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v3.0.1 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v3.0.0 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v2.2.1 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT