2017 © Pedro Peláez
 

library irkfdb-laravel-package

A wrapper over irkfdb-php-client for laravel

image

irkfdb/irkfdb-laravel-package

A wrapper over irkfdb-php-client for laravel

  • Thursday, April 5, 2018
  • by swapnilsarwe
  • Repository
  • 2 Watchers
  • 0 Stars
  • 33 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 94 % Grown

The README.md

IRKFDB Laravel Package Build Status

It is a wrapper package made on top of irkfdb-php-client for laravel., (*1)

Installation

IrkfdbLaravel requires PHP 7.0 and above. This particular version supports Larave 5.5 and above., (*2)

To get the package, simply require using composer, (*3)

composer require irkfdb/irkfdb-laravel-package

If automatic package discovery is not used in the project then you need to register the service provider of this package in config/app.php, (*4)

'provides' => [
    ...
    \Irkfdb\IrkfdbLaravel\IrkfdbLaravelServiceProvider::class,
    ...
]

and you can optinally alias our facade, (*5)

'aliases' => [
    ...
    'IrkfdbLaravel' => \Irkfdb\IrkfdbLaravel\IrkfdbLaravelFacade::class
    ...
]

Example Usage

use IrkfdbLaravel;
class TestController {
    public function index()
    {
        $categories = IrkfdbLaravel::getCategories();
        $randomFact = IrkfdbLaravel::getRandomFact();
    }
}

Test Cases

You can run the test cases by running the following command, (*6)

./vendor/bin/phpunit --configuration phpunit.xml

The Versions

05/04 2018

dev-master

9999999-dev

A wrapper over irkfdb-php-client for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Swapnil Sarwe