PHPackages                             klaussilveira/simple-shm - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. klaussilveira/simple-shm

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

klaussilveira/simple-shm
========================

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

1.0.0(12y ago)1357.2k46[2 issues](https://github.com/klaussilveira/SimpleSHM/issues)1BSD-2-ClausePHPPHP &gt;=5.3.3

Since Mar 29Pushed 9y ago14 watchersCompare

[ Source](https://github.com/klaussilveira/SimpleSHM)[ Packagist](https://packagist.org/packages/klaussilveira/simple-shm)[ RSS](/packages/klaussilveira-simple-shm/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (1)

SimpleSHM
=========

[](#simpleshm)

[![Build Status](https://camo.githubusercontent.com/3113e7e1c3819417b4a87f1ee721a65852884a9ebec44777838442f7109dd569/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6b6c61757373696c76656972612f53696d706c6553484d2e706e67)](http://travis-ci.org/klaussilveira/SimpleSHM)

SimpleSHM is a simple and small abstraction layer for shared memory manipulation using PHP. It makes use of the SHMOP functions, built into most PHP packages.

Authors and contributors
------------------------

[](#authors-and-contributors)

- [Klaus Silveira](http://www.klaussilveira.com) (Creator, developer, support)

License
-------

[](#license)

[New BSD license](http://www.opensource.org/licenses/bsd-license.php)

Todo
----

[](#todo)

- add support for arrays, by automatically serializing or converting to JSON
- add support for objects, by using JSON
- create a better documentation
- error handling can, and should, be improved
- test, test, test

About Shared Memory
-------------------

[](#about-shared-memory)

Shared Memory is an efficient mean of exchanging data between applications in the same machine. One application will create a memory portion which other processes can access, as long as they have the proper permissions. You can read more about it here:

Using SimpleSHM
---------------

[](#using-simpleshm)

The idea behind SimpleSHM is to keep things very easy to use. If you want better control and flexibility, you can always modify the class or extend it.

```
