2017 © Pedro Peláez
 

library laravel-test

hello word

image

link1st/laravel-test

hello word

  • Monday, December 5, 2016
  • by link1st
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

laravel-test

laravel扩展开发, (*1)

安装

加载包, (*2)

"link1st/laravel-test": "dev-master", (*3)

在配置文件中添加 config/app.php, (*4)

    'providers' => [
        /**
         * 添加供应商
         */
        link1st\test\TestServiceProvider::class,
    ],
    'aliases' => [
         /**
          * 添加别名
          */
        'test'=>link1st\test\Facades\Test::class,
    ],

生成配置文件, (*5)

php artisan vendor:publish, (*6)

使用

    // 使用自动加载直接使用
    $link = new \link1st\test\easemob();
    echo $link->get_config();

    // 使用门面使用
    echo \test::get_config(); 
    echo \test::index();

The Versions

05/12 2016

dev-master

9999999-dev

hello word

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

by Avatar link1st