zoopcommerce/slipstream 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zoopcommerce/slipstream

Composer 安装命令:

composer require zoopcommerce/slipstream

包简介

An alternative to the standard composer autoloader

README 文档

README

#Slipstream

Introduction

The composer autoloader is quite good, and quite fast when used with composer.phar dump-autoload --optimize. However, the --optimize option maps every single class in your dependency tree. If you are a using a framework such as zf2 or symfony, that can mean 3000+ of classes. Chances are that your app is only using a small fraction of those. Slipstream will rewrite the classmap in production to include only the classes you need, meaning faster page load times.

Installation

Install the module using Composer into your application's vendor directory. Add the following line to your composer.json.

{
    "require": {
        "zoopcommerce/slipstream": "~0.1"
    }
}

Usage

Your vendor/composer/ directory must be writable.

Where your code previously called the composer autoloader with:

$loader = include vendor/autoload.php;

Replace with:

$loader = include vendor/zoopcommerce/slipstream/autoload.php;

That's it!

Enjoy.

统计信息

  • 总下载量: 404
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-09-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固