Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/actuallyconnor/laravel-harvest-api
https://github.com/actuallyconnor/laravel-harvest-api
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/actuallyconnor/laravel-harvest-api
- Owner: ActuallyConnor
- License: mit
- Created: 2021-05-29T00:00:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-02T22:02:47.000Z (over 3 years ago)
- Last Synced: 2024-06-09T19:25:02.760Z (5 months ago)
- Language: PHP
- Size: 159 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Laravel Harvest API
This library is intended to be used within Laravel. It is an interface to the Harvest API.
## Authentication
This library uses the _Personal Access Token_ to authenticate with Harvest.
[Harvest Authentication](https://help.getharvest.com/api-v2/authentication-api/authentication/authentication/)
## Installation
You can install the package via composer:
```bash
composer require actuallyconnor/laravel-harvest-api
```### Configuration
#### Publish config file
```shell
php artisan vendor:publish
```#### Add items to `.env` file
```dotenv
HARVEST_ACCESS_TOKEN={your-access-token}
HARVEST_ACCOUNT_ID={your-account-id}
HARVEST_USER_AGENT={your-user-agent}
```### Service Provider
Add service provider to `config/app.php`
```
\ActuallyConnor\LaravelHarvestApi\Providers\HarvestServiceProvider::class,
```## Usage
### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Connor Smyth](https://github.com/ActuallyConnor)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.