2017 © Pedro Peláez
 

library rentals-united-caching

Rentals United (rentalsunited.com) data synchronization system for Laravel 5

image

jasekz/rentals-united-caching

Rentals United (rentalsunited.com) data synchronization system for Laravel 5

  • Sunday, December 20, 2015
  • by jasekz
  • Repository
  • 2 Watchers
  • 4 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Rentals United Caching

Software License, (*1)

Synchronize Rentals United data with your local database., (*2)

Installation

NOTE: If you haven't set up a database yet for your app, please do that first as per Laravel docs - http://laravel.com/docs/5.0/database., (*3)

Via composer, (*4)

composer require jasekz/rentals-united-caching

``` composer update, (*5)


Then in your `config/app.php` add ```php 'Jasekz\RentalsUnitedCaching\RentalsUnitedCachingServiceProvider'

to the providers array and, (*6)

    'RentalsUnited' => 'Jasekz\RentalsUnitedCaching\RentalsUnitedCachingFacade'

to the aliases array., (*7)

Finally, run, (*8)

artisan vendor:publish

followed by, (*9)

artisan migrate

Now in your .env file, define your Rentals United credentials and path to store the downloaded XML files (temporary storage):, (*10)

RENTALS_UNITED_USERNAME=<your Rentals United username/email>
RENTALS_UNITED_PASSWORD=<your Rentals United password>
XML_CACHE_DIR='/path/to/cache/directory/'

Usage Examples

  • artisan rentals_united:cache_all // truncate all tables and cache everything
  • artisan rentals_united:cache_properties --id=4 // cache property (ID) 4
  • artisan rentals_united:cache_properties --id=4,5 // cache properties (ID) 4 & 5
  • artisan rentals_united:cache_properties --id=new // find and cache all new properties
  • artisan rentals_united:update_change_log --since="-1 month" // check for updates 'since' given date/time
  • artisan rentals_united:update_change_log --since="2014-03-26 12:51:00" // check for updates 'since' given date/time
  • artisan rentals_united:update_properties --since="-1 month" // update properties which changed 'since' given date/time
  • artisan rentals_united:update_properties --since="2014-03-26 12:51:00" // update properties which changed 'since' given date/time

License

The MIT License (MIT). Please see License File for more information., (*11)

The Versions

20/12 2015

dev-master

9999999-dev

Rentals United (rentalsunited.com) data synchronization system for Laravel 5

  Sources   Download

MIT

php laravel 5 rentals united rentalsunited.com data caching data sync

20/12 2015

0.0.1

0.0.1.0

Rentals United (rentalsunited.com) data synchronization system for Laravel 5

  Sources   Download

MIT

php laravel 5 rentals united rentalsunited.com data caching data sync