https://github.com/rndoom04/library-template
Template for creating PHP libraries.
https://github.com/rndoom04/library-template
php-library php-library-template php-template php7
Last synced: 13 days ago
JSON representation
Template for creating PHP libraries.
- Host: GitHub
- URL: https://github.com/rndoom04/library-template
- Owner: Rndoom04
- License: mit
- Created: 2022-03-02T10:10:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-02T10:10:43.000Z (over 4 years ago)
- Last Synced: 2025-11-28T09:42:52.235Z (7 months ago)
- Topics: php-library, php-library-template, php-template, php7
- Language: PHP
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
EXAMPLE
=============
Compatible with PHP >= 7.0.
This is a library-template for writing custom PHP library functions
## Install
For PHP version **`>= 7.0`**:
```
composer require Rndoom04/example
```
## How to use it
Firstly init the library by simply "use".
```
use Rndoom04\example;
```
Then set load the library and set it how you want.
```
$spamdetector = new \Rndoom04\example\example();
```