bernardo-amaral / sheikah-slate

Personal PHP Package, just for tests...

Home Page:http://www.bernardo-amaral.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

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

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Personal PHP Package, just for tests...

http://www.bernardo-amaral.com

License:MIT License


Languages

Language:PHP 98.4%Language:Shell 1.6%