library phpbag
phpbag is a container for key/value pairs.
rubellum/phpbag
phpbag is a container for key/value pairs.
- Saturday, December 9, 2017
- by rubellum
- Repository
- 1 Watchers
- 0 Stars
- 1 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
phpbag
, (*1)
phpbag is a container for key/value pairs., (*2)
Install
Via Composer, (*3)
$ composer require rubellum/phpbag
Requires PHP 5.5 or newer., (*4)
Usage
<?php
use Bag\Bag;
$bag = new Bag(['aaa' => 'bbb', 'ccc' => 'ddd']);
// array access
echo $bag['aaa']; // => 'bbb'
// property access
echo $bag->aaa; // => 'bbb'
Testing
$ ./vendor/bin/phpunit
License
The MIT License (MIT). Please see License File for more information., (*5)
dev-master
9999999-dev
phpbag is a container for key/value pairs.
Sources
Download
MIT
The Requires
The Development Requires
by
Hiroaki Matsuura
v1.0.0
1.0.0.0
phpbag is a container for key/value pairs.
Sources
Download
MIT
The Requires
The Development Requires
by
Hiroaki Matsuura