Code Monkey home page Code Monkey logo

webman-laravel-zero's Introduction

安装

composer config repositories.webman-laravel-zero-foundation vcs https://github.com/mouyong/webman-laravel-zero-foundation

composer require mouyong/webman-laravel-zero:dev-master laravel-zero/foundation:dev-main

配置项目

在 config/app.php 中增加如下内容

return [
    ...

    # 以下内容可参考 config/app.php.new.php 文件
    'name' => "Zero", // 单引号,首字母大写。app:rename 匹配使用的
    // 'version' => app('git.version'),
    'version' => '1.0.0',
    'env' => 'development',
    'timezone' => 'PRC',
    'providers' => [
        App\Providers\AppServiceProvider::class,
    ],
];

更新 composer.json

composer.json

    "bin": ["zero"], // 这行要原样保存,app:rename 使用
    "scripts": {
        // 初始化 laravel-zero/illuminate 与相关配置
        "post-autoload-dump": [
            "MouYong\\WebmanLaravelZero\\ComposerScripts::postAutoloadDump"
        ],
        ...
    }

使用

php zero app:install database
composer require illuminate/routing

效果截图

image

image

webman-laravel-zero's People

Contributors

mouyong avatar zmoyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zmoyi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.