PHPackages                             lorddashme/php-static-class-interface - 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. lorddashme/php-static-class-interface

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

lorddashme/php-static-class-interface
=====================================

A simple package that convert a service class into a static-like class.

2.0.0(7y ago)53.9k↓66.7%13MITPHPPHP &gt;=5.6 || &gt;=7.0 || &gt;=7.1 || &gt;=7.2

Since Aug 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/LordDashMe/php-static-class-interface)[ Packagist](https://packagist.org/packages/lorddashme/php-static-class-interface)[ Docs](https://github.com/lorddashme/php-static-class-interface)[ RSS](/packages/lorddashme-php-static-class-interface/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (3)

PHP Static Class Interface
==========================

[](#php-static-class-interface)

A simple package that convert a service class into a static-like class.

[![Latest Stable Version](https://camo.githubusercontent.com/c9836939b3de503ebc67752066def9eb3c294bb518e69c80569edd1192729c6b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4c6f7264446173684d652f7068702d7374617469632d636c6173732d696e746572666163652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/LordDashMe/php-static-class-interface) [![Minimum PHP Version](https://camo.githubusercontent.com/90eed33e7df559b70b174e97d37a4907946803c7ab691640166d2518d8cd2118/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/) [![Coverage Status](https://camo.githubusercontent.com/c59d115eb03367ca2b263e39534a8400bbc9168d4d574afbdcda724df0a175e5/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f4c6f7264446173684d652f7068702d7374617469632d636c6173732d696e746572666163652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/LordDashMe/php-static-class-interface?branch=master)

Requirement(s)
--------------

[](#requirements)

- PHP version from 7.0.\* up to latest.

Install
-------

[](#install)

### via Composer

[](#via-composer)

- Use the command below to install the package via composer:

```
composer require lorddashme/php-static-class-interface
```

### via Native Way

[](#via-native-way)

- You can also use this package without composer, just clone this repository and import all the important class:

```
