aws / aws-sdk-php-symfony Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
I'm attempting to create two S3 client services for my application. Each has different permissions as per the IAM roles the keys have.
I'm getting this error:
Type error: Argument 1 passed to Aws\\S3\\S3Client::__construct() must be of the type array, string given
This is the services.yml entry:
app.aws.read:
class: '%aws.s3.class%'
arguments: ['%aws_keys_read_key%', '%aws_keys_read_secret%']
I don't see why this shouldn't work since an array is being given as the argument.
Please add support for upcomming Symfony 5.x
composer require aws/aws-sdk-php-symfony
results currently in:
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "5.0.*"
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for aws/aws-sdk-php-symfony dev-master -> satisfiable by aws/aws-sdk-php-symfony[dev-master].
- aws/aws-sdk-php-symfony dev-master requires symfony/config ~2.3|~3.0|~4.0 -> no matching package found.
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Would anyone use a EnvVarProcessor that uses the AWS Secrets Manager?
What I'm thinking is to implement EnvVarProcessorInterface and create a awsSecret key that takes a SecretId, and optionally a versionID and / or versionStage and resolves this in runtime. Then in config, you can use a string similar to this to use amazon secrets in the config.
parameters:
db_dsn: "mysql://db_user:%env(awsSecret:db_password)%@127.0.0.1:3306/db_name"
Thoughts? Does anyone want this? Would such a feature be merged?
Because of reasons I am stuck with version 2.x of the AWS SDK.
At a first glance, there is so little code and configuration in this bundle here that I don't see why it wouldn't work with that (outdated) version.
Would you be open for a PR that would support the v2 version as well?
A new version of symfony released (6.0) yesterday.
Add support for symfony 6.
After deploying my project on Elastic Beanstalk I get 403 errors when I query AWS APIs.
The SDK should automatically retrieve the instance role to query the APIs.
Nothing really to add here except the details of one of the 403 errors I got. I tried on 2 different projects and has the same issue on SQS for one and S3 for the other.
Error executing "SendMessage" on "https://sqs.us-west-2.amazonaws.com/queueid/queuename.fifo"; AWS HTTP error: Client error: `POST https://sqs.us-west-2.amazonaws.com/queueid/queuename.fifo` resulted in a `403 Forbidden` response:
<?xml version="1.0"?><ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><Error><Type>Sender</Type><Code>I (truncated...)
InvalidClientTokenId (client): The security token included in the request is invalid. - <?xml version="1.0"?><ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><Error><Type>Sender</Type><Code>InvalidClientTokenId</Code><Message>The security token included in the request is invalid.</Message><Detail/></Error><RequestId>0a31250d-a333-5d1a-8bd1-7fc295b8cf1a</RequestId></ErrorResponse>
AWS support asked me to try calling GetCallerIdentity but I got a 403 error as well :
Error executing "GetCallerIdentity" on "https://sts.amazonaws.com"; AWS HTTP error: Client error: `POST https://sts.amazonaws.com` resulted in a `403 Forbidden` response:
<ErrorResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<Error>
<Type>Sender</Type>
<Code>InvalidCli (truncated...)
InvalidClientTokenId (client): The security token included in the request is invalid. - <ErrorResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<Error>
<Type>Sender</Type>
<Code>InvalidClientTokenId</Code>
<Message>The security token included in the request is invalid.</Message>
</Error>
<RequestId>91db51b4-a836-44f4-9532-bbba0c76cbef</RequestId>
</ErrorResponse>
I did not specify any configuration related to retrieving the instance role since it does not seem to be required and it was working perfectly fine before (amazon linux 1 on elastic beanstalk or previous version of AL2, I'm not too sure unfortunately)
Create a Symfony project, install this bundle and write some code to call an API.
Deploy to Elastic Beanstalk and add a role with required access for the chosen API.
Open the URL to execute the code and see the error.
I added AWS_KEY and AWS_SECRET manually as environment variables on the Elastic Beanstalk console.
No response
3.218.5
PHP 8.0 running on 64bit Amazon Linux 2/3.3.12
I'm using aws-sdk-php-symfony on sf 3.4.4 everything worked fine until I had to point to another sqs account.
In the new account I have created the credentials and I have specified right region but I get this error:
Error executing "SendMessageBatch" on "https://sqs.eu-west-1.amazonaws.com/0000000000/queue";
AWS HTTP error: Client error: `POST https://sqs.eu-west-1.amazonaws.com/0000000000/queue` resulted
in a `403 Forbidden` response:
<?xml version="1.0"?><ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><Error><Type>Sender</Type><Code>
I (truncated...)
InvalidClientTokenId (client): The security token included in the request is invalid.
- <?xml version="1.0"?><ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/">
<Error><Type>Sender</Type><Code>InvalidClientTokenId</Code><Message>The security token included
in the request is invalid.</Message><Detail/></Error><RequestId>f476a7e3-b735-5ee2-ad8b-f4f364d4285a</RequestId>
</ErrorResponse>
If you use this bundle, nothing will be logged.
I'd like the to configure guzzles logger by default.
You can configure it but it isn't too obvious:
aws:
version: latest
region: '%env(AWS_REGION)%'
http:
handler: '@aws.http_handler'
services:
aws.http_handler:
class: GuzzleHttp\HandlerStack
factory: [GuzzleHttp\HandlerStack, create]
calls:
- [push, ['@aws.http_logger']]
aws.http_logger:
class: Closure
factory: [GuzzleHttp\Middleware, log]
arguments:
- '@logger'
- '@aws.log_formatter'
tags:
- {name: monolog.logger, channel: aws}
aws.log_formatter:
class: GuzzleHttp\MessageFormatter
arguments:
- '{method} {uri} HTTP/{version} {code}'
This configuration doesn't validate though as the handler
option isn't defined here.
You can also the 8p/EightPointsGuzzleBundle and configure the http_handler
option (don't confuse it with the http.handler
option from above) to pass a preconfigured Guzzle instance.
aws/aws-sdk-php 3.133.40
aws/aws-sdk-php-symfony 2.2.1
?
bin/console --version
in project dir)?5.0.5
php -v
)?7.4
Hello.
When ./bin/console lint:container
Then Invalid service "doctrine.dbal.default_connection": method "Aws\Sdk::createRekognition()" does not exist.
.
Having doctrine and launch ./bin/console lint:container
Hi There,
I have installed AWS PHP SDK 3.X in a Word Press container. SDK integration works fine.. But some of the core Word Press features are broken and i have following error in logs:
[07-Nov-2018 14:54:53 UTC] PHP Fatal error: Uncaught InvalidArgumentException: Missing required client configuration options:
version: (string)
A "version" configuration value is required. Specifying a version constraint
ensures that your code will not be affected by a breaking change made to the
service. For example, when using Amazon S3, you can lock your API version to
"2006-03-01".
Your build of the SDK has the following version(s) of "s3": * "2006-03-01"
Few observations :
Here is some other information:
Please take a look and share your thoughts.
Thanks,
Ashwini
I have a difficulty passing the parameters to SesClient. At least that's what I believe given the error message. I tried countless configurations but I will forward only the one that seems correct to me.
composer show --installed
:
aws/aws-sdk-php 3.19.24 AWS SDK for PHP - Use Amazon Web Services in your PHP project
aws/aws-sdk-php-symfony 1.2.0 A Symfony bundle for v3 of the AWS SDK for PHP
--- more ---
In my config.yml
I have :
aws:
key: myKey
secret: topSecret
region: eu-west-1
version: latest
In my services.yml
I have:
services:
aws.ses:
class: Aws\Ses\SesClient
arguments:
- [key, secret, region, version]
In my src/AppBundle/Controller/AwsController.php
:
class AwsController extends Controller
{
/**
* @Route("/aws", name="aws")
*/
public function awsAction()
{
$mailer = $this->get('aws.ses');
return new Response ("");
}
}
But I get this error:
Missing required client configuration options:
region: (string)
A "region" configuration value is required for the "email" service
(e.g., "us-west-2"). A list of available public regions and endpoints can be
found at http://docs.aws.amazon.com/general/latest/gr/rande.html.
version: (string)
A "version" configuration value is required. Specifying a version constraint
ensures that your code will not be affected by a breaking change made to the
service. For example, when using Amazon S3, you can lock your API version to
"2006-03-01".
Your build of the SDK has the following version(s) of "email": * "2010-12-01"
You may provide "latest" to the "version" configuration value to utilize the
most recent available API version that your client's API provider can find.
Note: Using 'latest' in a production application is not recommended.
A list of available API versions can be found on each client's API documentation
page: http://docs.aws.amazon.com/aws-sdk-php/v3/api/index.html. If you are
unable to load a specific API version, then you may need to update your copy of
the SDK.
Any ideas on what am I missing?
I get this error after attempting to install (Symfony version 2.7.7):
[InvalidArgumentException]
Missing required client configuration options:
version: (string)
A "version" configuration value is required. Specifying a version constraint
ensures that your code will not be affected by a breaking change made to the
service. For example, when using Amazon S3, you can lock your API version to
"2006-03-01".
Your build of the SDK has the following version(s) of "s3": * "2006-03-01"
You may provide "latest" to the "version" configuration value to utilize the
most recent available API version that your client's API provider can find.
Note: Using 'latest' in a production application is not recommended.
A list of available API versions can be found on each client's API documentation
page: http://docs.aws.amazon.com/aws-sdk-php/v3/api/index.html. If you are
unable to load a specific API version, then you may need to update your copy of
the SDK.
$ php -v
PHP 5.5.9-1ubuntu4.13 (cli) (built: Sep 29 2015 15:24:49)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
The composer.json file has "aws/aws-sdk-php
": "^3.2.6" however the latest version of the actual SDK is "3.69.6" !! Can we get this updated?
If I have two files in a typical flex application, config/packages/aws.yaml
and config/packages/dev/aws.yaml
, I'd expect anything in dev/aws.yaml
to be merged into aws.yaml
. Instead it completely replaces it:
aws:
region: eu-west-1
credentials: ~
version: latest
retries: 5
aws:
retries: 10
./bin/console debug:config aws --env=dev
aws:
region: eu-west-1
credentials: ~
version: latest
retries: 10
./bin/console debug:config aws --env=dev
aws:
retries: 10
Because aws
node is a variable
node (see here), the configs aren't merged as normally expected with bundles, but completely replaced.
Either we should come up with a way to merge the configurations, or perhaps just document the behaviour somewhere?
composer show | grep aws
aws/aws-sdk-php 3.69.9
aws/aws-sdk-php-symfony v2.0.0
Thank you.
I tried the following
aws:
version: latest
region: eu-west-2
credentials:
key: "%aws_s3_credentials_key%"
secret: "%aws_s3_credentials_secret%"
s3:
region: eu-west-2
glacier:
region: eu-west-1
But the region for my glacier service still is eu-west-2 :(
Your requirements ~6.0 is not semantic. Add support for newer symfony minor versions please
Support symfony ^6.0
~6.0, doesn't support newer minor versions
Require symfony ^6.0 packages
No response
No response
2.5
all
Hi there,
Symfony 7 was released recently, and it would be super awesome if this package's composer.json file could also be updated with v7 support.
Thank you for a really great package by the way -- it's very very nice!
Symfony 7 is the latest major update to the framework, and without subsequent updates to packages such as this one, it means users of those packages cannot update their software accordingly.
Update references to symfony pacakges to include v7 in the composer.json file.
No response
latest
OSX, latest
Please fill out the sections below to help us address your issue.
aws/aws-sdk-php 3.133.26
aws/aws-sdk-php-symfony 1.3.0
bin/console --version
in project dir)?Symfony 3.4.38
php -v
)?PHP 7.3.13
Unable to configure the cache for the client credentials
N/A
I'm trying to configure caching the client credentials using the DoctrineCacheAdaptor, but I am unable to get the cache to be used. All requests are still accessing the credentials each time the command is run.
(We swap credential providers on production, thus why we have 2 different configurations, but neither are using the cache.)
// config.yml
aws:
version: latest
region: ap-southeast-2
credentials: "@aws_credentials"
sqs:
credentials: "@aws_cache_credentials"
//services.yml
aws_cache_credentials:
class: Aws\DoctrineCacheAdapter
lazy: true
arguments:
- "@doctrine_cache.providers.apcu"
aws_credentials: aws_token_credentials
aws_token_credentials:
class: Aws\Credentials\Credentials
lazy: true
arguments:
- "%aws_credentials_key%"
- "%aws_credentials_secret%"
aws_instance_profile_credentials:
class: Aws\Credentials\InstanceProfileProvider
lazy: true
The SQS Client is only using the default credentials, not the cache provider.
Method "Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder()" might add "TreeBuilder" as a native return type declaration in the future. Do the same in implementation "Limenius\ReactBundle\DependencyInjection\Configuration" now to avoid errors or add an explicit @return annotation to suppress this message.
Always time
show deprecation message
upgrade you project for Symfony 5.4 / 6.0
No response
No response
2.5.0
MacOS
In the readme it makes a quick reference to instance profiles & EC2's IMDS.
how do I use AWS environment variables to run Symfony as an AWS role?
is it still credentials: ~
? is it unsupported?
I expect to be able to have the key and ID be blank and have the SDK work like every other AWS SDK.
Cannot autowire service "App\Service\Aws": argument "$access_key" of method "__construct()" has no type-hint, you should configure its value explicitly.
leave the AWS autowire/configuration sections blank.
documentation updates, and a default method for when the config is blank to use the SDK's autoresolve.
No response
3.187.3
Fedora Linux
I'm trying to use "endpoint_provider" . I have defined a service and a static function
`
app\config\services.yml
services:
aws_s3.client:
class: Aws\S3\S3Client
factory_class: Aws\S3\S3Client
factory_method: 'factory'
arguments:
options:
region: %aws.region%
version: %aws.version%
base_url: %aws.base_url%
endpoint_provider: MyApp\PromoBundle\EndpointProvider::getEndPoint
credentials:
key: %aws.key%
secret: %aws.secret%`
`src\MyApp\PromoBundle\EndPointProvider.php
$params['region'] . '.example.com']; } } ` ` composer.json { "require": { ... "aws/aws-sdk-php-symfony": "~1.0" } }` When I try to run the app always I get the same error: > PHP Fatal error: Call to undefined function MyApp\PromoBundle\EndpointProvider::getEndPoint() in \vendor\aws\aws-sdk-php\src\Endpoint\EndpointProvider.php on line 60 Can help me? RegardsI think the quick fix would be to declare that it depends on Symfony 2.5 or later.
The error is:
PHP Fatal error: Call to undefined method Symfony\Component\DependencyInjection\Definition::setFactory() in /home/travis/build/kaliop-uk/kueueingbundle-kinesis/vendor/aws/aws-sdk-php-symfony/src/DependencyInjection/AwsExtension.php on line 53
You can see more in the Travis logs of this build: https://travis-ci.org/kaliop-uk/kueueingbundle-kinesis/jobs/78941465
Hi,
I've got a problem, i trying to delete an image uploaded on my bucket with this code :
if (($oldImageName = $user->getUserInfo()->getImageName()) != "" && $this->s3->doesObjectExist('myBucket', $oldImageName)) {
$this->s3->deleteObject([
'Bucket' => 'myBucket',
'Key' => $oldImageName
]);
}
But i receive a 403 Forbidden error. I succeed to upload images, fetch them but i can't delete them.
Do you know what's the problem ?
Thanks to the team !
After install aws/aws-sdk-php and aws/aws-sdk-php-symfony. How to get S3Client in Controller symfony. Pls help me. Thank
Given the updated directory structure, the packages-level configurations, and the bundle registration not being in AppKernel any longer, I propose we update the 2.0.0 Documentation to reflect these kinds of changes. We can have a <= 3.4 version of the documentation available as well (or inline, depending on preference).
If I get a few thumbs up, I can work on that.
if the project does not require the symfony/yaml
app with this bundle will fail to boot
one of these
exception thrown on app/kernel boot
create symfony starter project
configure it to use php configuration
remove symfony/yaml
install this bundle
dev can add the symfony/yaml
(even if the app itself has no need for it)
No response
bundle: 2.5.0
sdk: not explicitly specified (resolved by composer)
N/A
Hi, maybe you can create sample project, for understanding how to use symfony sdk
Please fill out the sections below to help us address your issue.
3.98.0
2.0.1
bin/console --version
in project dir)?4.3.3
php -v
)?7.1.28
When using any Symfony CLI command, every command is instantiated. If a command relies on a S3Client, the S3Client will be instantiated too, and this seems to use a lot of memory, because it is loading a huge json file.
Setting the service as lazy results in a 15% performance gain (thanks Blackfire).
I cant seem to install this on symfony version 3.2.8
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for aws/aws-sdk-php-symfony dev-master -> satisfiable by aws/aws-sdk-php-symfony[dev-master].
- aws/aws-sdk-php-symfony dev-master requires aws/aws-sdk-php ^3.2.6 -> satisfiable by aws/aws-sdk-php[3.10.0, 3.10.1, 3.11.0, 3.11.1, 3.11.2, 3.11.3, 3.11.4, 3.11.5, 3.11.6, 3.11.7, 3.12.0, 3.12.1, 3.12.2, 3.13.0, 3.13.1, 3.14.0, 3.14.1, 3.14.2, 3.15.0, 3.15.1, 3.15.2, 3.15.3, 3.15.4, 3.15.5, 3.15.6, 3.15.7, 3.15.8, 3.15.9, 3.16.0, 3.17.0, 3.17.1, 3.17.2, 3.17.3, 3.17.4, 3.17.5, 3.17.6, 3.18.0, 3.18.1, 3.18.10, 3.18.11, 3.18.12, 3.18.13, 3.18.14, 3.18.15, 3.18.16, 3.18.17, 3.18.18, 3.18.19, 3.18.2, 3.18.20, 3.18.21, 3.18.22, 3.18.23, 3.18.24, 3.18.25, 3.18.26, 3.18.27, 3.18.28, 3.18.29, 3.18.3, 3.18.30, 3.18.31, 3.18.32, 3.18.33, 3.18.34, 3.18.35, 3.18.36, 3.18.37, 3.18.38, 3.18.39, 3.18.4, 3.18.5, 3.18.6, 3.18.7, 3.18.8, 3.18.9, 3.19.0, 3.19.1, 3.19.10, 3.19.11, 3.19.12, 3.19.13, 3.19.14, 3.19.15, 3.19.16, 3.19.17, 3.19.18, 3.19.19, 3.19.2, 3.19.20, 3.19.21, 3.19.22, 3.19.23, 3.19.24, 3.19.25, 3.19.26, 3.19.27, 3.19.28, 3.19.29, 3.19.3, 3.19.30, 3.19.31, 3.19.32, 3.19.33, 3.19.4, 3.19.5, 3.19.6, 3.19.7, 3.19.8, 3.19.9, 3.2.6, 3.20.0, 3.20.1, 3.20.10, 3.20.11, 3.20.12, 3.20.13, 3.20.14, 3.20.15, 3.20.16, 3.20.2, 3.20.3, 3.20.4, 3.20.5, 3.20.6, 3.20.7, 3.20.8, 3.20.9, 3.21.0, 3.21.1, 3.21.2, 3.21.3, 3.21.4, 3.21.5, 3.21.6, 3.22.0, 3.22.1, 3.22.10, 3.22.11, 3.22.2, 3.22.3, 3.22.4, 3.22.5, 3.22.6, 3.22.7, 3.22.8, 3.22.9, 3.23.0, 3.23.1, 3.23.2, 3.23.3, 3.24.0, 3.24.1, 3.24.2, 3.24.3, 3.24.4, 3.24.5, 3.24.6, 3.24.7, 3.24.8, 3.24.9, 3.25.0, 3.25.1, 3.25.2, 3.25.3, 3.25.4, 3.25.5, 3.25.6, 3.25.7, 3.25.8, 3.26.0, 3.26.1, 3.26.2, 3.26.3, 3.26.4, 3.26.5, 3.27.0, 3.27.1, 3.27.2, 3.27.3, 3.27.4, 3.27.5, 3.28.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8, 3.4.0, 3.4.1, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.8.1, 3.8.2, 3.9.0, 3.9.1, 3.9.2, 3.9.3, 3.9.4] but these conflict with your requirements or minimum-stability.
I'm using the DynamoDB Session Handler in the PHP SDK in Symfony. To do this, I include this bundle and setup my own Session Handler in Symfony.
However, in doing so, I get the following deprecation notice on any and all requests:
Autowiring services based on the types they implement is deprecated since Symfony 3.3 and won't be supported in version 4.0. You should rename (or alias) the "aws.dynamodb" service to "Aws\DynamoDb\DynamoDbClient" instead.
I guess this is due to the way the compiler pass works? Anything I can do to silence these deprecations?
Thanks.
Package exist "pmill/aws-cognito" for providing some basic function to work with aws sdk and cognito but it does not seem to be maintained regularly.
If we can have implementation for it inside this package it will be easier to maintain projects which are using cognito and have up to date functions for it.
It's totaly impossible change ̀signature_version` in this bundle .
I need change for v4
https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#signature-version
Hi all, I have placed my aws credentials in the .env.local file of my Symfony app but when I try to use the S3 client I get the error Cannot read credentials from /Users//.aws/credentials, which suggests to me that it's not finding my .env.local values, even though I have verified the env values are present by running ./bin/console debug:container --env-vars
I've tried pushing bulk payloads using sendMessageBatch and it pushed after that throws an exception
InvalidArgumentException {#17
#message: """
Found 1 error while validating the input provided for the SendMessageBatch operation:
[Entries][0] must be an associative array. Found array(6)
"""
#code: 0
#file: "[/var/www/html/vendor/aws/aws-sdk-php/src/Api/Validator.php](https://my-dev-local.insead.edu/_profiler/open?file=vendor/aws/aws-sdk-php/src/Api/Validator.php&line=65#line65)"
#line: 65
I've seen my message into the queue via my console web so I don't know why its throw this exception and its works fine with same payload when I've used sendMessage
its strange behavior of it
pushing without expcetions
sendMessageBatch throws an exception after push messages
public function sendMessages(array $payload)
{
$result = $this->client->sendMessageBatch($payload);
$failed = $result->get('Failed');
if (!empty($failed)) {
foreach ($failed as $failure) {
echo "Failed sending message: {$failure['Id']}, Code: {$failure['Code']}, Message: {$failure['Message']}\n";
}
}
if (!empty($result->get('Successful'))) {
foreach ($result->get('Successful') as $value) {
echo "Successful sending message: {$value['Id']}\n<br/>";
}
}
}
No response
No response
2.6.1
ubuntu 20
Hello,
May this is not the right position to ask such a question, but I have tried and searched How to authenticate a signed-in user but I did not find a clear sheet about this issue. And may I can get some help from you.
I installed this SDK successfully and I created my S3Client object succeffully. But I want to use S3Client obj to authenticate a signed-in users (from cognito users-pool), is that possible OR should I use kind of JS-SDK for this issue?
Do you have a concreted example how to?
Best regards,
Please fill out the sections below to help us address your issue.
2.2.2
bin/console --version
in project dir)?5.3.2
php -v
)?8.0.7
2.2.2
10:34:40 WARNING [app] Failed to generate ConfigBuilder for extension Aws\Symfony\DependencyInjection\AwsExtension. ["exception" => LogicException { …},"extensionClass" => "Aws\Symfony\DependencyInjection\AwsExtension"]
composer req aws/aws-sdk-php-symfony
bin/console cache:clear -v
Hello,
using your bundle and also symfony/phpunit-bridge
I am having tons of the following warnings :
Symfony\Component\DependencyInjection\Definition::setFactoryService(aws_sdk) is deprecated since > version 2.6 and will be removed in 3.0. Use Definition::setFactory() instead: 58x
Do you plan updating the bundle to get rid of these warnings ?
Regards.
(PHP7.2, symfony 4.0)
Trying to install but returns the follow error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install symfony/dependency-injection v3.4.0
- Installation request for aws/aws-sdk-php-symfony ^1.3 -> satisfiable by aws/aws-sdk-php-symfony[1.3.0].
- Conclusion: remove symfony/console v4.0.0
- Installation request for symfony/dependency-injection (locked at v4.0.0) -> satisfiable by symfony/dependency-injection[v4.0.0].
- Conclusion: don't install symfony/console v4.0.0
- aws/aws-sdk-php-symfony 1.3.0 requires symfony/dependency-injection ~2.3|~3.0 -> satisfiable by symfony/dependency-injection[v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.35, v2.7.36, v2.7.37, v2.7.38, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.28, v2.8.29, v2.8.3, v2.8.30, v2.8.31, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9, v3.2.0, v3.2.1, v3.2.10, v3.2.11, v3.2.12, v3.2.13, v3.2.14, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7, v3.2.8, v3.2.9, v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0].
Installation failed, reverting ./composer.json to its original content.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.