Skip to content

lscar/laravel-zookeeper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-zookeeper

Installation

composer require xiongchao/laravel-zookeeper

If using Laravel, add the Service Provider to the providers array in config/app.php:

    [
        'providers' => [
            BigBoom\Zookeeper\ZookeeperServiceProvider::class,
        ],   
    ]

If using Lumen, appending the following line to bootstrap/app.php:

    $app->register(BigBoom\Zookeeper\ZookeeperServiceProvider::class);

If you need use Laravel Facades, add the aliases array in config/app.php:

    [
        'aliases' => [
                'Zk' => BigBoom\Zookeeper\Facades\Zk::class,
        ],
    ]

Using

//example
<?php
use BigBoom\Zookeeper\Facades\Zk;

class TestController extends controller {

    public function test ()
    {
        $nodeValue = ZK::getNodeData('');
    }
}

About

zookeeper package for laravel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%