在phpStudy2016 php-73.24=NTS上安装下载laravel8.*版本

laravel8.* / 918人浏览 / 0人评论

在phpStudy2016 php-73.24=NTS上安装下载laravel8.*版本,php-73.24这个版本的php是在phpStudy2016上扩展的。其实很多PHP集成环境都是可以安装laravel的,测试了下phpstudy2016版本的安装,还是安装成功了,并且也跑起来。

在phpStudy2016 php-73.24=NTS上安装下载laravel8.*版本,php-73.24这个版本的php是在phpStudy2016上扩展的。

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW
$ composer -V
Composer version 1.10.10 2020-08-03 11:35:19

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW
$ composer global require laravel/installer
Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer
Using version ^4.1 for laravel/installer
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 12 installs, 0 updates, 0 removals

  • Installing symfony/polyfill-php80 (v1.20.0): Loading from cache
  • Installing symfony/process (v5.1.8): Downloading (100%)
  • Installing symfony/polyfill-mbstring (v1.20.0): Downloading (100%)
  • Installing symfony/polyfill-intl-normalizer (v1.20.0): Loading from cache
  • Installing symfony/polyfill-intl-grapheme (v1.20.0): Downloading (connectingDownloading (100%)
  • Installing symfony/polyfill-ctype (v1.20.0): Downloading (100%)
  • Installing symfony/string (v5.1.8): Downloading (100%)
  • Installing psr/container (1.0.0): Loading from cache
  • Installing symfony/service-contracts (v2.2.0): Loading from cache
  • Installing symfony/polyfill-php73 (v1.20.0): Downloading (100%)
  • Installing symfony/console (v5.1.8): Downloading (100%)
  • Installing laravel/installer (v4.1.1): Downloading (100%)

symfony/polyfill-intl-normalizer suggests installing ext-intl (For best performance)
symfony/polyfill-intl-grapheme suggests installing ext-intl (For best performance)
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing psr/log (For using the console logger)
Writing lock file
Generating autoload files
10 packages you are using are looking for funding.
Use the composer fund command to find out more!

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW
$ composer global about
Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer
Composer - Dependency Manager for PHP
Composer is a dependency manager tracking local dependencies of your projects and libraries.
See https://getcomposer.org/ for more information.

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW
$ laravel new laravel
bash: laravel: command not found

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW
$ laravel new
bash: laravel: command not found

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW
$ composer create-project --prefer-dist laravel/laravel laravel
Creating a "laravel/laravel" project at "./laravel"
Installing laravel/laravel (v8.4.2)

  • Installing laravel/laravel (v8.4.2): Downloading (100%)

Created project in H:phpStudyWWWlaravel
@php -r "file_exists('.env') || copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1

  • laravel/framework 8.x-dev requires league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.x-dev].
  • laravel/framework v8.12.0 requires league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.x-dev].
  • laravel/framework v8.12.1 requires league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.x-dev].
  • laravel/framework v8.12.2 requires league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.x-dev].
  • laravel/framework v8.12.3 requires league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.x-dev].
  • laravel/framework v8.13.0 requires league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.x-dev].
  • laravel/framework v8.14.0 requires league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.x-dev].
  • laravel/framework v8.15.0 requires league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.x-dev].
  • league/flysystem 1.x-dev requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
  • league/flysystem 1.1.3 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
  • league/flysystem 1.1.2 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
  • league/flysystem 1.1.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
  • league/flysystem 1.1.0 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
  • Installation request for laravel/framework ^8.12 -> satisfiable by laravel/framework[8.x-dev, v8.12.0, v8.12.1, v8.12.2, v8.12.3, v8.13.0, v8.14.0, v8.15.0].

    To enable extensions, verify that they are enabled in your .ini files:

  • H:phpStudyphpphp-7.3.24-ntsphp.ini
    You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW
$

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW
$ php --ini
Configuration File (php.ini) Path:
Loaded Configuration File: H:phpStudyphpphp-7.3.24-ntsphp.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW
$ composer create-project --prefer-dist laravel/laravel laravel
Creating a "laravel/laravel" project at "./laravel"

[InvalidArgumentException]
Project directory "H:phpStudyWWWlaravel" is not empty.

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW
$ cd laravel

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW/laravel
$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 104 installs, 0 updates, 0 removals

  • Installing voku/portable-ascii (1.5.6): Downloading (100%)
  • Installing symfony/polyfill-php80 (v1.20.0): Loading from cache
  • Installing symfony/polyfill-mbstring (v1.20.0): Loading from cache
  • Installing symfony/polyfill-ctype (v1.20.0): Loading from cache
  • Installing phpoption/phpoption (1.7.5): Downloading (100%)
  • Installing graham-campbell/result-type (v1.0.1):Downloading (100%) )
  • Installing vlucas/phpdotenv (v5.2.0): Downloading (100%)
  • Installing symfony/css-selector (v5.1.8): Downloading (100%)
  • Installing tijsverkoyen/css-to-inline-styles (2.2.3): Downloading (connectinDownloading (100%)
  • Installing symfony/var-dumper (v5.1.8): Downloading (100%)
  • Installing symfony/deprecation-contracts (v2.2.0): Downloading (connecting..Downloading (100%)
  • Installing symfony/routing (v5.1.8): Downloading (100%)
  • Installing symfony/process (v5.1.8): Loading from cache
  • Installing symfony/polyfill-php72 (v1.20.0): Downloading (100%)
  • Installing symfony/polyfill-intl-normalizer (v1.20.0): Loading from cache
  • Installing symfony/polyfill-intl-idn (v1.20.0): Downloading (100%)
  • Installing symfony/polyfill-intl-grapheme (v1.20.0): Loading from cache
  • Installing symfony/string (v5.1.8): Loading from cache
  • Installing phpdocumentor/reflection-common (2.2.0): Downloading (connecting.Downloading (100%)
  • Installing webmozart/assert (1.9.1): Downloading (100%)
  • Installing phpdocumentor/type-resolver (1.4.0): Downloading (100%)
  • Installing phpdocumentor/reflection-docblock (5.2.2): Downloading (connectinDownloading (100%)
  • Installing symfony/mime (v5.1.8): Downloading (100%)
  • Installing psr/log (1.1.3): Loading from cache
  • Installing symfony/polyfill-php73 (v1.20.0): Loading from cache
  • Installing symfony/http-foundation (v5.1.8): Downloading (100%)
  • Installing symfony/http-client-contracts (v2.3.1): Downloading (connecting..Downloading (100%)
  • Installing psr/container (1.0.0): Loading from cache
  • Installing psr/event-dispatcher (1.0.0): Downloading (100%)
  • Installing symfony/event-dispatcher-contracts (v2.2.0): Downloading (connectDownloading (100%)
  • Installing symfony/event-dispatcher (v5.1.8): Downloading (100%)
  • Installing symfony/error-handler (v5.1.8): Downloading (100%)
  • Installing symfony/http-kernel (v5.1.8): Downloading (100%)
  • Installing symfony/finder (v5.1.8): Downloading (100%)
  • Installing symfony/service-contracts (v2.2.0): Loading from cache
  • Installing symfony/console (v5.1.8): Loading from cache
  • Installing symfony/polyfill-iconv (v1.20.0): Downloading (100%)
  • Installing doctrine/lexer (1.2.1): Downloading (100%)
  • Installing egulias/email-validator (2.1.24): Downloading (100%)
  • Installing swiftmailer/swiftmailer (v6.2.3): Downloading (100%)
  • Installing brick/math (0.9.1): Downloading (100%)
  • Installing ramsey/collection (1.1.1): Downloading (100%)
  • Installing ramsey/uuid (4.1.1): Downloading (100%)
  • Installing psr/simple-cache (1.0.1): Loading from cache
  • Installing opis/closure (3.6.1): Downloading (100%)
  • Installing symfony/translation-contracts (v2.3.0): Downloading (connecting..Downloading (100%)
  • Installing symfony/translation (v5.1.8): Downloading (100%)
  • Installing nesbot/carbon (2.41.5): Downloading (100%)
  • Installing monolog/monolog (2.1.1): Loading from cache
  • Installing league/mime-type-detection (1.5.1): Downloading (100%)
  • Installing league/flysystem (1.1.3): Downloading (100%)
  • Installing league/commonmark (1.5.7): Downloading (100%)
  • Installing dragonmantank/cron-expression (v3.0.2): Downloading (connecting..Downloading (100%)
  • Installing doctrine/inflector (2.0.3): Downloading (100%)
  • Installing laravel/framework (v8.15.0): Downloading (100%)
  • Installing fideloper/proxy (4.4.1): Downloading (100%)
  • Installing asm89/stack-cors (v2.0.2): Downloading (100%)
  • Installing fruitcake/laravel-cors (v2.0.3): Downloading (100%)
  • Installing psr/http-message (1.0.1): Loading from cache
  • Installing psr/http-client (1.0.1): Loading from cache
  • Installing ralouphie/getallheaders (3.0.3): Loading from cache
  • Installing guzzlehttp/psr7 (1.7.0): Downloading (100%)
  • Installing guzzlehttp/promises (1.4.0): Downloading (100%)
  • Installing guzzlehttp/guzzle (7.2.0): Downloading (100%)
  • Installing dnoegel/php-xdg-base-dir (v0.1.1): Downloading (100%)
  • Installing nikic/php-parser (v4.10.2): Downloading (100%)
  • Installing psy/psysh (v0.10.4): Downloading (100%)
  • Installing laravel/tinker (v2.5.0): Downloading (100%)
  • Installing filp/whoops (2.9.1): Downloading (100%)
  • Installing facade/ignition-contracts (1.0.2): Downloading (100%)
  • Installing facade/flare-client-php (1.3.7): Downloading (100%)
  • Installing facade/ignition (2.5.2): Downloading (100%)
  • Installing fakerphp/faker (v1.11.0): Downloading (100%)
  • Installing hamcrest/hamcrest-php (v2.0.1): Downloading (100%)
  • Installing mockery/mockery (1.4.2): Downloading (100%)
  • Installing nunomaduro/collision (v5.1.0): Downloading (100%)
  • Installing sebastian/version (3.0.2): Downloading (100%)
  • Installing sebastian/type (2.3.1): Downloading (100%)
  • Installing sebastian/resource-operations (3.0.3): Downloading (connecting...Downloading (100%)
  • Installing sebastian/recursion-context (4.0.4): Downloading (100%)
  • Installing sebastian/object-reflector (2.0.4): Downloading (100%)
  • Installing sebastian/object-enumerator (4.0.4): Downloading (100%)
  • Installing sebastian/global-state (5.0.2): Downloading (100%)
  • Installing sebastian/exporter (4.0.3): Downloading (100%)
  • Installing sebastian/environment (5.1.3): Downloading (100%)
  • Installing sebastian/diff (4.0.4): Downloading (100%)
  • Installing sebastian/comparator (4.0.6): Downloading (100%)
  • Installing sebastian/code-unit (1.0.8): Downloading (100%)
  • Installing sebastian/cli-parser (1.0.1): Downloading (100%)
  • Installing phpunit/php-timer (5.0.3): Downloading (100%)
  • Installing phpunit/php-text-template (2.0.4): Downloading (100%)
  • Installing phpunit/php-invoker (3.1.1): Downloading (100%)
  • Installing phpunit/php-file-iterator (3.0.5): Downloading (100%)
  • Installing sebastian/complexity (2.0.2): Downloading (100%)
  • Installing sebastian/lines-of-code (1.0.2): Downloading (100%)
  • Installing theseer/tokenizer (1.2.0): Downloading (100%)
  • Installing sebastian/code-unit-reverse-lookup (2.0.3): Downloading (connectiDownloading (100%)
  • Installing phpunit/php-code-coverage (9.2.3): Downloading (100%)
  • Installing doctrine/instantiator (1.4.0): Downloading (100%)
  • Installing phpspec/prophecy (1.12.1): Downloading (100%)
  • Installing phar-io/version (3.0.2): Downloading (100%)
  • Installing phar-io/manifest (2.0.1): Downloading (100%)
  • Installing myclabs/deep-copy (1.10.2): Downloading (100%)
  • Installing phpunit/phpunit (9.4.3): Downloading (100%)

voku/portable-ascii suggests installing ext-intl (Use Intl for transliterator_transliterate() support)
symfony/var-dumper suggests installing ext-intl (To show region name in time zone dump)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/yaml (For using the YAML loader)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/polyfill-intl-normalizer suggests installing ext-intl (For best performance)
symfony/polyfill-intl-idn suggests installing ext-intl (For best performance)
symfony/polyfill-intl-grapheme suggests installing ext-intl (For best performance)
symfony/http-client-contracts suggests installing symfony/http-client-implementation
symfony/event-dispatcher suggests installing symfony/dependency-injection
symfony/http-kernel suggests installing symfony/browser-kit
symfony/http-kernel suggests installing symfony/config
symfony/http-kernel suggests installing symfony/dependency-injection
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/lock
egulias/email-validator suggests installing ext-intl (PHP Internationalization Libraries are required to use the SpoofChecking validation)
swiftmailer/swiftmailer suggests installing ext-intl (Needed to support internationalized email addresses)
swiftmailer/swiftmailer suggests installing true/punycode (Needed to support internationalized email addresses, if ext-intl is not installed)
ramsey/uuid suggests installing ext-gmp (Enables faster math with arbitrary-precision integers using GMP.)
ramsey/uuid suggests installing ext-uuid (Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of RamseyUuidUuid as Doctrine field type.)
ramsey/uuid suggests installing paragonie/random-lib (Provides RandomLib for use with the RandomLibAdapter)
symfony/translation suggests installing symfony/config
symfony/translation suggests installing symfony/yaml
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing elasticsearch/elasticsearch (Allow sending log messages to an Elasticsearch server via official client)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server (via library))
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)
league/flysystem suggests installing spatie/flysystem-dropbox (Allows you to use Dropbox storage)
league/flysystem suggests installing srmklive/flysystem-dropbox-v2 (Allows you to use Dropbox storage for PHP 5 applications)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing ext-ftp (Allows you to use FTP server storage)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
laravel/framework suggests installing ext-ftp (Required to use the Flysystem FTP driver.)
laravel/framework suggests installing ext-memcached (Required to use the memcache cache driver.)
laravel/framework suggests installing ext-pcntl (Required to use all features of the queue worker.)
laravel/framework suggests installing ext-posix (Required to use all features of the queue worker.)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.0).)
laravel/framework suggests installing doctrine/dbal (Required to rename columns and drop SQLite columns (^2.6|^3.0).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (^1.0).)
laravel/framework suggests installing league/flysystem-cached-adapter (Required to use the Flysystem cache (^1.0).)
laravel/framework suggests installing league/flysystem-sftp (Required to use the Flysystem SFTP driver (^1.0).)
laravel/framework suggests installing nyholm/psr7 (Required to use PSR-7 bridging features (^1.2).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (^4.0).)
laravel/framework suggests installing predis/predis (Required to use the predis connector (^1.1.2).)
laravel/framework suggests installing pusher/pusher-php-server (Required to use the Pusher broadcast driver (^4.0).)
laravel/framework suggests installing symfony/cache (Required to PSR-6 cache bridge (^5.1).)
laravel/framework suggests installing symfony/filesystem (Required to enable support for relative symbolic links (^5.1).)
laravel/framework suggests installing symfony/psr-http-message-bridge (Required to use PSR-7 bridging features (^2.0).)
laravel/framework suggests installing wildbit/swiftmailer-postmark (Required to use Postmark mail driver (^3.0).)
guzzlehttp/psr7 suggests installing laminas/laminas-httphandlerrunner (Emit PSR-7 responses)
guzzlehttp/guzzle suggests installing ext-intl (Required for Internationalized Domain Name (IDN) support)
psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsySH a lot happier :))
psy/psysh suggests installing ext-posix (If you have PCNTL, you'll want the POSIX extension as well.)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit.)
filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses)
facade/ignition suggests installing laravel/telescope (^3.1)
sebastian/global-state suggests installing ext-uopz (*)
sebastian/environment suggests installing ext-posix (*)
phpunit/php-invoker suggests installing ext-pcntl (*)
phpunit/php-code-coverage suggests installing ext-pcov (*)
phpunit/php-code-coverage suggests installing ext-xdebug (*)
phpunit/phpunit suggests installing ext-soap (*)
phpunit/phpunit suggests installing ext-xdebug (*)
Writing lock file
Generating optimized autoload files
IlluminateFoundationComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
Discovered Package: facade/ignition
Discovered Package: fideloper/proxy
Discovered Package: fruitcake/laravel-cors
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Package manifest generated successfully.
72 packages you are using are looking for funding.
Use the composer fund command to find out more!

如果打不开请执行以下三个命令:

报错情况:No application encryption key has been specified.

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW/laravel
$ cp -a .env.example .env

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW/laravel
$ php artisan key:generate
Application key set successfully.

Administrator@PC-202005152046 MINGW64 /h/phpStudy/WWW/laravel
$ php artisan serve

转载注明:

0 条评论

还没有人发表评论

发表评论 取消回复

记住我的信息,方便下次评论
有人回复时邮件通知我