zoukankan      html  css  js  c++  java
  • laravel/laravel的composer.json

    name: The name of the package. It consists of vendor name and project name, separated by /

    description: A short description of the package. Usually this is just one line long

    keywords: An array of keywords that the package is related to. These can be used for searching and filtering

    license: The license of the package

    type: The type of the package, Package types are used for custom installation logic.
    project: This denotes a project rather than a library. For example application shells like the Symfony

    require: Lists packages required by this package

    require-dev: Lists packages required for developing this package, or running tests, etc. The dev requirements of the root package are installed by default

    autoload: Autoload mapping for a PHP autoloader.
    Currently PSR-0 autoloading, PSR-4 autoloading, classmap generation and files includes are supported.

    PSR-4: Under the psr-4 key you define a mapping from namespaces to paths, relative to the package root. Namespace prefixes must end in \

    Classmap:The classmap references are all combined, during install/update, into a single key => value array which may be found in the generated file vendor/composer/autoload_classmap.php

    autoload-dev: This section allows to define autoload rules for development purposes
    Classes needed to run the test suite should not be included in the main autoload rules to avoid polluting the autoloader in production and when other people use your package as a dependency

    scripts: Composer allows you to hook into various parts of the installation process through the use of scripts
    post-root-package-install: occurs after the root package has been installed, during the create-project command
    post-create-project-cmd: occurs after the create-project command has been executed
    post-install-cmd: occurs after the install command has been executed with a lock file present
    post-update-cmd: occurs after the update command has been executed, or after the install command has been executed without a lock file present

    config: A set of configuration options. It is only used for projects
    preferred-install: This option allows you to set the install method Composer will prefer to use

  • 相关阅读:
    CNCC2017中的深度学习与跨媒体智能
    CNCC2017梳理
    Keras Xception Multi loss 细粒度图像分类
    西瓜书概念整理(chapter 1-2)熟悉机器学习术语
    Google机器学习笔记(七)TF.Learn 手写文字识别
    Google机器学习笔记 4-5-6 分类器
    TensorFlow深度学习笔记 Tensorboard入门
    Ubuntu安装与初始配置
    TensorFlow深度学习笔记 循环神经网络实践
    第10组 Alpha冲刺(6/6)
  • 原文地址:https://www.cnblogs.com/qike/p/5784960.html
Copyright © 2011-2022 走看看