定制 ratespecial/credit-agency-rent 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ratespecial/credit-agency-rent

最新稳定版本:2.0.0

Composer 安装命令:

composer require ratespecial/credit-agency-rent

包简介

Library to generate fixed-length credit agency rent reporting files (Equifax Insight, Experian Rental Exchange)

README 文档

README

Generates fixed-length files for submitting rent payment data to credit agencies. Supports both Equifax Consumer Insight and Experian Rental Exchange formats.

Equifax Consumer Insight

Based on File Layout Guide v16. Each file has a batch date (YYYYMM) and produces 518-byte records.

Empty dates in an InsightRow object should be set to 0, which writes 00000000 in the output.

Example

use RateSpecial\CreditAgencyRent\EquifaxInsight\InsightFile;
use RateSpecial\CreditAgencyRent\EquifaxInsight\InsightRow;
use RateSpecial\CreditAgencyRent\EquifaxInsight\Enums\AccountType;
use RateSpecial\CreditAgencyRent\EquifaxInsight\Enums\CompanyType;
use RateSpecial\CreditAgencyRent\EquifaxInsight\Enums\CurrentStatus;
use RateSpecial\CreditAgencyRent\EquifaxInsight\Enums\CurrentBalanceSign;
use RateSpecial\CreditAgencyRent\EquifaxInsight\Enums\Flags;
use RateSpecial\CreditAgencyRent\EquifaxInsight\Enums\RepaymentFrequency;
use RateSpecial\CreditAgencyRent\EquifaxInsight\Enums\SpecialIndicator;

$file = new InsightFile();
$file->portfolioNumber = '99999999';
$file->companyType = CompanyType::BANK_FINANCE;
$file->batchDate = Carbon::now();

$row = new InsightRow();
$row->accountType = AccountType::PROPERTY_RENTAL;
$row->accountNumber = '1234abc';
$row->startDate = 20230418;
$row->endDate = '02/24/2019';
$row->defaultDate = 0;
$row->birthDate = Carbon::now();
$row->creditLimit = 333888;
$row->flags = Flags::DEBT_MANAGEMENT;
$row->transientAssociation = 'T';
$row->specialIndicator = SpecialIndicator::ADDRESS_CHANGE;
$row->currentBalance = 234324;
$row->currentBalanceSign = CurrentBalanceSign::CREDIT;
$row->defaultBalance = 12;
$row->startBalance = 99;
$row->repaymentValue = 13221;
$row->repaymentPeriod = 322;
$row->repaymentFrequency = RepaymentFrequency::WEEKLY;
$row->currentStatus = CurrentStatus::SETTLED;
$row->nameDetails = 'JOHN DOE';
$row->address1 = '123 fake street';
$row->address2 = 'Test Town';
$row->address3 = 'Test County';
$row->postcode = 'TT145TF';
$row->newAccountNumber = 'abc999';
$row->usersOwnData = 'foobar';

$file->addRow($row);

$content = $file->create(); // returns file contents as a string

Experian Rental Exchange

Based on the Rental Exchange File Specification for Open Banking v2.5. Each file has a data month (MMMCCYY) and produces 2100-byte records. Dates use DDMMCCYY format.

Example

use Carbon\Carbon;
use RateSpecial\CreditAgencyRent\ExperianRentalExchange\RentalExchangeFile;
use RateSpecial\CreditAgencyRent\ExperianRentalExchange\RentalExchangeRow;
use RateSpecial\CreditAgencyRent\ExperianRentalExchange\Enums\PaymentStatus;

$file = new RentalExchangeFile();
$file->sourceCode = '12345';
$file->companyName = 'ABC Housing Association';
$file->dataMonth = new Carbon('2023-03-01');

$row = new RentalExchangeRow();
$row->tenancyReference = 'TEN001';
$row->paymentStatus = PaymentStatus::UP_TO_DATE;
$row->tenancyStartDate = new Carbon('2022-06-15');
$row->rentalAmount = 850;
$row->dateOfBirth = new Carbon('1985-12-01');
$row->setName('Mr', 'John', 'Smith', 'David');
$row->setAddress('5 Main Street', 'NG8 1JD', 'Wollaton', 'Nottingham');

$file->addRow($row);

$content = $file->create(); // returns file contents as a string

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固