2017 © Pedro Peláez
 

library noun-store

Store and work with Nouns

image

chekote/noun-store

Store and work with Nouns

  • Monday, January 29, 2018
  • by Chekote
  • Repository
  • 0 Watchers
  • 0 Stars
  • 277 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 16 Versions
  • 123 % Grown

The README.md

Packagist Latest Stable Version Packagist Latest Unstable Version Packagist Total Downloads CircleCI Codecov Scrutinizer Code Quality StyleCI Quality Gate Status Bugs Code Smells Duplicate Lines Density Lines of Code Maintainability Reliability Security Technical Debt Vulnerabilities, (*1)

noun-store

Store and work with Nouns., (*2)

Usage

  1. Add it to your requirements
composer require chekote/noun-store

Make a store

$store = new \Chekote\NounStore\Store();

Store something

$john = new Person();
$john->firstName = 'John';
$john->lastName = 'Smith';

$store->set('best friend', $john);

Check if we have something

$store->keyExists('best friend');

Assert if we have something

$assert = new \Chekote\NounStore\Assert($store);
$assert->keyExists('best friend');

Retrieve something

$store->get('best friend');

Store something else in the same key

$chris = new Person();
$chris->firstName = 'Chris';
$chris->lastName = 'Pratt';

$store->set('best friend', $chris);

Retrieve the new thing

$store->get('best friend');

or

$store->get('2nd best friend');

Retrieve the old thing

$store->get('1st best friend');

Empty the store

$store->reset();

Development

Installing Development Pre-Requisites

Install Docker., (*3)

You will also want to ensure that ./bin is in your $PATH and is the highest priority. You can do so by adding the following to your shell profile:, (*4)

export PATH=./bin:$PATH

Installing The Project for Development

Clone the repository:, (*5)

git clone git@github.com:Chekote/noun-store.git
cd noun-store

Executing tests

Tests are written using phpunit. You can execute them via the command line:, (*6)

phpunit

The Versions

29/01 2018

dev-prophecy

dev-prophecy

Store and work with Nouns

  Sources   Download

MIT

The Requires

 

The Development Requires

testing noun

26/01 2018

2.0.x-dev

2.0.9999999.9999999-dev

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

24/01 2018

v2.1.0

2.1.0.0

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

24/01 2018

v2.0.1

2.0.1.0

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

24/01 2018

v2.0

2.0.0.0

Store and work with Nouns

  Sources   Download

MIT

The Requires

 

The Development Requires

testing noun

22/01 2018

dev-phpstorm_php

dev-phpstorm_php

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

22/01 2018

dev-master

9999999-dev

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

22/01 2018

v1.2.1

1.2.1.0

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

14/12 2017

dev-separation_of_concerns

dev-separation_of_concerns

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

09/12 2017

1.2.x-dev

1.2.9999999.9999999-dev

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

09/12 2017

v1.2

1.2.0.0

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

06/12 2017

v1.1

1.1.0.0

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

06/12 2017

1.1.x-dev

1.1.9999999.9999999-dev

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

05/11 2017

1.0

1.0.0.0

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

05/11 2017

1.0.x-dev

1.0.9999999.9999999-dev

Store and work with Nouns

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun

03/08 2017

dev-circleci

dev-circleci

Private STD Testing Services.

  Sources   Download

MIT

The Requires

  • php >=5.6.30

 

The Development Requires

testing noun