jwcobb / tevo-harvester
TEvo Harvester is a tool to populate your own local database tables with a cache of the Ticket Evolution API data.
Installs: 182
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 5
Open Issues: 1
Type:project
Requires
- php: ^8.0
- doctrine/dbal: ^3.1
- fruitcake/laravel-cors: ^2.0
- guzzlehttp/guzzle: ^7.0.1
- laravel/framework: ^8.54
- laravel/tinker: ^2.5
- ticketevolution/ticketevolution-php: ^4.2
Requires (Dev)
- barryvdh/laravel-ide-helper: ^2.10
- facade/ignition: ^2.5
- fakerphp/faker: ^1.9.1
- laravel/sail: ^1.0.1
- mockery/mockery: ^1.4.2
- nunomaduro/collision: ^5.0
- phpunit/phpunit: ^9.3.3
This package is auto-updated.
Last update: 2024-12-19 23:11:23 UTC
README
TEvo Harvester is a tool to populate your own local database tables with a cache of the Ticket Evolution API data. It allows you to very easily create, populate, and update tables with the cache-able API data and includes the ability to easily schedule for this data to be updated periodically.
This application can and should be separate from whatever project you are creating to utilize the data. This keeps the underlying technologies, dependencies, and requirements separate from your main project and allows you to update this project as necessary without affecting other projects you are building that utilize the data stored by this application.
Installation
You can install this project via composer:
composer create-project jwcobb/tevo-harvester /path/to/project --prefer-dist
Configuration
Edit the .env
file to add your database info as well as your Ticket Evolution API credentials and any other necessary changes.
Run Database Migrations
Migrations are included to create any necessary tables. From the command line run
php artisan migrate
Scheduling Updates
TEvo Harvester Laravel Scheduler to run these commands automatically at preset times. Just be sure to add the Laravel Scheduler to your crontab
.
Each Harvest already has a suggested update interval assigned to it, but using the Dashboard you can edit the schedule and even include URLs to ping before and after updates in case you wish to use a Dead Man’s Switch such as Pushmon or Dead Man’s Snitch to ensure your updates are running as desired.
Manually Running Updates
Updates of the API information can be run either via the Dashboard or via command line using the artisan console with a command such as
php artisan harvester:update performers --action=active
Security Vulnerabilities
If you discover any security related issues, please email oss at jcobb dot org instead of using the issue tracker.
License
TEvo Harvester is open-sourced software licensed under the MIT license