bernardo-amaral / sheikah-slate
Sheikah Slate Test Functions Library
dev-master
2018-11-27 20:48 UTC
Requires
- php: >=5.3.2
Requires (Dev)
This package is not auto-updated.
Last update: 2025-06-22 09:21:01 UTC
README
PHP Packagist Project, Just for Tests!
I'm just create a vendor module for use it in my PHP projects
Getting Started
Create a new project in your PC, and in the root folder input:
composer require bernardo-amaral/sheikah-slate
The composer will create a composer.json file, and will install this package
Prerequisites
You will need the composer installed and PHP (I recomend the version 7+)
https://getcomposer.org/
Installing
composer require bernardo-amaral/sheikah-slate
Running the tests
composer tests
phpunit --bootstrap vendor/autoload.php tests/
And coding style tests
phpunit --bootstrap vendor/autoload.php --testdox tests/ --colors=always
How to use
<?php
require_once 'vendor/autoload.php';
use bernardoamaral\sheikah\Slate as slate;
$slate = new slate();
$raptors = $slate->order(['Delta', 'Blue', 'Echo', 'Charlie']);
var_dump($raptors);
$sumNumbers = $slate->sumValues(1, 2, 3);
var_dump($sumNumbers); #it will output the number 6
Built With
Authors
- Bernardo Amaral - Initial work - bernardo-amaral.
License
This project is licensed under the MIT License - see the LICENSE.md file for details