Download the PHP package digitalequation/teamwork without Composer

On this page you can find all versions of the php package digitalequation/teamwork. 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 teamwork

Teamwork PHP SDK - Laravel Framework

Latest Version on Packagist Build Status StyleCI Quality Score Total Downloads License

A PHP Laravel wrapper library for Teamwork Desk, Teamwork Help Docs and Teamwork Tickets API's.
This package was built for our internal projects and may not be the right one for you but you are free to use it if you like.

Installation

You can install the package via composer:

Run the package install command:

This will publish and register the TeamworkServiceProvider and will also generate a config file config/teamwork.php.

You can edit this file directly but we recommend to add your settings in the .env file.

If you edit the config file and want to restore the defaults run:

Add your Teamwork Desk API Key and Domain to the .env file:

Usage

Example using facade:

Example using dependency injection:

For all of the examples listed bellow we will use the Teamwork facade.

Teamwork Desk


Get current user data:

Get all Teamwork Desk Inboxes:

Get an inbox by name:

Upload a file:

Example response for file upload:

TIP: Surround your Teamwork calls in try-catch blocks to capture any possible thrown exception.

Teamwork Tickets


Get ticket priorities:

Get a ticket by id:

Get a list of tickets for a customer/user:

Post/Send a ticket:

Reply to a ticket:

Teamwork Help Docs


Get Help Docs list of sites:

Get a Help Docs site by id:

Get all categories within a site:

Get articles within a category:

Get a list of site articles:

Get a single article:

Get multiple articles by id's:

Testing

This will also generate a coverage report that is accessible on the build directory, coverage and open the index.html file to see the results.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of teamwork with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4
guzzlehttp/guzzle Version ~6.0
illuminate/support Version 7.*
ext-json Version *
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 digitalequation/teamwork contains the following files

Loading the files please wait ....