Download the PHP package morningtrain/toggl-api without Composer

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

About

PHP class to connect with the Toggl API.

This was coded on an early http://morningtrain.dk

Installation

It can be installed with composer

Dependencies

It depends on guzzlehttp/guzzle ver.6.

Guzzle can be added with the following composer snippet: (or automatically when installing through composer)

Changelog

14/06/2021

30/06/17

Examples

For details about the different objects required in the Toggl Api, take a look at their documentation: https://github.com/toggl/toggl_api_docs

Toggl API

Initialization

Get available endpoints

Clients

https://github.com/toggl/toggl_api_docs/blob/master/chapters/clients.md

Creating a client

Updating a client

Deleting a client

Get all clients

Get all projects for a client

Get all active projects for a client

Get all inactive projects for a client

Get both active and inactive projects for a client

Get client by id

Project users

https://github.com/toggl/toggl_api_docs/blob/master/chapters/project_users.md

Create project user

Create project users

Update project user

Update project users

Create project users

Create project users

Projects

https://github.com/toggl/toggl_api_docs/blob/master/chapters/projects.md

Create project

Update project

Delete project

Delete projects

Get users for project

Get project tasks

Get project by ID

Dashboard

https://github.com/toggl/toggl_api_docs/blob/master/chapters/dashboard.md

Get dashboard for workspace

Users

https://github.com/toggl/toggl_api_docs/blob/master/chapters/users.md

Get me

$related defaults to false. Set it to true, to get related data

Update me

Sign up

Reset API Token

Workspaces

https://github.com/toggl/toggl_api_docs/blob/master/chapters/workspaces.md

Get workspaces

Get workspace by ID

Update workspace

Get workspace users

Get workspace clients

Get workspace projects

Get workspace tasks

Get workspace tags

Workspace users

https://github.com/toggl/toggl_api_docs/blob/master/chapters/workspace_users.md

Invite users to workspace

Update workspace user

Delete workspace user

Get workspace users for workspace

Tags

https://github.com/toggl/toggl_api_docs/blob/master/chapters/tags.md

Create tag

Update tag

Delete tag

Tasks

https://github.com/toggl/toggl_api_docs/blob/master/chapters/tags.md

Get task

Create task

Update task

Update tasks

Delete task

Delete tasks

Time entries

https://github.com/toggl/toggl_api_docs/blob/master/chapters/time_entries.md

Create time entry

Start time entry

Stop time entry

Get time entry

Get running time entry

Get time entries

Get time entries in range

Update tags for time entries

Update time entry

Delete time entry

Reports API

https://github.com/toggl/toggl_api_docs/blob/master/reports.md

Initialization

Get available endpoints

Methods

Get project report

Get summary report

Get details report

Get weekly report


All versions of toggl-api with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
guzzlehttp/guzzle Version ^6.3|^7.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 morningtrain/toggl-api contains the following files

Loading the files please wait ....