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.
Download morningtrain/toggl-api
More information about morningtrain/toggl-api
Files in morningtrain/toggl-api
Package toggl-api
Short Description A complete native php wrapper for the Toggl API
License GNU General Public License v3.0
Homepage https://morningtrain.dk/
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
- Added methods for some of the undocumented project_group endpoints. This will make it possible to assign, update or remove groups from private projects.
30/06/17
- Changed function name from getDashboadForWorkspace to getDashboardForWorkspace, if your system is using getDashboadForWorkspace please change it to getDashboardForWorkspace.
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