PHPackages                             aaugustyniak/semithread - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. aaugustyniak/semithread

ActiveLibrary[Queues &amp; Workers](/categories/queues)

aaugustyniak/semithread
=======================

Nohup interface simulating threaded env

1.0.0(11y ago)1974MITPHP

Since Jan 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/artur-augustyniak/SemiThread)[ Packagist](https://packagist.org/packages/aaugustyniak/semithread)[ Docs](https://github.com/artur-augustyniak/SemiThread)[ RSS](/packages/aaugustyniak-semithread/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/91134166fd5c630467d31190f61ff06aab878f88bc301531a3e350c6744d759f/68747470733a2f2f7472617669732d63692e6f72672f61727475722d617567757374796e69616b2f53656d695468726561642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/artur-augustyniak/SemiThread)

Simple API for starting non blocking jobs.
==========================================

[](#simple-api-for-starting-non-blocking-jobs)

SemiThread
==========

[](#semithread)

Right now this stuff works only under \*nix systems. It's simple wrapper API for nohup exec call.

If you want i.e. send an email in process not attached to request/response cycle it is for you.

Installation
------------

[](#installation)

If you don’t have Composer yet, you should [get it](http://getcomposer.org) now.

1. Add the package to your `composer.json`:

    ```
     "require": {
       ...
       "aaugustyniak/semithread": "1.0.0",
       ...
     }

    ```
2. Install:

    ```
     $ php composer.phar install

    ```
3. And use:

First of all You must provide your implementations of:

- Aaugustyniak\\SemiThread\\Cloneable
- Aaugustyniak\\SemiThread\\SemiThread

examples are provided in Aaugustyniak\\SemiThread\\ExampleImpl.

```
