Download the PHP package toulen/tshmop without Composer

On this page you can find all versions of the php package toulen/tshmop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tshmop

Tshmop是一个基于shmop,纯PHP开发的一个共享内存基础类

最初的目的: 在多进程运行一些程序的时候,各个进程之间会有数据的隔离,于是使用了shmop来进行内存共享.shmop提供了开启一个内存段,读写内存段已经清空和关闭的功能.于是我将这个函数封装成了一个类,方便以后的扩展.实现了多应用之间的数据共享.内存长度变长等基础功能.

以后的方向: 后续会开发一个基于此的小而美的PHP开发的内存缓存服务器,以C/S的模式运行.可能会包含:key-value存储, session共享(实现单点登录),消息队列等功能.

安装:

composer require toulen/tshmop:1.0

使用:

$Tshmop = new \Tshmop\Tshmop();
//$data可以是数组,也可以是字符串
$Tshmop->put($data);
$Tshmop->get();
$Tshmop->clean();
$Tshmop->close();

All versions of tshmop with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package toulen/tshmop contains the following files

Loading the files please wait ....