欧美亚洲中文,在线国自产视频,欧洲一区在线观看视频,亚洲综合中文字幕在线观看

      1. <dfn id="rfwes"></dfn>
          <object id="rfwes"></object>
        1. 站長資訊網(wǎng)
          最全最豐富的資訊網(wǎng)站

          介紹 composer 進(jìn)階命令

          下面由composer教程欄目帶大家介紹composer 進(jìn)階命令,希望對需要的朋友有所幫助!

          介紹 composer 進(jìn)階命令

          composer 進(jìn)階命令

          composer dumpautoload

          當(dāng)更新了項(xiàng)目composer autoloader后。不要使用composer update去加載索引(update會更新整個(gè)項(xiàng)目),使用dumpautoload來完成。

          支持一下兩個(gè)參數(shù)

          --optimize (-o) --no-dev

          composer depends

          檢測依賴關(guān)系 參考 https://docs.phpcomposer.com/03-cli.html#depends

          composer show

          列出所有可用的軟件包

          $ composer show  doctrine/inflector                 2.0.3   PHP Doctrine Inflector is a small library that can perform string manip... doctrine/instantiator              1.4.0   A small, lightweight utility to instantiate objects in PHP without invo... elasticsearch/elasticsearch        v7.10.0 PHP Client for Elasticsearch ezimuel/guzzlestreams              3.0.1   Fork of guzzle/streams (abandoned) to be used with elasticsearch-php ezimuel/ringphp                    1.1.2   Fork of guzzle/RingPHP (abandoned) to be used with elasticsearch-php filp/whoops                        2.9.1   php error handling for cool kids graham-campbell/result-type        v1.0.1  An Implementation Of The Result Type illuminate/container               v7.30.1 The Illuminate Container package. illuminate/contracts               v7.30.1 The Illuminate Contracts package. illuminate/database                v7.30.1 The Illuminate Database package. illuminate/support                 v7.30.1 The Illuminate Support package.

          顯示具體包的詳細(xì)信息

          $ composer show illuminate/database  name     : illuminate/database descrip. : The Illuminate Database package. keywords : database, laravel, orm, sql versions : * v7.30.1 type     : library license  : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText source   : [git] https://github.com/illuminate/database.git 13ae12f444c9d071c6867cf86afd2fdedfd081ec dist     : [zip] https://api.github.com/repos/illuminate/database/zipball/13ae12f444c9d071c6867cf86afd2fdedfd081ec 13ae12f444c9d071c6867cf86afd2fdedfd081ec path     : E:wampwwwgittestphpphptestvendorilluminatedatabase names    : illuminate/database  autoload psr-4 IlluminateDatabase => .  requires ext-json * illuminate/container ^7.0 illuminate/contracts ^7.0 illuminate/support ^7.0 php ^7.2.5|^8.0 symfony/console ^5.0  suggests doctrine/dbal Required to rename columns and drop SQLite columns (^2.6). fakerphp/faker Required to use the eloquent factory builder (^1.9.1). illuminate/console Required to use the database commands (^7.0). illuminate/events Required to use the observers with Eloquent (^7.0). illuminate/filesystem Required to use the migrations (^7.0). illuminate/pagination Required to paginate the result set (^7.0). symfony/finder Required to use Eloquent model factories (^5.0).

          composer包版本

          實(shí)例 描述
          1.0.2 指定包的確切版本(使用較少)
          >=1.0或>=1.0,<2.0 范圍表示 逗號,表示邏輯與&&的關(guān)系 管道符號 | 表示或的關(guān)系
          1.0.* >=1.0 && < 1.1
          ~1.2.3 >=1.2.3,<1.3 (對于遵循語義化版本的項(xiàng)目很有用)
          ^1.2.3 >=1.2.3,<2.0.0

          贊(0)
          分享到: 更多 (0)
          網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號