https://getcomposer.org/doc/00-intro.md

Introduction#

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

Dependency management#

Composer is not a package manager in the same sense as Yum or Apt are. Yes, it deals with "packages" or libraries, but it manages them on a per-project basis, installing them in a directory (e.g. vendor) inside your project. By default it does not install anything globally. Thus, it is a dependency manager. It does however support a "global" project for convenience via the global command.

This idea is not new and Composer is strongly inspired by node's npm and ruby's bundler.

Suppose:

  1. You have a project that depends on a number of libraries.
  2. Some of those libraries depend on other libraries.

Composer:

  1. Enables you to declare the libraries you depend on.
  2. Finds out which versions of which packages can and need to be installed, and installs them (meaning it downloads them into your project).

http://www.tutorialspoint.com/laravel/laravel_tutorial.pdf

https://getcomposer.org/Composer-Setup.exe

D:\wamp64\bin\php\php5.6.19

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。 C:\Users\Administrator>cd\ C:\>composer
______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
Composer version 1.2.0 2016-07-19 01:28:52 Usage:
command [options] [arguments] Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
--profile Display timing and memory usage information
--no-plugins Whether to disable plugins.
-d, --working-dir=WORKING-DIR If specified, use the given directory as workin
g directory.
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for norma
l output, 2 for more verbose output and 3 for debug Available commands:
about Short information about Composer
archive Create an archive of this composer package
browse Opens the package's repository URL or homepage in your browser
.
clear-cache Clears composer's internal package cache.
clearcache Clears composer's internal package cache.
config Set config options
create-project Create new project from a package into given directory.
depends Shows which packages cause the given package to be installed
diagnose Diagnoses the system to identify common errors.
dump-autoload Dumps the autoloader
dumpautoload Dumps the autoloader
exec Execute a vendored binary/script
global Allows running commands in the global composer dir ($COMPOSER_
HOME).
help Displays help for a command
home Opens the package's repository URL or homepage in your browser
.
info Show information about packages
init Creates a basic composer.json file in current directory.
install Installs the project dependencies from the composer.lock file
if present, or falls back on the composer.json.
licenses Show information about licenses of dependencies
list Lists commands
outdated Shows a list of installed packages that have updates available
, including their latest version.
prohibits Shows which packages prevent the given package from being inst
alled
remove Removes a package from the require or require-dev
require Adds required packages to your composer.json and installs them run-script Run the scripts defined in composer.json.
search Search for packages
self-update Updates composer.phar to the latest version.
selfupdate Updates composer.phar to the latest version.
show Show information about packages
status Show a list of locally modified packages
suggests Show package suggestions
update Updates your dependencies to the latest version according to c
omposer.json, and updates the composer.lock file.
validate Validates a composer.json and composer.lock
why Shows which packages cause the given package to be installed
why-not Shows which packages prevent the given package from being inst
alled C:\>

0-cd\

1-composer
2-d:

3-composer create-project  \wamp64\www\w0813w\laravel prefer-dist

C:\>d:

D:\>composer create-project  \wamp64\www\w0813w\laravel prefer-dist

  [InvalidArgumentException]
Could not find package \wamp64\www\w0813w\laravel with stability stable. create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--r
epository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no
-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vc
s] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<vers
ion>] D:\>

补建目录,去除‘只读’

4-

Create a new  directory anywhere in your system for your new Laravel project.
After that, move to path where you have created the new directory and type the following command there to install Laravel.
composer create-project laravel/laravel –prefer-distStep

 D:\>composer create-project  \wamp64\www\w0813w\laravel-master

   [InvalidArgumentException]
Could not find package \wamp64\www\w0813w\laravel-master with stability sta
ble. create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--r
epository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no
-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vc
s] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<vers
ion>] D:\>cd\D:\wamp64\www\w0813w\laravel
文件名、目录名或卷标语法不正确。 D:\>cd \wamp64\www\w0813w\laravel D:\wamp64\www\w0813w\laravel>composer create-project laravel/laravel –prefer-di
st
Installing laravel/laravel (v5.2.31)
- Installing laravel/laravel (v5.2.31)
Downloading: 100% Created project in –prefer-dist
> php -r "copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing vlucas/phpdotenv (v2.3.0)
Downloading: 100% - Installing symfony/polyfill-mbstring (v1.2.0)
Downloading: 100% - Installing symfony/var-dumper (v3.0.9)
Downloading: 100% - Installing symfony/translation (v3.0.9)
Downloading: 100% - Installing symfony/routing (v3.0.9)
Downloading: 100% - Installing symfony/process (v3.0.9)
Downloading: 100% - Installing symfony/polyfill-util (v1.2.0)
Downloading: 100% - Installing symfony/polyfill-php56 (v1.2.0)
Downloading: 100% - Installing symfony/http-foundation (v3.0.9)
Downloading: 100% - Installing symfony/event-dispatcher (v3.1.3)
Downloading: 100% - Installing psr/log (1.0.0)
Downloading: 100% - Installing symfony/debug (v3.0.9)
Downloading: 100% - Installing symfony/http-kernel (v3.0.9)
Downloading: 100% - Installing symfony/finder (v3.0.9)
Downloading: 100% - Installing symfony/console (v3.0.9)
Downloading: 100% - Installing swiftmailer/swiftmailer (v5.4.3)
Downloading: 100% - Installing jakub-onderka/php-console-color (0.1)
Downloading: 100% - Installing jakub-onderka/php-console-highlighter (v0.3.2)
Downloading: 100% - Installing dnoegel/php-xdg-base-dir (0.1)
Downloading: 100% - Installing nikic/php-parser (v2.1.0)
Downloading: 100% - Installing psy/psysh (v0.7.2)
Downloading: 100% - Installing paragonie/random_compat (v1.4.1)
Downloading: 100% - Installing nesbot/carbon (1.21.0)
Downloading: 100% - Installing mtdowling/cron-expression (v1.1.0)
Downloading: 100% - Installing monolog/monolog (1.21.0)
Downloading: 100% - Installing league/flysystem (1.0.27)
Downloading: 100% - Installing jeremeamia/superclosure (2.2.0)
Downloading: 100% - Installing doctrine/inflector (v1.1.0)
Downloading: 100% - Installing classpreloader/classpreloader (3.0.0)
Downloading: 100% - Installing laravel/framework (v5.2.43)
Downloading: 100% - Installing fzaninotto/faker (v1.6.0)
Downloading: 100% - Installing hamcrest/hamcrest-php (v1.2.2)
Downloading: 100% - Installing mockery/mockery (0.9.5)
Downloading: 100% - Installing symfony/yaml (v3.1.3)
Downloading: 100% - Installing sebastian/version (1.0.6)
Downloading: 100% - Installing sebastian/global-state (1.1.1)
Downloading: 100% - Installing sebastian/recursion-context (1.0.2)
Downloading: 100% - Installing sebastian/exporter (1.2.2)
Downloading: 100% - Installing sebastian/environment (1.3.7)
Downloading: 100% - Installing sebastian/diff (1.4.1)
Downloading: 100% - Installing sebastian/comparator (1.2.0)
Downloading: 100% - Installing doctrine/instantiator (1.0.5)
Downloading: 100% - Installing phpunit/php-text-template (1.2.1)
Downloading: 100% - Installing phpunit/phpunit-mock-objects (2.3.8)
Downloading: 100% - Installing phpunit/php-timer (1.0.8)
Downloading: 100% - Installing phpunit/php-file-iterator (1.4.1)
Downloading: 100% - Installing phpunit/php-token-stream (1.4.8)
Downloading: 100% - Installing phpunit/php-code-coverage (2.2.4)
Downloading: 100% - Installing webmozart/assert (1.1.0)
Downloading: 100% - Installing phpdocumentor/reflection-common (1.0)
Downloading: 100% - Installing phpdocumentor/type-resolver (0.2)
Downloading: 100% - Installing phpdocumentor/reflection-docblock (3.1.0)
Downloading: 100% - Installing phpspec/prophecy (v1.6.1)
Downloading: 100% - Installing phpunit/phpunit (4.8.27)
Downloading: 100% - Installing symfony/css-selector (v3.0.9)
Downloading: 100% - Installing symfony/dom-crawler (v3.0.9)
Downloading: 100% symfony/var-dumper suggests installing ext-symfony_debug ()
symfony/translation suggests installing symfony/config ()
symfony/routing suggests installing doctrine/annotations (For using the annotati
on loader)
symfony/routing suggests installing symfony/config (For using the all-in-one rou
ter or any loader)
symfony/routing suggests installing symfony/dependency-injection (For loading ro
utes from a service)
symfony/routing suggests installing symfony/expression-language (For using expre
ssion matching)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/class-loader ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsyS
H a lot happier :))
psy/psysh suggests installing ext-posix (If you have PCNTL, you'll want the POSI
X extension as well.)
psy/psysh suggests installing ext-readline (Enables support for arrow-key histor
y navigation, and showing and manipulating command history.)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to
work.)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern cry
pto API that can be used to generate random bytes.)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages
to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages
to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an A
MQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a M
ongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log message
s to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages
to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log m
essages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log m
essages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages
to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages
to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to
a Sentry server)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to u
se S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to u
se S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use W
indows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem
adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-copy (Allows you to use Co
py.com storage)
league/flysystem suggests installing league/flysystem-dropbox (Allows you to use
Dropbox storage)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allo
ws you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to u
se Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SF
TP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use
WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to
use ZipArchive adapter)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS q
ueue driver and SES mail driver (~3.0).)
laravel/framework suggests installing doctrine/dbal (Required to rename columns
and drop SQLite columns (~2.4).)
laravel/framework suggests installing guzzlehttp/guzzle (Required to use the Mai
lgun and Mandrill mail drivers and the ping methods on schedules (~5.3|~6.0).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to us
e the Flysystem S3 driver (~1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to us
e the Flysystem Rackspace driver (~1.0).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanst
alk queue driver (~3.0).)
laravel/framework suggests installing predis/predis (Required to use the redis c
ache and queue drivers (~1.0).)
laravel/framework suggests installing pusher/pusher-php-server (Required to use
the Pusher broadcast driver (~2.0).)
laravel/framework suggests installing symfony/psr-http-message-bridge (Required
to psr7 bridging features (0.2.*).)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Writing lock file
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
Generating optimized class loader
> php artisan key:generate
Application key [base64:mRxA2pP+BqMBfBZULlAu6FmoDy77SLzo9wGnaeNi5AQ=] set succes
sfully. D:\wamp64\www\w0813w\laravel>
 create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--r
epository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no
-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vc
s] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<vers
ion>] D:\>cd\D:\wamp64\www\w0813w\laravel
文件名、目录名或卷标语法不正确。 D:\>cd \wamp64\www\w0813w\laravel D:\wamp64\www\w0813w\laravel>composer create-project laravel/laravel –prefer-di
st
Installing laravel/laravel (v5.2.31)
- Installing laravel/laravel (v5.2.31)
Downloading: 100% Created project in –prefer-dist
> php -r "copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing vlucas/phpdotenv (v2.3.0)
Downloading: 100% - Installing symfony/polyfill-mbstring (v1.2.0)
Downloading: 100% - Installing symfony/var-dumper (v3.0.9)
Downloading: 100% - Installing symfony/translation (v3.0.9)
Downloading: 100% - Installing symfony/routing (v3.0.9)
Downloading: 100% - Installing symfony/process (v3.0.9)
Downloading: 100% - Installing symfony/polyfill-util (v1.2.0)
Downloading: 100% - Installing symfony/polyfill-php56 (v1.2.0)
Downloading: 100% - Installing symfony/http-foundation (v3.0.9)
Downloading: 100% - Installing symfony/event-dispatcher (v3.1.3)
Downloading: 100% - Installing psr/log (1.0.0)
Downloading: 100% - Installing symfony/debug (v3.0.9)
Downloading: 100% - Installing symfony/http-kernel (v3.0.9)
Downloading: 100% - Installing symfony/finder (v3.0.9)
Downloading: 100% - Installing symfony/console (v3.0.9)
Downloading: 100% - Installing swiftmailer/swiftmailer (v5.4.3)
Downloading: 100% - Installing jakub-onderka/php-console-color (0.1)
Downloading: 100% - Installing jakub-onderka/php-console-highlighter (v0.3.2)
Downloading: 100% - Installing dnoegel/php-xdg-base-dir (0.1)
Downloading: 100% - Installing nikic/php-parser (v2.1.0)
Downloading: 100% - Installing psy/psysh (v0.7.2)
Downloading: 100% - Installing paragonie/random_compat (v1.4.1)
Downloading: 100% - Installing nesbot/carbon (1.21.0)
Downloading: 100% - Installing mtdowling/cron-expression (v1.1.0)
Downloading: 100% - Installing monolog/monolog (1.21.0)
Downloading: 100% - Installing league/flysystem (1.0.27)
Downloading: 100% - Installing jeremeamia/superclosure (2.2.0)
Downloading: 100% - Installing doctrine/inflector (v1.1.0)
Downloading: 100% - Installing classpreloader/classpreloader (3.0.0)
Downloading: 100% - Installing laravel/framework (v5.2.43)
Downloading: 100% - Installing fzaninotto/faker (v1.6.0)
Downloading: 100% - Installing hamcrest/hamcrest-php (v1.2.2)
Downloading: 100% - Installing mockery/mockery (0.9.5)
Downloading: 100% - Installing symfony/yaml (v3.1.3)
Downloading: 100% - Installing sebastian/version (1.0.6)
Downloading: 100% - Installing sebastian/global-state (1.1.1)
Downloading: 100% - Installing sebastian/recursion-context (1.0.2)
Downloading: 100% - Installing sebastian/exporter (1.2.2)
Downloading: 100% - Installing sebastian/environment (1.3.7)
Downloading: 100% - Installing sebastian/diff (1.4.1)
Downloading: 100% - Installing sebastian/comparator (1.2.0)
Downloading: 100% - Installing doctrine/instantiator (1.0.5)
Downloading: 100% - Installing phpunit/php-text-template (1.2.1)
Downloading: 100% - Installing phpunit/phpunit-mock-objects (2.3.8)
Downloading: 100% - Installing phpunit/php-timer (1.0.8)
Downloading: 100% - Installing phpunit/php-file-iterator (1.4.1)
Downloading: 100% - Installing phpunit/php-token-stream (1.4.8)
Downloading: 100% - Installing phpunit/php-code-coverage (2.2.4)
Downloading: 100% - Installing webmozart/assert (1.1.0)
Downloading: 100% - Installing phpdocumentor/reflection-common (1.0)
Downloading: 100% - Installing phpdocumentor/type-resolver (0.2)
Downloading: 100% - Installing phpdocumentor/reflection-docblock (3.1.0)
Downloading: 100% - Installing phpspec/prophecy (v1.6.1)
Downloading: 100% - Installing phpunit/phpunit (4.8.27)
Downloading: 100% - Installing symfony/css-selector (v3.0.9)
Downloading: 100% - Installing symfony/dom-crawler (v3.0.9)
Downloading: 100% symfony/var-dumper suggests installing ext-symfony_debug ()
symfony/translation suggests installing symfony/config ()
symfony/routing suggests installing doctrine/annotations (For using the annotati
on loader)
symfony/routing suggests installing symfony/config (For using the all-in-one rou
ter or any loader)
symfony/routing suggests installing symfony/dependency-injection (For loading ro
utes from a service)
symfony/routing suggests installing symfony/expression-language (For using expre
ssion matching)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/class-loader ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsyS
H a lot happier :))
psy/psysh suggests installing ext-posix (If you have PCNTL, you'll want the POSI
X extension as well.)
psy/psysh suggests installing ext-readline (Enables support for arrow-key histor
y navigation, and showing and manipulating command history.)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to
work.)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern cry
pto API that can be used to generate random bytes.)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages
to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages
to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an A
MQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a M
ongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log message
s to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages
to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log m
essages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log m
essages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages
to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages
to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to
a Sentry server)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to u
se S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to u
se S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use W
indows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem
adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-copy (Allows you to use Co
py.com storage)
league/flysystem suggests installing league/flysystem-dropbox (Allows you to use
Dropbox storage)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allo
ws you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to u
se Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SF
TP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use
WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to
use ZipArchive adapter)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS q
ueue driver and SES mail driver (~3.0).)
laravel/framework suggests installing doctrine/dbal (Required to rename columns
and drop SQLite columns (~2.4).)
laravel/framework suggests installing guzzlehttp/guzzle (Required to use the Mai
lgun and Mandrill mail drivers and the ping methods on schedules (~5.3|~6.0).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to us
e the Flysystem S3 driver (~1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to us
e the Flysystem Rackspace driver (~1.0).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanst
alk queue driver (~3.0).)
laravel/framework suggests installing predis/predis (Required to use the redis c
ache and queue drivers (~1.0).)
laravel/framework suggests installing pusher/pusher-php-server (Required to use
the Pusher broadcast driver (~2.0).)
laravel/framework suggests installing symfony/psr-http-message-bridge (Required
to psr7 bridging features (0.2.*).)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Writing lock file
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
Generating optimized class loader
> php artisan key:generate
Application key [base64:mRxA2pP+BqMBfBZULlAu6FmoDy77SLzo9wGnaeNi5AQ=] set succes
sfully. D:\wamp64\www\w0813w\laravel>php artisan serve
Could not open input file: artisan D:\wamp64\www\w0813w\laravel>cd \wamp64\www\w0813w\laravel\–prefer-dist D:\wamp64\www\w0813w\laravel\–prefer-dist>php artisan serve
Laravel development server started on http://localhost:8000/
[Sat Aug 13 04:04:17 2016] 127.0.0.1:54792 [200]: /favicon.ico
 D:\wamp64\www\w0813w\laravel>php artisan serve
Could not open input file: artisan D:\wamp64\www\w0813w\laravel>cd \wamp64\www\w0813w\laravel\–prefer-dist D:\wamp64\www\w0813w\laravel\–prefer-dist>php artisan serve
Laravel development server started on http://localhost:8000/
[Sat Aug 13 04:04:17 2016] 127.0.0.1:54792 [200]: /favicon.ico
[Sat Aug 13 04:08:04 2016] 127.0.0.1:54793 Invalid request (Unexpected EOF)
[Sat Aug 13 04:10:20 2016] 127.0.0.1:54813 [200]: /favicon.ico
[Sat Aug 13 04:10:35 2016] 127.0.0.1:54814 Invalid request (Unexpected EOF)
[Sat Aug 13 04:10:35 2016] 127.0.0.1:54815 Invalid request (Unexpected EOF)
[Sat Aug 13 04:10:35 2016] 127.0.0.1:54816 Invalid request (Unexpected EOF)
[Sat Aug 13 04:10:36 2016] 127.0.0.1:54823 [200]: /w.php
[Sat Aug 13 04:10:36 2016] 127.0.0.1:54824 [200]: /favicon.ico
[Sat Aug 13 04:11:15 2016] 127.0.0.1:54825 Invalid request (Unexpected EOF)
[Sat Aug 13 04:11:15 2016] 127.0.0.1:54826 Invalid request (Unexpected EOF)
[Sat Aug 13 04:11:15 2016] 127.0.0.1:54833 [200]: /w.php
[Sat Aug 13 04:11:15 2016] 127.0.0.1:54834 [200]: /favicon.ico
[Sat Aug 13 04:11:16 2016] 127.0.0.1:54835 [200]: /w.php
[Sat Aug 13 04:11:16 2016] 127.0.0.1:54836 [200]: /favicon.ico
[Sat Aug 13 04:11:17 2016] 127.0.0.1:54838 [200]: /w.php
[Sat Aug 13 04:11:17 2016] 127.0.0.1:54841 [200]: /favicon.ico
[Sat Aug 13 04:11:17 2016] 127.0.0.1:54842 [200]: /w.php
[Sat Aug 13 04:11:18 2016] 127.0.0.1:54845 [200]: /favicon.ico
[Sat Aug 13 04:11:18 2016] 127.0.0.1:54846 [200]: /w.php
[Sat Aug 13 04:11:19 2016] 127.0.0.1:54849 [200]: /favicon.ico

原wampURL不受影响。

小结:

0-敲键盘。

Laravel 5.2 INSTALL- node's npm and ruby's bundler.的更多相关文章

  1. CentOS 6.5安装Node.js, npm

    CentOS上可以通过下载*.tar.gz安装包的方式自己解压缩.编译的方式安装,同时还可以采用EPEL的方式安装: Node.js and npm are available from the Fe ...

  2. 搭建Node+NPM+Grunt+Ruby开发环境

    序 最近尝试了一下CoffeeScript,和Sass,不得不说这两个搭配起来的确是不错的选择,熟悉以后基本上开发就比较快速了. 当然要开发这个首先需要搭建环境,这里就需要有Node.NPM.Grun ...

  3. npm ERR! errno 1 npm ERR! chromedriver@2.35.0 install: `node install.js`

    在使用webpack+vue-cli进行vue项目构建时可能会出现一下错误,webpack@3.10.0及以上版本和vue-cli@2.9.2及以上版本会自动安装依赖(我在自己电脑上测试是这样的)不用 ...

  4. npm install报错:chromedriver@2.27.2 install: node install.js

    报错: 刚开始以为是 node 或 npm 版本问题,前前后后折腾了好久,终于解决了 解决: 如果执行过npm install,先删除 node_modules 文件夹,不然运行的时候可能会报错 执行 ...

  5. [Node.js] npm init && npm install

    npm init: For create package.json file which will recode the dependence. npm install: You can also w ...

  6. 刚装上最新node,npm install报这个错误!求ndoe大神解答!!!

    npm -v和node-v都可以打印出来但是 npm install就报错! 解决方法:网络问题,建议使用cnpm install命令安装npm,再运行npm run dev 命令

  7. Node.js npm 详解

    一.npm简介 安装npm请阅读我之前的文章Hello Node中npm安装那一部分,不过只介绍了linux平台,如果是其它平台,有前辈写了更加详细的介绍. npm的全称:Node Package M ...

  8. 使用 nvm 管理不同版本的 node 与 npm

    补充说明:Mac 下通过 brew install nvm 所安装的 nvm ,由于安装路径不同,无法正确启用.建议使用 brew uninstall nvm 卸载掉之后,通过本文的方案重新安装一次. ...

  9. NodeJS(node.exe, npm, express, live-server)安装

    1.下载node.exe 下载https://nodejs.org/en/download/current/ 创建D:\GreenSoftware\NodeJS目录,并将node.exe放到目录中. ...

随机推荐

  1. 为何float有效位数为7位?

    为何float有效位数为7位? 首先我们应该明确一点:C语言中,%f表示保留7位有效数字7位有效数字: 是指 整数部分 和小数部分一共7位 单精度数的尾数用23位存储,加上默认的小数点前的1位1,2^ ...

  2. phpmyadmin登录提示mysqli_real_connect(): (HY000/2002): No such file or directory和mysql8登录失败的问题

    网上的解决方法有很多,但都无法解决我的问题,最后在stackoverflow上找到解决方法,原文地址:https://stackoverflow.com/questions/41881123/mysq ...

  3. Nuget 配置文件的位置

    最近在 Visual Studio 中使用 Nuget 时,发现总是连接代理服务器,忘了什么时候配置的了,找了半天没找到配置位置,最后发现在这个地方: %appdata%\NuGet 找到 NuGet ...

  4. 物联网架构成长之路(8)-EMQ-Hook了解、连接Kafka发送消息

    1. 前言 按照我自己设计的物联网框架,对于MQTT集群中的所有消息,是要持久化到磁盘的,这里采用一个消息队列中间件Kafka作为数据缓冲,缓冲结果存到数据仓库中,以供后续作为数据分析.由于MQTT集 ...

  5. Socket网络编程--epoll小结

    以前使用的用于I/O多路复用为了方便就使用select函数,但select这个函数是有缺陷的.因为它所支持的并发连接数是有限的(一般小于1024),因为用户处理的数组是使用硬编码的.这个最大值为FD_ ...

  6. C++ 类占用空间计算方式

    1.一个类占用的空间主要是属性占用空间,而成员函数一般不占用空间,但是虚函数占用空间,需要说明的是,无论多少个虚函数,只要占用4个字节即可,也就是索引指向一个虚拟表的首位置.另外需要说明的是占用空间都 ...

  7. 每日英语:These Gadgets Aim To Put Some Teeth Into The Internet Of Things

    What the world needs now is a Web-enabled toothbrush. That part is clear to several oral-hygiene com ...

  8. Mysql字符串字段中是否包含某个字符串,用 find_in_set

    有这样一个需求,在Mysql数据库字符串字段(权限)中,有范围在 1 到 N 之间代表不同权限的值,分别被‘,’分开,现在要取出具有某权限的所有成员列表. 创建表:   1 CREATE TABLE ...

  9. javascript 简略

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  10. [Angularjs] 第一步开始一个项目

    [Angularjs] 第一步开始一个项目 一.什么是angularjs angularjs是2009年兴起的,目前由Google维护一个采用mvc模式的js框架,很多时候用来创建单页面应用.我也经常 ...