jasekz/rentals-united-caching 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jasekz/rentals-united-caching

Composer 安装命令:

composer require jasekz/rentals-united-caching

包简介

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

README 文档

README

Software License

Synchronize Rentals United data with your local database.

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.

Via composer

composer require jasekz/rentals-united-caching
composer update

Then in your config/app.php add

    'Jasekz\RentalsUnitedCaching\RentalsUnitedCachingServiceProvider'

to the providers array and

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

to the aliases array.

Finally, run

artisan vendor:publish

followed by

artisan migrate

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

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.

统计信息

  • 总下载量: 55
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固