Download the PHP package asciisd/autochartist-laravel without Composer

On this page you can find all versions of the php package asciisd/autochartist-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package autochartist-laravel

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

Installation

Install the package via Composer:

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:

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:

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).

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):

You can pass a query array to filter the results:

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

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:

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.


All versions of autochartist-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package asciisd/autochartist-laravel contains the following files

Loading the files please wait ...