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. 使用RStudio远程连接MySQL

    环境: 远程机: linux + Mysql 本地机: Windows + RStudio 问题: 1. 远程机为内网机器,需要跳板机连接,没有公网ip,无法连接 解决方案:修改跳板机的iptable ...

  2. linux命令(53):useradd,区别于adduser

    adduser和useradd的区别: useradd是一个linux命令,但是它提供了很多参数在用户使用的时候根据自己的需要进行设置: 而adduser是一个perl 脚本,在使用的时候会 出现类似 ...

  3. 【Android】Android输入子系统

    成鹏致远 | lcw.cnblogs.com | 2013-10-25 Linux输入子系统回顾 1:为什么要回顾linux输入子系统?这个问题后面自然就知道了 1.linux输入子系统设备是基于平台 ...

  4. golang_elasticsearch 多精确值匹配

    问题 比如要查找属于两种类型的物品,这个时候,term查询就不行了,需要采用terms查询. golang中的用法 看了一下,olivere/elastic 包提供了一个 terms查询,于是高兴的直 ...

  5. Kaggle 自行车租赁预测比赛项目实现

    作者:大树 更新时间:01.20 email:59888745@qq.com 数据处理,机器学习 回主目录:2017 年学习记录和总结 .caret, .dropup > .btn > . ...

  6. ssh-remote-port-forwarding

    1.ssh免密码登录(A登录到B) 1.1.在A上执行并在~/.ssh下生成id_rsa和id_rsa.pub两个文件 ssh-keygen -t rsa -P '' 1.2.拷贝id_rsa.pub ...

  7. 教你一招:更新/替换系统 hosts,轻松访问国外站点

    更新 hosts 下面介绍的操作均可能覆盖现有 hosts ,进行操作前请先确认是否需要备份. 推荐使用本项目的 Host Tools 来自动化 备份/配置 工作. 若更新 hosts 未立即生效,请 ...

  8. R语言系列:生成数据

    R语言系列:生成数据 (2014-05-04 17:41:57) 转载▼ 标签: r语言 教育 分类: 生物信息 生成规则数据1.使用“:“,如x=1:10,注意该方法既可以递增也可以递减,如y=10 ...

  9. Gson - 学习

    Google 的 Gson 库,Gson 是一个非常强大的库,可以将 JSON 格式的数据转化成 Java 对象,也支持将 Java 对象转成 JSON 数据格式. Gson 依赖 本文将会快速开始使 ...

  10. 记一次 Spring 事务配置踩坑记

    记一次 Spring 事务配置踩坑记 问题描述:(SpringBoot + MyBatisPlus) 业务逻辑伪代码如下.理论上,插入数据 t1 后,xxService.getXxx() 方法的查询条 ...