Download the PHP package ismaxim/terminator without Composer
On this page you can find all versions of the php package ismaxim/terminator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ismaxim/terminator
More information about ismaxim/terminator
Files in ismaxim/terminator
Package terminator
Short Description Scan & Kill Windows processes in PHP
License MIT
Homepage https://github.com/MaximGrynykha/winkill
Informations about the package terminator
Winkill
Work with processes as objects. Find specific ones by attributes and kill them.
⚙️ Installation
To install this library - run the command below in your terminal:
Usage
API (based on 'tasklist' command)
Attribute name | Attribute value | Example | Compare operator |
---|---|---|---|
process_name |
[string]: name with ext | chrome.exe | [string]: = , != |
[string]: name | chrome | [string]: = , != |
|
[string]: ext | .exe | [string]: = , != |
|
process_id |
[int]: number of the ID | [string]: = , != |
|
session_name |
[string]: Console / Services | [string]: = , != |
|
session_number |
[int]: number in range of {0-1} | [string]: = , != |
|
consumed_memory |
[int]: number in Kb (kilobytes) | [string]: > , < , = , >= , <= , != |
Select processes
Terminate processes
🧱 Snippets
📝 Footnotes
The project utilizes DRY
and SOLID
principles. Used Design Patterns
are listed below.
Creational | Structural | Behavioral | Others* |
---|---|---|---|
Abstract Factory |
Facade |
Strategy |
Composition Root |
Factory Method |
Proxy |
Command |
|
Builder |
🤝 Contributing
If you have a problem that cannot be solved using this library, please write your solution, and if you want to help other developers who also use this library (or if you want to keep your solution working after a new version is released, which will be in the package manager dependencies) — create a pull-request. I will be happy to add your excellent code to the library!
🐞 Report any bugs or issues you find on the GitHub issues.
📃 License
The MIT License (MIT). Please see License File for more information.
All versions of terminator with dependencies
ext-mbstring Version *