Laravel 5.2 INSTALL- node's npm and ruby's bundler.
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:
- You have a project that depends on a number of libraries.
- Some of those libraries depend on other libraries.
Composer:
- Enables you to declare the libraries you depend on.
- 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.的更多相关文章
- CentOS 6.5安装Node.js, npm
CentOS上可以通过下载*.tar.gz安装包的方式自己解压缩.编译的方式安装,同时还可以采用EPEL的方式安装: Node.js and npm are available from the Fe ...
- 搭建Node+NPM+Grunt+Ruby开发环境
序 最近尝试了一下CoffeeScript,和Sass,不得不说这两个搭配起来的确是不错的选择,熟悉以后基本上开发就比较快速了. 当然要开发这个首先需要搭建环境,这里就需要有Node.NPM.Grun ...
- 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及以上版本会自动安装依赖(我在自己电脑上测试是这样的)不用 ...
- npm install报错:chromedriver@2.27.2 install: node install.js
报错: 刚开始以为是 node 或 npm 版本问题,前前后后折腾了好久,终于解决了 解决: 如果执行过npm install,先删除 node_modules 文件夹,不然运行的时候可能会报错 执行 ...
- [Node.js] npm init && npm install
npm init: For create package.json file which will recode the dependence. npm install: You can also w ...
- 刚装上最新node,npm install报这个错误!求ndoe大神解答!!!
npm -v和node-v都可以打印出来但是 npm install就报错! 解决方法:网络问题,建议使用cnpm install命令安装npm,再运行npm run dev 命令
- Node.js npm 详解
一.npm简介 安装npm请阅读我之前的文章Hello Node中npm安装那一部分,不过只介绍了linux平台,如果是其它平台,有前辈写了更加详细的介绍. npm的全称:Node Package M ...
- 使用 nvm 管理不同版本的 node 与 npm
补充说明:Mac 下通过 brew install nvm 所安装的 nvm ,由于安装路径不同,无法正确启用.建议使用 brew uninstall nvm 卸载掉之后,通过本文的方案重新安装一次. ...
- NodeJS(node.exe, npm, express, live-server)安装
1.下载node.exe 下载https://nodejs.org/en/download/current/ 创建D:\GreenSoftware\NodeJS目录,并将node.exe放到目录中. ...
随机推荐
- Spark 核心篇-SparkContext
本章内容: 1.功能描述 本篇文章就要根据源码分析SparkContext所做的一些事情,用过Spark的开发者都知道SparkContext是编写Spark程序用到的第一个类,足以说明SparkCo ...
- 十大高明的Google搜索技巧
WHY 对于google检索,有时需要技巧会得到更好的检索结果,不用简单输入关键字检索后,一个个去浏览.对于这些技巧,基本都知道,但是如果不经常用,总是忘了,又得重新搜索下具体使用方法,这里就把它放到 ...
- 【iCore1S 双核心板_FPGA】例程三:计数器实验——计数器的使用
实验现象: 程序下载成功后,程序中的计数器开始计数,每次计满后,计数器清零,三色LED中红色LED的状态反转.可以看到,红色LED以一定的时间间隔闪烁. 核心源代码: //-------------- ...
- 【GMT43智能液晶模块】例程四:SYSTICK定时器——定时读取触摸值
实验原理: 本实验采用系统定时器,通过简单的初始化定时20ms,每20ms读取一次触 摸值,并基于emWin的UI界面将读到的触摸值显示在界面上. 实验现象: 源代码下载链接: 链接:http://p ...
- linux 常用命令1【转】
1.1. 关机 shutdown -h now 关闭系统(1) init 0 关闭系统(2) telinit 0 关闭系统(3) shutdown -h hours:minutes & 按预定 ...
- T4 生成数据库实体类
来源不详,整理如下: <#@ template language="C#" debug="True" hostspecific="True&qu ...
- Android文档-开发者指南-第一部分:入门-中英文对照版
发布的博客,排版太不行了,整理下发在百度盘上了: 第一部分:Introduction(入门) 0.Introduction to Android(引进到Android) 1.Application F ...
- 08策略模式Strategy
一.什么是策略模式 Strategy模式也叫策略模式是行为模式之一, 它对一系列的算法加以封装,为所有算法定义一 个抽象的算法接口,并通过继承该抽象算法接口 对所有的算法加以封装和实现,具体的算法选择 ...
- 设置Linux打开文件句柄/proc/sys/fs/file-max和ulimit -n的区别
max-file 表示系统级别的能够打开的文件句柄的数量.是对整个系统的限制,并不是针对用户的. ulimit -n 控制进程级别能够打开的文件句柄的数量.提供对shell及其启动的进程的可用文件句柄 ...
- 132、Android安全机制(2) Android Permission权限控制机制(转载)
http://blog.csdn.net/vshuang/article/details/44001661 http://www.cnblogs.com/mengdd/p/4892856.html