This commit is contained in:
Joby 2020-06-23 15:28:38 -06:00
parent 8d96f2230b
commit 6c44fb7103
3 changed files with 11 additions and 11 deletions

View file

@ -1,11 +0,0 @@
image: php:7.1-alpine
before_script:
- apk update
- apk add git
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
test:
script:
- php composer.phar test

9
.travis.yml Normal file
View file

@ -0,0 +1,9 @@
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
install:
- composer install
script: composer test

View file

@ -1,5 +1,7 @@
# Flatrr
[![Build Status](https://travis-ci.org/jobyone/flatrr.svg?branch=main)](https://travis-ci.org/jobyone/flatrr)
## What Flatrr does
Flatrr is a utility library for accessing arrays via flattened key names. So, for example, rather than using `$arr['foo']['bar']` you could use `$arr['foo.bar']`. Mostly this is useful if you want to use string building to make the keys you're going to use to access an array.