2017 © Pedro Peláez
 

library shmop

Shmop is a simple and small abstraction layer for shared memory manipulation using PHP

image

gpslab/shmop

Shmop is a simple and small abstraction layer for shared memory manipulation using PHP

  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 10 % Grown

The README.md

Latest Stable Version Total Downloads Build Status Coverage Status Scrutinizer Code Quality SensioLabs Insight StyleCI License, (*1)

Shmop

Shmop is a simple and small abstraction layer for shared memory manipulation using PHP., (*2)

Shared memory, (*3)

Installation

Pretty simple with Composer, run:, (*4)

composer require gpslab/shmop

Usage

Creating new block, (*5)

use GpsLab\Component\Shmop\Block;

$sh = new Block(
    0xFF, // id for memory block
    3 // memory block size
);
$sh->write('foo');
echo $sh->read(); // print 'foo'
$sh->delete();

Memory block must be a fixed size for correct reading from it., (*6)

Reading an existing block, (*7)

use GpsLab\Component\Shmop\Block;

$sh = new Block(0xFF, 3);
// print contents of memory block. if block is not exists prints a blank line
echo $sh->read();

License

This bundle is under the MIT license. See the complete license in the file: LICENSE, (*8)

The Versions

12/05 2017

dev-master

9999999-dev http://github.com/gpslab/shmop

Shmop is a simple and small abstraction layer for shared memory manipulation using PHP

  Sources   Download

MIT

The Requires

  • php >=5.0
  • ext-shmop *

 

The Development Requires

php shmop

12/05 2017

v1.0.0

1.0.0.0 http://github.com/gpslab/shmop

Shmop is a simple and small abstraction layer for shared memory manipulation using PHP

  Sources   Download

MIT

The Requires

  • php >=5.0
  • ext-shmop *

 

The Development Requires

php shmop