2017 © Pedro Peláez
 

library php-log

A dead-simple logger, storing data in JSON.

image

chrisullyott/php-log

A dead-simple logger, storing data in JSON.

  • Friday, October 6, 2017
  • by chrisullyott
  • Repository
  • 0 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

php-log

A dead-simple logger, storing data in JSON., (*1)

Install

With Composer:, (*2)

$ composer require chrisullyott/php-log

Instantiate

Set a path for the file., (*3)

$log = new ChrisUllyott\Log('data.json');

Adding items

set to store data by key:, (*4)

$log->set('color', 'teal');

Retrieving items

get an item by key:, (*5)

$log->get('color');

Deleting items

delete an item by key:, (*6)

$log->delete('key');

reset to delete the entire database:, (*7)

$log->reset();

The Versions

06/10 2017

dev-master

9999999-dev https://github.com/chrisullyott/php-log

A dead-simple logger, storing data in JSON.

  Sources   Download

MIT

The Requires

 

23/07 2017

v1.1.0

1.1.0.0 https://github.com/chrisullyott/php-log

A dead-simple logger, storing data in JSON.

  Sources   Download

MIT

The Requires

 

23/07 2017

v1.0.0

1.0.0.0 https://github.com/chrisullyott/php-log

A dead-simple logger, storing data in JSON.

  Sources   Download

MIT

The Requires