Giter VIP home page Giter VIP logo

lumen-require's Introduction

Lumen 生产环境集成

类库

  • helper.php:laravel公共方法(自动加载)
    • config_path
    • public_path
    • assert
    • cache
    • request
    • logger
    • resolve
  • 常用工具 Utils
    • Env 判断环境变量
      • isDev: 判断是否 dev local
      • isTest: 判断是否 test
      • isDevOrTest: 判断是否 dev local test
      • isProd: 判断是否 production prod pre staging
      • isStaging: 判断是否 staging
      • isPre: 判断是否 pre
      • load: 加载环境变量,替换 .env,提升性能

优化

  • 使用 php 替换 .env,提升性能
  • 去掉无用 PaginationServiceProvider::boot 执行

集成模块

  • guzzlehttp/guzzle:用于发起外部请求
  • illuminate/redis:laravel redis 封装
  • predis/predis:predis 封装

计划

  • 集成 php-libs
  • 集成 ErrorHandler
  • 集成 Auth
  • 集成 rbac
  • 集成 Oss
  • 规范化目录结构

lumen-require's People

Contributors

raygu0101 avatar soliangd avatar summerkk avatar

Watchers

 avatar

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.