Download the PHP package rossedman/teamwork without Composer
On this page you can find all versions of the php package rossedman/teamwork. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rossedman/teamwork
More information about rossedman/teamwork
Files in rossedman/teamwork
Package teamwork
Short Description PHP wrapper for the Teamwork project management API
License MIT
Informations about the package teamwork
Laravel 5 Teamwork PM API Bridge
This is a simple PHP Client that can connect to the Teamwork API. This package was developed to be used with Laravel 5 but can also be used stand alone as well. I hope this helps you automate and extend Teamwork to integrate even more into your business! Have fun and good luck. :metal:
Installation
Just add this to your composer.json
and then run composer update
.
You can also simply add it like this
Laravel Setup
This wrapper comes with support for Laravel 5
. This includes a service provider as well as a facade for easy access.
Once this package is pulled into your project just add this to your config/app.php
file.
and then add the facade to your aliases
array
Configuration
If you are using Laravel then add a teamwork
array to your config/services.php
file
Use
If you are using the Facade with Laravel youc an easily access Teamwork like this
If you want to use dependency injection to make your application easy to test the Service Provider binds Rossedman\Teamwork\Factory
. Here is an example of how to use it with dependency injection
Configuration Without Laravel
If you are not using Laravel you can instantiate the class like this
You are ready to go now!
Examples
Not all of the Teamwork API is supported yet but there is still a lot you can do! Below are some examples of how you can access Projects, Companies, and more. To work with a specific Object pass in the ID to perform actions on it. Data can be passed through for creating and editing.
To see more examples visit the docs
Roadmap
1.1 Release
- [X] Add Support For
Comments
- [ ] Add Support For
Permissions
- [ ] Add Support For
Time
Endpoint
1.2 Release
- [ ] Add Support For
Categories
- [ ] Add Support For
People Status
- [ ] Add Support For
Files
- [ ] Add Support For
Notebooks