在packagist.org上新提交了一个包,多久能够composer到?
在packagist.org
上新提交了一个包以后,一直composer require
不到资源。
不知道需要等待多久才能composer
到?
<code># 以下为调试信息 D:\ubuntu_share\composer\hello>php d:\bin\composer require pangou/hello-world -vvv You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug Reading ./composer.json Loading config file ./composer.json Executing command (D:\ubuntu_share\composer\hello): git describe --exact-match --tags Executing command (D:\ubuntu_share\composer\hello): git branch --no-color --no-abbrev -v Executing command (D:\ubuntu_share\composer\hello): hg branch Executing command (D:\ubuntu_share\composer\hello): svn info --xml Failed to initialize global composer: Composer could not find the config file: C:/Users/Administrator/AppData/Roaming/Composer/composer.json To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section Downloading https://packagist.org/packages.json Writing C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/packages.json into cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2013.json from cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2014.json from cache Downloading http://packagist.org/p/provider-2015%24892cc7113cf0f30cc0db27a2d8cb45584c7881e7247ba2fe2b580366302ce653.json Writing C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2015.json into cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2015-04.json from cache Downloading http://packagist.org/p/provider-2015-07%24ff67e834038a3d373daa2428f5e6fdaf7e02a21ddb8b02e8f95c6761b38e22a8.json Writing C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2015-07.json into cache Downloading http://packagist.org/p/provider-2015-10%24f3055c2306df02385f88e9b3494ffeed8b5499d9d14c6db9ce8ae2d6861fecd7.json Writing C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2015-10.json into cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2016-01.json from cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-archived.json from cache Downloading http://packagist.org/p/provider-latest%24878f7537ca276f1260dbb3f72297457eeeda58d6e92027dec978955a622e5757.json Writing C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-latest.json into cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/provider-pangou$hello-world.json from cache [InvalidArgumentException] Could not find package pangou/hello-world at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability Exception trace: () at phar://D:/bin/composer/src/Composer/Command/InitCommand.php:605 Composer\Command\InitCommand->findBestVersionForPackage() at phar://D:/bin/composer/src/Composer/Command/InitCommand.php:334 Composer\Command\InitCommand->determineRequirements() at phar://D:/bin/composer/src/Composer/Command/RequireCommand.php:107 Composer\Command\RequireCommand->execute() at phar://D:/bin/composer/vendor/symfony/console/Command/Command.php:259 Symfony\Component\Console\Command\Command->run() at phar://D:/bin/composer/vendor/symfony/console/Application.php:840 Symfony\Component\Console\Application->doRunCommand() at phar://D:/bin/composer/vendor/symfony/console/Application.php:192 Symfony\Component\Console\Application->doRun() at phar://D:/bin/composer/src/Composer/Console/Application.php:167 Composer\Console\Application->doRun() at phar://D:/bin/composer/vendor/symfony/console/Application.php:123 Symfony\Component\Console\Application->run() at phar://D:/bin/composer/src/Composer/Console/Application.php:98 Composer\Console\Application->run() at phar://D:/bin/composer/bin/composer:43 require() at D:\bin\composer:25 require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...</packages></code>
回复内容:
在packagist.org
上新提交了一个包以后,一直composer require
不到资源。
不知道需要等待多久才能composer
到?
<code># 以下为调试信息 D:\ubuntu_share\composer\hello>php d:\bin\composer require pangou/hello-world -vvv You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug Reading ./composer.json Loading config file ./composer.json Executing command (D:\ubuntu_share\composer\hello): git describe --exact-match --tags Executing command (D:\ubuntu_share\composer\hello): git branch --no-color --no-abbrev -v Executing command (D:\ubuntu_share\composer\hello): hg branch Executing command (D:\ubuntu_share\composer\hello): svn info --xml Failed to initialize global composer: Composer could not find the config file: C:/Users/Administrator/AppData/Roaming/Composer/composer.json To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section Downloading https://packagist.org/packages.json Writing C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/packages.json into cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2013.json from cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2014.json from cache Downloading http://packagist.org/p/provider-2015%24892cc7113cf0f30cc0db27a2d8cb45584c7881e7247ba2fe2b580366302ce653.json Writing C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2015.json into cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2015-04.json from cache Downloading http://packagist.org/p/provider-2015-07%24ff67e834038a3d373daa2428f5e6fdaf7e02a21ddb8b02e8f95c6761b38e22a8.json Writing C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2015-07.json into cache Downloading http://packagist.org/p/provider-2015-10%24f3055c2306df02385f88e9b3494ffeed8b5499d9d14c6db9ce8ae2d6861fecd7.json Writing C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2015-10.json into cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-2016-01.json from cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-archived.json from cache Downloading http://packagist.org/p/provider-latest%24878f7537ca276f1260dbb3f72297457eeeda58d6e92027dec978955a622e5757.json Writing C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/p-provider-latest.json into cache Reading C:/Users/Administrator/AppData/Local/Composer/repo/https---packagist.org/provider-pangou$hello-world.json from cache [InvalidArgumentException] Could not find package pangou/hello-world at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability Exception trace: () at phar://D:/bin/composer/src/Composer/Command/InitCommand.php:605 Composer\Command\InitCommand->findBestVersionForPackage() at phar://D:/bin/composer/src/Composer/Command/InitCommand.php:334 Composer\Command\InitCommand->determineRequirements() at phar://D:/bin/composer/src/Composer/Command/RequireCommand.php:107 Composer\Command\RequireCommand->execute() at phar://D:/bin/composer/vendor/symfony/console/Command/Command.php:259 Symfony\Component\Console\Command\Command->run() at phar://D:/bin/composer/vendor/symfony/console/Application.php:840 Symfony\Component\Console\Application->doRunCommand() at phar://D:/bin/composer/vendor/symfony/console/Application.php:192 Symfony\Component\Console\Application->doRun() at phar://D:/bin/composer/src/Composer/Console/Application.php:167 Composer\Console\Application->doRun() at phar://D:/bin/composer/vendor/symfony/console/Application.php:123 Symfony\Component\Console\Application->run() at phar://D:/bin/composer/src/Composer/Console/Application.php:98 Composer\Console\Application->run() at phar://D:/bin/composer/bin/composer:43 require() at D:\bin\composer:25 require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...</packages></code>
刚好前2天建了个packagist,提交成功后就可以安装了,见http://segmentfault.com/a/1190000004294540
提交好马上就可以了,因为你在安装的时候他会去检索的

Heiße KI -Werkzeuge

Undresser.AI Undress
KI-gestützte App zum Erstellen realistischer Aktfotos

AI Clothes Remover
Online-KI-Tool zum Entfernen von Kleidung aus Fotos.

Undress AI Tool
Ausziehbilder kostenlos

Clothoff.io
KI-Kleiderentferner

AI Hentai Generator
Erstellen Sie kostenlos Ai Hentai.

Heißer Artikel

Heiße Werkzeuge

Notepad++7.3.1
Einfach zu bedienender und kostenloser Code-Editor

SublimeText3 chinesische Version
Chinesische Version, sehr einfach zu bedienen

Senden Sie Studio 13.0.1
Leistungsstarke integrierte PHP-Entwicklungsumgebung

Dreamweaver CS6
Visuelle Webentwicklungstools

SublimeText3 Mac-Version
Codebearbeitungssoftware auf Gottesniveau (SublimeText3)

Heiße Themen

In diesem Kapitel werden wir die Umgebungsvariablen, die allgemeine Konfiguration, die Datenbankkonfiguration und die E-Mail-Konfiguration in CakePHP verstehen.

PHP 8.4 bringt mehrere neue Funktionen, Sicherheitsverbesserungen und Leistungsverbesserungen mit einer beträchtlichen Menge an veralteten und entfernten Funktionen. In dieser Anleitung wird erklärt, wie Sie PHP 8.4 installieren oder auf PHP 8.4 auf Ubuntu, Debian oder deren Derivaten aktualisieren. Obwohl es möglich ist, PHP aus dem Quellcode zu kompilieren, ist die Installation aus einem APT-Repository wie unten erläutert oft schneller und sicherer, da diese Repositorys in Zukunft die neuesten Fehlerbehebungen und Sicherheitsupdates bereitstellen.

Um in cakephp4 mit Datum und Uhrzeit zu arbeiten, verwenden wir die verfügbare FrozenTime-Klasse.

Um am Datei-Upload zu arbeiten, verwenden wir den Formular-Helfer. Hier ist ein Beispiel für den Datei-Upload.

In diesem Kapitel lernen wir die folgenden Themen im Zusammenhang mit dem Routing kennen.

CakePHP ist ein Open-Source-Framework für PHP. Es soll die Entwicklung, Bereitstellung und Wartung von Anwendungen erheblich vereinfachen. CakePHP basiert auf einer MVC-ähnlichen Architektur, die sowohl leistungsstark als auch leicht zu verstehen ist. Modelle, Ansichten und Controller gu

Visual Studio Code, auch bekannt als VS Code, ist ein kostenloser Quellcode-Editor – oder eine integrierte Entwicklungsumgebung (IDE) –, die für alle gängigen Betriebssysteme verfügbar ist. Mit einer großen Sammlung von Erweiterungen für viele Programmiersprachen kann VS Code c

Der Validator kann durch Hinzufügen der folgenden zwei Zeilen im Controller erstellt werden.
