https://github.com/actuallyconnor/laravel-harvest-api
https://github.com/actuallyconnor/laravel-harvest-api
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/actuallyconnor/laravel-harvest-api
- Owner: ActuallyConnor
- License: mit
- Created: 2021-05-29T00:00:29.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-02T22:02:47.000Z (almost 5 years ago)
- Last Synced: 2025-03-30T07:13:48.726Z (about 1 year ago)
- Language: PHP
- Size: 159 KB
- Stars: 0
- Watchers: 1
- 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 freek@spatie.be 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.