From 74d07c60f3b46a2b9f7ef78b9bc9082f4f2f12ca Mon Sep 17 00:00:00 2001 From: Lorenz Ulrich Date: Thu, 17 Mar 2022 15:42:18 +0100 Subject: [PATCH] [TASK] Update README, support PHP 8+ --- README.md | 14 +++----------- composer.json | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 56c5190..f001997 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,7 @@ IDX Reader ========== -[![Build Status](https://travis-ci.org/visol/idx-reader.svg?branch=1.1.0)](https://travis-ci.org/visol/idx-reader) - -Library to read and parse IDX data. Internet Data Exchange (IDX, also known as Information Data Exchange) is a standard to describe properties such as houses, appartment, etc... commonly used in the real estate industry. - -Latest release: [dev-master](https://packagist.org/packages/visol/idx-reader#dev-master) - -PHP >= 5.5.9 +Library to read and parse IDX data. Internet Data Exchange (IDX) is a standard to describe properties such as houses, appartment, etc... commonly used in the real estate industry. Usage ----- @@ -16,12 +10,10 @@ Usage $reader = new Visol\IdxReader\IdxReader(); $reader->load($contents); -We can also load a data-set from a file: +We can also load a dataset from a file: $reader = new Visol\IdxReader\IdxReader() - $reader->loadFromFile('sample.idx') - ->getRecords(); - + $reader->loadFromFile('sample.idx'); We can retrieve all records or count them: diff --git a/composer.json b/composer.json index d18443c..227c77d 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": "^5.5.9|^7.0" + "php": "^5.5.9 || ^7.0 || ^8.0" }, "require-dev": { "phpunit/phpunit": "^5.5"