sasaya/

该包的最新版本(v0.0.3)没有提供许可证信息。

Hello World

v0.0.3 2015-12-04 07:27 UTC

This package is auto-updated.

Last update: 2024-08-25 03:24:20 UTC


README

安装

运行 composer require 命令

compsoer require sasaya/helloworld

将 Sasaya Hello World 服务提供者添加到 config/app.php 中的 providers 数组。

'providers' => [
    /*
     * Laravel Framework Service Providers...
     */
    Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
    ...

    /*
     * Application Service Providers...
     */
    App\Providers\AppServiceProvider::class,
    ...

    /*
     * Sasaya Service Providers...
     */
    Sasaya\HelloWorld\Providers\ServiceProvider::class,
],

入门

运行 artisan 命令

php artisan serve

然后我们可以打开浏览器并输入 http://localhost:8000,我们会看到 Hello World