Meeting all Laravel 6.2 suggestions

huangapple go评论55阅读模式
英文:

Meeting all Laravel 6.2 suggestions

问题

以下是您提供的内容的翻译:

我正在安装laravel 6.2,希望在创建新应用程序时听取laravel提出的所有建议。即使没有安装第三方包,laravel也建议安装许多东西,其中一些看起来非常重要,不容忽视。以下是我的安装日志:
symfony/routing 建议安装 doctrine/annotations(用于使用注解加载器)
symfony/routing 建议安装 symfony/config(用于使用一体式路由器或任何加载器)
symfony/routing 建议安装 symfony/expression-language(用于使用表达式匹配)
symfony/routing 建议安装 symfony/yaml(用于使用YAML加载器)
symfony/event-dispatcher-contracts 建议安装 psr/event-dispatcher
symfony/event-dispatcher 建议安装 symfony/dependency-injection
symfony/http-kernel 建议安装 symfony/browser-kit
symfony/http-kernel 建议安装 symfony/config
symfony/http-kernel 建议安装 symfony/dependency-injection
symfony/service-contracts 建议安装 symfony/service-implementation
symfony/console 建议安装 symfony/lock
swiftmailer/swiftmailer 建议安装 true/punycode(需要支持国际化电子邮件地址,如果未安装ext-intl)
paragonie/random_compat 建议安装 ext-libsodium(提供现代的加密API,可用于生成随机字节)
ramsey/uuid 建议安装 ext-libsodium(为SodiumRandomGenerator提供PECL libsodium扩展)
ramsey/uuid 建议安装 ext-uuid(为PeclUuidTimeGenerator和PeclUuidRandomGenerator提供PECL UUID扩展)
ramsey/uuid 建议安装 moontoast/math(提供将UUID转换为128位整数(以字符串形式)的支持)
ramsey/uuid 建议安装 paragonie/random-lib(提供与RandomLibAdapter一起使用的RandomLib)
ramsey/uuid 建议安装 ramsey/uuid-console(用于生成使用ramsey/uuid的UUID的控制台应用程序)
ramsey/uuid 建议安装 ramsey/uuid-doctrine(允许将Ramsey\Uuid\Uuid用作Doctrine字段类型)
symfony/translation 建议安装 symfony/config
symfony/translation 建议安装 symfony/yaml
monolog/monolog 建议安装 aws/aws-sdk-php(允许将日志消息发送到AWS服务,如DynamoDB)
monolog/monolog 建议安装 doctrine/couchdb(允许将日志消息发送到CouchDB服务器)
monolog/monolog 建议安装 elasticsearch/elasticsearch(允许通过官方客户端将日志消息发送到Elasticsearch服务器)
monolog/monolog 建议安装 ext-amqp(允许将日志消息发送到AMQP服务器(需要1.0+))
monolog/monolog 建议安装 ext-mongodb(允许将日志消息发送到MongoDB服务器(通过驱动程序))
monolog/monolog 建议安装 graylog2/gelf-php(允许将日志消息发送到GrayLog2服务器)
monolog/monolog 建议安装 mongodb/mongodb(允许将日志消息发送到MongoDB服务器(通过库))
monolog/monolog 建议安装 php-amqplib/php-amqplib(允许使用php-amqplib将日志消息发送到AMQP服务器)
monolog/monolog 建议安装 php-console/php-console(允许将日志消息发送到Google Chrome)
monolog/monolog 建议安装 rollbar/rollbar(允许将日志消息发送到Rollbar)
monolog/monolog 建议安装 ruflin/elastica(允许将日志消息发送到Elastic Search服务器)
league/flysystem 建议安装 league/flysystem-aws-s3-v2(允许您使用AWS SDK v2使用S3存储)
league/flysystem 建议安装 league/flysystem-aws-s3-v3(允许您使用AWS SDK v3使用S3存储)
league/flysystem 建议安装 league/flysystem-azure(允许您使用Windows Azure Blob存储)
league/flysystem 建议安装 league/flysystem-cached-adapter(用于元数据缓存的Flysystem适配器装饰器)
league/flysystem 建议安装 league/flysystem-eventable-filesystem(允许您使用EventableFilesystem)
league/flysystem 建议安装 league/flysystem-rackspace(允许您使用Rackspace Cloud Files)
league/flysystem 建议安装 league/flysystem-sftp(允许您使用phpseclib通过SFTP服务器存储)
league/flysystem 建议安装 league/flysystem-webdav(允许您使用WebDAV存储)
league/flysystem 建议安装 league/flysystem-ziparchive(允许您使用ZipArchive适配器)
league/flysystem 建议安装 spatie/flysystem-dropbox(允许您使用Dropbox存储)
league/flysystem 建议安装 srmklive/flysystem-dropbox-v2(允许您在PHP 5应用程序中使用Dropbox存储)
laravel/framework 建议安装 aws/aws-sdk-php(用于使用SQS队列驱动程序、DynamoDb失败作业存储和SES邮件驱动程序(^3.0)。)
laravel/framework 建议安装 doctrine/dbal(用于重命名列和删除SQLite列(^2.6)。)
laravel/framework 建议安装 ext-memcached(用于使用memcached缓存驱动程序。)
laravel/framework 建议安装 ext-pcntl(用于使用队
<details>
<summary>英文:</summary>
I am installing laravel 6.2 and i wish to heed to all suggestions laravel throws me when i create a new application. Without even installing a third party package, laravel suggests installing a lot of things some that look super important to ignore. here is my installation log
symfony/routing suggests installing doctrine/annotations (For using the annotat
on loader)
symfony/routing suggests installing symfony/config (For using the all-in-one ro
ter or any loader)
symfony/routing suggests installing symfony/expression-language (For using expr
ssion matching)
symfony/routing suggests installing symfony/yaml (For using the YAML loader)
symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher
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
swiftmailer/swiftmailer suggests installing true/punycode (Needed to support in
ernationalized email addresses, if ext-intl is not installed)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern cr
pto API that can be used to generate random bytes.)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium exte
sion for use with the SodiumRandomGenerator)
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for
se with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing moontoast/math (Provides support for converting
UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing paragonie/random-lib (Provides RandomLib for us
with the RandomLibAdapter)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for
enerating UUIDs with ramsey/uuid)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\
uid\Uuid as Doctrine field type.)
symfony/translation suggests installing symfony/config
symfony/translation suggests installing symfony/yaml
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 message
to a CouchDB server)
monolog/monolog suggests installing elasticsearch/elasticsearch (Allow sending
og messages to an Elasticsearch server via official client)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an
MQP server (1.0+ required))
monolog/monolog suggests installing ext-mongodb (Allow sending log messages to
MongoDB server (via driver))
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messag
s to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages
to a MongoDB server (via library))
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log
essages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log
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)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to
se S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to
se S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use
indows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem
adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-eventable-filesystem (All
ws you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to
se Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use S
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)
league/flysystem suggests installing spatie/flysystem-dropbox (Allows you to us
Dropbox storage)
league/flysystem suggests installing srmklive/flysystem-dropbox-v2 (Allows you
o use Dropbox storage for PHP 5 applications)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS
ueue 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).)
laravel/framework suggests installing ext-memcached (Required to use the memcac
e cache driver.)
laravel/framework suggests installing ext-pcntl (Required to use all features o
the queue worker.)
laravel/framework suggests installing ext-posix (Required to use all features o
the queue worker.)
laravel/framework suggests installing ext-redis (Required to use the Redis cach
and queue drivers.)
laravel/framework suggests installing guzzlehttp/guzzle (Required to use the Ma
lgun mail driver and the ping methods on schedules (^6.0).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to u
e 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 th
Flysystem SFTP driver (^1.0).)
laravel/framework suggests installing moontoast/math (Required to use ordered U
IDs (^1.1).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beans
alk queue driver (^4.0).)
laravel/framework suggests installing psr/http-message (Required to allow Stora
e::put to accept a StreamInterface (^1.0).)
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 br
dge (^4.3.4).)
laravel/framework suggests installing symfony/psr-http-message-bridge (Required
to use PSR-7 bridging features (^1.2).)
laravel/framework suggests installing wildbit/swiftmailer-postmark (Required to
use Postmark mail driver (^3.0).)
psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes Psy
H a lot happier :))
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite t
work.)
psy/psysh suggests installing ext-posix (If you have PCNTL, you&#39;ll want the POS
X extension as well.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation.
ou&#39;ll want this if your PHP install doesn&#39;t already support readline or libedit
)
filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses)
facade/ignition suggests installing laravel/telescope (^2.0)
sebastian/global-state suggests installing ext-uopz (*)
sebastian/environment suggests installing ext-posix (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.7.2)
phpunit/phpunit suggests installing ext-soap (*)
phpunit/phpunit suggests installing ext-xdebug (*)
phpunit/phpunit suggests installing phpunit/php-invoker (^2.0.0)
Generating optimized autoload files
&gt; @php -r &quot;file_exists(&#39;.env&#39;) || copy(&#39;.env.example&#39;, &#39;.env&#39;);&quot;
&gt; @php artisan key:generate --ansi
←[32mApplication key set successfully.←[39m
&gt; Illuminate\Foundation\ComposerScripts::postAutoloadDump
&gt; @php artisan package:discover --ansi
Discovered Package: ←[32mfacade/ignition←[39m
Discovered Package: ←[32mfideloper/proxy←[39m
Discovered Package: ←[32mlaravel/tinker←[39m
Discovered Package: ←[32mnesbot/carbon←[39m
Discovered Package: ←[32mnunomaduro/collision←[39m
←[32mPackage manifest generated successfully.←[39m
Application ready! Build something amazing.
There are two things i am unsure about. How do i go about instaling the symphony suggestions and is there a complete list of all packages laravel suggests you install?.
Thanks.
</details>
# 答案1
**得分**: 1
以下是要翻译的内容:
在我的经验中,您可以忽略这些建议,应该消除系统中不需要的任何额外软件包,因为这将导致更多性能问题、兼容性问题、维护问题和安全问题。
您可以在安装/更新时使用 `--no-suggest` 来禁用建议。
<details>
<summary>英文:</summary>
You can ignore these suggestions, in my experience, you should eliminate any extra package that has no need on your system since this will cause more performance issues, compatibility issues, maintenance issues, security issue
You can use  `--no-suggest` to disable suggestions when installing/updating.
</details>

huangapple
  • 本文由 发表于 2020年1月6日 22:30:24
  • 转载请务必保留本文链接:https://go.coder-hub.com/59613856.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定