Download the PHP package anteris-dev/laravel-autotask-client without Composer

On this page you can find all versions of the php package anteris-dev/laravel-autotask-client. 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 laravel-autotask-client

Bringing the Autotask Client to Laravel

This package bridges the Autotask client to Laravel by injecting it into the application container.

To Install

Run composer require anteris-dev/laravel-autotask-client.

To publish the configuration file, use the command php artisan vendor:publish --provider 'Anteris\Autotask\Laravel\ServiceProvider'. Now you can enter your Autotask API information in the configuration file found at config/autotask.php or preferablly, in your .env file using the keys below.

To register the facade so you may use the client like this: Autotask::tickets()->findById(0) add the following line to the 'aliases' key in the Laravel file config/app.php.

Getting Started

You can inject the Autotask client like any other class. Laravel will automatically create the client and setup your credentials whenever you need it. An example is listed below.

You can also setup the facade (see above) for even easier access to the client. See the example below.

For more information about the client, check out the documentation over here.

WIP Section

We are currently working on a model that can be extended and interacted with like other Laravel models (relationships loaded, etc.). These models support caching the responses so requests are not constantly being made against the Autotask server. You can specify the number of seconds a response should be cached by setting the $cache_time variable on your model. By default this is set to 24 hours, settings this to 0 disables the cache.

To Install

Run composer require anteris-dev/laravel-autotask-client:dev-master.

Getting Started

Create a new model by extending the Autotask model.

Defining Relationships

Current belongsTo() and hasMany() relationships amongst other Autotask models is supported. These are defined as shown below.


All versions of laravel-autotask-client with dependencies

PHP Build Version
Package Version
Requires anteris-dev/autotask-client Version ^0.5
illuminate/support Version ^7.0|^8.0
jenssegers/model Version ^1.4
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 anteris-dev/laravel-autotask-client contains the following files

Loading the files please wait ....