PHPackages                             laswitchtech/php-service - 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. laswitchtech/php-service

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

laswitchtech/php-service
========================

PHP Service Library

v1.0.0(3y ago)00GPL-3.0-onlyPHP

Since Dec 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/LouisOuellet/php-service)[ Packagist](https://packagist.org/packages/laswitchtech/php-service)[ RSS](/packages/laswitchtech-php-service/feed)WikiDiscussions stable Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![GitHub repo logo](/dist/img/logo.png)](/dist/img/logo.png)

phpService
==========

[](#phpservice)

[![License](https://camo.githubusercontent.com/518f8c617cb5fc7f7c311840a1434701d1f4b1f72c44a99423a46230f0fea38a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4c6f7569734f75656c6c65742f7068702d736572766963653f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/518f8c617cb5fc7f7c311840a1434701d1f4b1f72c44a99423a46230f0fea38a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4c6f7569734f75656c6c65742f7068702d736572766963653f7374796c653d666f722d7468652d6261646765)[![GitHub repo size](https://camo.githubusercontent.com/dbe80ae25e3739444e1bbae9fe3c54669703db30a206b7c0f070c96a9ee04ee0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f4c6f7569734f75656c6c65742f7068702d736572766963653f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)](https://camo.githubusercontent.com/dbe80ae25e3739444e1bbae9fe3c54669703db30a206b7c0f070c96a9ee04ee0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f4c6f7569734f75656c6c65742f7068702d736572766963653f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)[![GitHub top language](https://camo.githubusercontent.com/58c8cb4f06ccf2396b985deac3047cc12272a3fc2b00a2566dcf67556c82cedd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f4c6f7569734f75656c6c65742f7068702d736572766963653f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/58c8cb4f06ccf2396b985deac3047cc12272a3fc2b00a2566dcf67556c82cedd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f4c6f7569734f75656c6c65742f7068702d736572766963653f7374796c653d666f722d7468652d6261646765)[![Version](https://camo.githubusercontent.com/9f8eb97b9ca144c905184c3e86848751deb755e6bcf37ab21950ca9621449018/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f4c6f7569734f75656c6c65742f7068702d736572766963653f6c6162656c3d56657273696f6e267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/9f8eb97b9ca144c905184c3e86848751deb755e6bcf37ab21950ca9621449018/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f4c6f7569734f75656c6c65742f7068702d736572766963653f6c6162656c3d56657273696f6e267374796c653d666f722d7468652d6261646765)

Features
--------

[](#features)

- Service

Why you might need it
---------------------

[](#why-you-might-need-it)

If you are looking for an easy start for your PHP Service. Then this PHP Class is for you.

Can I use this?
---------------

[](#can-i-use-this)

Sure!

License
-------

[](#license)

This software is distributed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html) license. Please read [LICENSE](LICENSE) for information on the software availability and distribution.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0

Security
--------

[](#security)

Please disclose any vulnerabilities found responsibly – report security issues to the maintainers privately.

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

[](#installation)

Using Composer:

```
composer require laswitchtech/php-service
```

How do I use it?
----------------

[](#how-do-i-use-it)

### Example

[](#example)

```
#!/usr/bin/env php
session_start();

//Import phpCLI class into the global namespace
//These must be at the top of your script, not inside a function
use LaswitchTech\phpCLI\phpCLI;

//Load Composer's autoloader
require 'vendor/autoload.php';

// Interpret Standard Input
if(defined('STDIN') && !empty($argv)){

  // Start Command
  new phpCLI($argv);
}
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1235d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1fbdd49d98caf05990260b5ece6a0e9539ca2d448b4af10ebde6ed7d6688c61d?d=identicon)[LouisOuellet](/maintainers/LouisOuellet)

---

Top Contributors

[![LouisOuellet](https://avatars.githubusercontent.com/u/25933907?v=4)](https://github.com/LouisOuellet "LouisOuellet (2 commits)")

### Embed Badge

![Health badge](/badges/laswitchtech-php-service/health.svg)

```
[![Health](https://phpackages.com/badges/laswitchtech-php-service/health.svg)](https://phpackages.com/packages/laswitchtech-php-service)
```

###  Alternatives

[simple-icons/simple-icons

SVG icons for popular brands

24.8k194.2k4](/packages/simple-icons-simple-icons)[outl1ne/nova-menu-builder

This Laravel Nova package allows you to create and manage menus and menu items.

243246.0k3](/packages/outl1ne-nova-menu-builder)[sunspikes/php-ratelimiter

A framework agnostic rate limiter for PHP

76674.1k1](/packages/sunspikes-php-ratelimiter)[njxqlus/filament-relation-manager-component

Use Filament Relation Manager Everywhere!

4493.6k2](/packages/njxqlus-filament-relation-manager-component)[swissup/module-marketplace

One-Click modules and themes downloader/installer

18383.8k2](/packages/swissup-module-marketplace)[pimcore/output-data-config-toolkit-bundle

21256.8k3](/packages/pimcore-output-data-config-toolkit-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
