absszero / unicron
a unique process identifier
Installs: 42
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/absszero/unicron
Requires
- php: >=5.2.1
This package is auto-updated.
Last update: 2025-09-20 02:56:41 UTC
README
A unique process manager
Managing processes by process ids and prevent duplicating processes.
Installation
composer require absszero/unicron
Usage
use Absszero\Unicron\Unicron; $unicron = new Unicron('YOUR_PROCESS_NAME'); if ($unicron->isRunning()) { $unicron->kill(); } $unicron->setPid();
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
History
TODO: Write history
Credits
TODO: Write credits
License
TODO: Write license