Skip to content

Laravel 7 Support #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 39 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,50 @@
dist: trusty

language: php

php:
- 5.5.9
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- hhvm
- nightly
cache:
directories:
- $HOME/.composer/cache/files

sudo: false
language: php

matrix:
allow_failures:
- php: hhvm
- php: nightly

include:
- php: 5.5.9
env: LARAVEL="5.1.*" LUMEN="5.1.*"
- php: hhvm-3.18
env: LARAVEL="5.1.*" LUMEN="5.1.*"
- php: 7.0
env: LARAVEL="5.5.*" LUMEN="5.5.*"
- php: 7.1
env: LARAVEL="^5.5" LUMEN="^5.5"
- php: 7.2
env: LARAVEL="^5.5" LUMEN="^5.5"
- php: 7.2
env: LARAVEL="^6.0" LUMEN="^6.0"
- php: 7.2
env: LARAVEL="^7.0" LUMEN="^7.0@dev"
- php: 7.3
env: LARAVEL="^6.0" LUMEN="^6.0"
- php: 7.3
env: LARAVEL="^7.0" LUMEN="^7.0@dev"
- php: 7.4
env: LARAVEL="^6.0" LUMEN="^6.0"
- php: 7.4
env: LARAVEL="^7.0" LUMEN="^7.0@dev"
- php: nightly
env: LARAVEL="^6.0" LUMEN="^6.0"
- php: nightly
env: LARAVEL="^7.0" LUMEN="^7.0@dev"

before_install:
- echo "memory_limit=3G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

install:
- if [ ${TRAVIS_PHP_VERSION} == "5.5.9" ]; then
travis_retry composer require laravel/framework "5.2.*";
elif [ ${TRAVIS_PHP_VERSION} == "5.6" ]; then
travis_retry composer require laravel/framework "5.4.*";
elif [ ${TRAVIS_PHP_VERSION} == "7.0" ]; then
travis_retry composer require laravel/framework "5.5.*";
else
travis_retry composer update --no-interaction --prefer-source;
fi
- echo "memory_limit=3G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

script: make test
script:
- travis_retry composer require laravel/framework:${LARAVEL} --no-interaction --prefer-dist
- vendor/bin/phpunit
- composer remove laravel/framework
- rm composer.lock
- travis_retry composer require laravel/lumen-framework:${LUMEN} --no-interaction --prefer-dist
- vendor/bin/phpunit
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ test-lumen:

remove-deps:
rm -rf vendor
rm composer.lock

uninstall-laravel: remove-deps
uninstall-laravel:
make remove-deps
composer remove laravel/framework
composer remove illuminate/support
make remove-deps

uninstall-lumen: remove-deps
uninstall-lumen:
make remove-deps
composer remove laravel/lumen-framework
composer remove illuminate/support
make remove-deps

# Ensures that the TAG variable was passed to the make command
check-tag:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AWS Service Provider for Laravel 5
# AWS Service Provider for Laravel 5/6/7

[![@awsforphp on Twitter](http://img.shields.io/badge/twitter-%40awsforphp-blue.svg?style=flat)](https://twitter.com/awsforphp)
[![Build Status](https://img.shields.io/travis/aws/aws-sdk-php-laravel.svg)](https://travis-ci.org/aws/aws-sdk-php-laravel)
Expand All @@ -14,7 +14,7 @@ PHP and Laravel 5.1.

**Major Versions:**

* **3.x** (YOU ARE HERE) - For `laravel/framework:~5.1|~6.0` and `aws/aws-sdk-php:~3.0`
* **3.x** (YOU ARE HERE) - For `laravel/framework:~5.1|~6.0|~7.0` and `aws/aws-sdk-php:~3.0`
* **2.x** ([2.0 branch](https://github.com/aws/aws-sdk-php-laravel/tree/2.0)) - For `laravel/framework:5.0.*` and `aws/aws-sdk-php:~2.4`
* **1.x** ([1.0 branch](https://github.com/aws/aws-sdk-php-laravel/tree/1.0)) - For `laravel/framework:4.*` and `aws/aws-sdk-php:~2.4`

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "aws/aws-sdk-php-laravel",
"homepage": "http://aws.amazon.com/sdkforphp2",
"description": "A simple Laravel 5 service provider for including the AWS SDK for PHP.",
"keywords": ["laravel", "laravel 5", "aws", "amazon", "sdk", "s3", "ec2", "dynamodb"],
"description": "A simple Laravel 5/6/7 service provider for including the AWS SDK for PHP.",
"keywords": ["laravel", "laravel 5", "laravel 6", "laravel 7", "aws", "amazon", "sdk", "s3", "ec2", "dynamodb"],
"type":"library",
"license":"Apache-2.0",
"authors":[
Expand All @@ -14,11 +14,11 @@
"require": {
"php": ">=5.5.9",
"aws/aws-sdk-php": "~3.0",
"illuminate/support": "~5.1|~6.0"
"illuminate/support": "^5.1 || ^6.0 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0|~5.0",
"vlucas/phpdotenv": "~2.0|~3.0"
"phpunit/phpunit": "^4.0 || ^5.0",
"vlucas/phpdotenv": "^1.0 || ^2.0 || ^3.0 || ^4.0"
},
"suggest": {
"laravel/framework": "To test the Laravel bindings",
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy