think.studio / laravel-iprosoftware-sync
Download ipro data to your own database.
2.1.0
2024-06-03 10:37 UTC
Requires
- php: ^8.1
- illuminate/support: ^10.0|^11.0
- think.studio/laravel-iprosoftware-api: ^4.0
- think.studio/laravel-json-field-cast: ^2.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.49
- orchestra/testbench: ^8.21
- phpunit/phpunit: ^10.5
- psalm/plugin-laravel: ^2.8
- vimeo/psalm: ^5.21
README
Package what allow download data to local db from Ipro api.
Installation
Install the package via composer:
composer require think.studio/laravel-iprosoftware-sync
Optionally you can publish the config file with:
php artisan vendor:publish --provider="IproSync\ServiceProvider" --tag="config"
Run migrations to create ipro tables:
php artisan migrate
Usage
php artisan iprosoftware-sync:database:pull
# or
php artisan iprosoftware-sync:settings:pull
php artisan iprosoftware-sync:contacts:pull
php artisan iprosoftware-sync:properties:pull
php artisan iprosoftware-sync:availability:pull
php artisan iprosoftware-sync:properties-custom-rates:pull
php artisan iprosoftware-sync:blockouts:pull
php artisan iprosoftware-sync:bookings:pull --existing_properties