Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cartalyst/stripe-laravel
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.0.1
Choose a base ref
...
head repository: cartalyst/stripe-laravel
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 16.x
Choose a head ref

Commits on Jul 9, 2015

  1. Bump version.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 9, 2015
    Copy the full SHA
    bc0328c View commit details

Commits on Jan 18, 2016

  1. Merge 4.0 branch.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jan 18, 2016
    Copy the full SHA
    b8218f0 View commit details

Commits on Feb 12, 2016

  1. Merge 4.0 branch.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Feb 12, 2016
    Copy the full SHA
    b4def1e View commit details

Commits on Apr 27, 2016

  1. Update changelog.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Apr 27, 2016
    Copy the full SHA
    dc236eb View commit details
  2. Merge 4.0 branch.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Apr 27, 2016
    Copy the full SHA
    65a097a View commit details

Commits on Aug 28, 2016

  1. Bump version.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 28, 2016
    Copy the full SHA
    01f0ce4 View commit details

Commits on Oct 28, 2016

  1. Laravel 5.4 support.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Oct 28, 2016
    Copy the full SHA
    d295d15 View commit details
  2. Five point 4, five point 4 :)

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Oct 28, 2016
    Copy the full SHA
    1214424 View commit details
  3. Minor readme tweaks.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Oct 28, 2016
    Copy the full SHA
    1bf7a3c View commit details
  4. Update composer branch alias.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Oct 28, 2016
    Copy the full SHA
    a493f6b View commit details

Commits on Jan 24, 2017

  1. Bump copyright year.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jan 24, 2017
    Copy the full SHA
    5d70734 View commit details
  2. Bump version.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jan 24, 2017
    Copy the full SHA
    0c59e74 View commit details

Commits on Jun 18, 2017

  1. Copy the full SHA
    bcffff3 View commit details

Commits on Jul 6, 2017

  1. Merge pull request #24 from GrahamCampbell/patch-2

    Allow any 2.x cartalyst/stripe on v5
    brunogaspar authored Jul 6, 2017
    Copy the full SHA
    323d673 View commit details
  2. chore: Bump year on copyright notices.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 6, 2017
    Copy the full SHA
    669c6ae View commit details
  3. chore: Bump version.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 6, 2017
    Copy the full SHA
    11eb7fa View commit details
  4. Merge 5.0 branch.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 6, 2017
    Copy the full SHA
    c7bea0f View commit details
  5. chore: Bump version.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 6, 2017
    Copy the full SHA
    c269fce View commit details
  6. chore: Support for Laravel 5.5.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 6, 2017
    Copy the full SHA
    d8d2114 View commit details
  7. chore: Remove PHP 5.6 & HHVM support from travis.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 6, 2017
    Copy the full SHA
    5e6e694 View commit details
  8. chore: Update branch alias.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 6, 2017
    Copy the full SHA
    7301f80 View commit details
  9. chore: Update readme.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 6, 2017
    Copy the full SHA
    5b3db82 View commit details
  10. chore: Update minimum stability, for now.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 6, 2017
    Copy the full SHA
    aa0e0af View commit details

Commits on Jul 9, 2017

  1. chore: Add package auto discovery.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 9, 2017
    Copy the full SHA
    7997f68 View commit details
  2. fix: Facade test.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Jul 9, 2017
    Copy the full SHA
    8fceb2d View commit details

Commits on Aug 30, 2017

  1. chore: Bump version.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 30, 2017
    Copy the full SHA
    8b74bef View commit details

Commits on Sep 7, 2017

  1. chore: Support for Laravel 5.6.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Sep 7, 2017
    Copy the full SHA
    981957f View commit details
  2. chore: Update changelog.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Sep 7, 2017
    Copy the full SHA
    89fcbef View commit details

Commits on Feb 7, 2018

  1. chore: Version 8.0 release.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Feb 7, 2018
    Copy the full SHA
    ca2c27c View commit details
  2. chore: Update travis file.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Feb 7, 2018
    Copy the full SHA
    34cd496 View commit details

Commits on Mar 4, 2018

  1. chore: Update version on copyright headers.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Mar 4, 2018
    Copy the full SHA
    2d07e05 View commit details
  2. chore: Support for Laravel 5.7.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Mar 4, 2018
    Copy the full SHA
    b66da87 View commit details

Commits on Sep 23, 2018

  1. chore: Version 9.0 release.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Sep 23, 2018
    Copy the full SHA
    1796f9f View commit details
  2. chore: Support for Laravel 5.8.

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Sep 23, 2018
    Copy the full SHA
    50ec47d View commit details

Commits on Mar 2, 2019

  1. chore: Version 10.0 release

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Mar 2, 2019
    Copy the full SHA
    52188fe View commit details

Commits on Aug 4, 2019

  1. chore: Add .github directory

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    ed0837d View commit details
  2. chore: Update .gitattributes and .gitignore files

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    5ebfba8 View commit details
  3. chore: Update composer.json file for consistency

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    982137c View commit details
  4. chore: Add PHP CS Fixer package

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    08702f3 View commit details
  5. chore: Bump PHP to 7.2

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    f68141a View commit details
  6. chore: Bump PHPUnit to 8.0

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    7372f15 View commit details
  7. chore: Update tests

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    cdc3c2c View commit details
  8. chore: CS Fixes

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    e9f41b8 View commit details
  9. chore: Add composer scripts

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    9685817 View commit details
  10. chore: Bump to Laravel 6.0

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    b5a59e3 View commit details
  11. chore: Update CHANGELOG.md file for consistency

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    e1e19bc View commit details
  12. chore: Update README.md file for consistency

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    901531c View commit details
  13. chore: Bump version

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 4, 2019
    Copy the full SHA
    d2ebdf4 View commit details

Commits on Aug 30, 2019

  1. chore: Release v11.0.0

    Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
    brunogaspar committed Aug 30, 2019
    Copy the full SHA
    c4172bf View commit details

Commits on Dec 19, 2019

  1. chore: Test on PHP 7.4 (#58)

    GrahamCampbell authored and brunogaspar committed Dec 19, 2019
    Copy the full SHA
    0675720 View commit details
16 changes: 9 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
* text=auto

/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/CHANGELOG.md export-ignore
/CONTRIBUTING.md export-ignore
/README.md export-ignore
/phpunit.xml export-ignore
/.github export-ignore
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs.php export-ignore
/.travis.yml export-ignore
/phpunit.xml export-ignore
/CHANGELOG.md export-ignore
/README.md export-ignore
76 changes: 76 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies within all project spaces, and it also applies when
an individual is representing the project or its community in public spaces.
Examples of representing a project or community include using an official
project e-mail address, posting via an official social media account, or acting
as an appointed representative at an online or offline event. Representation of
a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
97 changes: 97 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# Contribution Guide

All contributions (in the form of pull requests, issues and proposals) are always welcomed.
Please see the [contributors page](../../graphs/contributors) for a list of all contributors.

Please check below the standards and practices that this project adheres to.

## Etiquette

This project is open source, and as such, the maintainers give their free time to build and maintain the source code held within. They make the code freely available in the hope that it will be of use to other developers. It would be extremely unfair for them to suffer abuse or anger for their hard work.

Please be considerate towards maintainers when raising issues or presenting pull requests. Let's show the world that developers are civilized and selfless people.

It's the duty of the maintainer to ensure that all submissions to the project are of sufficient quality to benefit the project. Many developers have different skillsets, strengths, and weaknesses. Respect the maintainer's decision, and do not be upset or abusive if your submission is not used.

## Versioning

This package is versioned under the [Semantic Versioning][link-semver] guidelines as much as possible.

Releases will be numbered with the following format:

`<major>.<minor>.<patch>`

And constructed with the following guidelines:

* Breaking backward compatibility bumps the major and resets the minor and patch.
* New additions without breaking backward compatibility bumps the minor and resets the patch.
* Bug fixes and misc changes bumps the patch.

## Coding Standards

This package is compliant with the [PSR-1][link-psr-1], [PSR-2][link-psr-2] and [PSR-4][link-psr-4].
If you notice any compliance oversights, please send a patch via pull request.

## Issues \ Bugs

If you believe you've found a bug on this project, but you're not sure how to fix it, you may create an issue with `[Bug]` prefixed in the title.

### Procedure

Before filing an issue:

- Attempt to replicate the problem, to ensure that it wasn't a coincidental incident.
- Check the issues tab to ensure that the bug was not already reported.
- Check the pull requests tab to ensure that the bug doesn't have a fix in progress.

### Which Branch?

**ALL** bug fixes should be made to the branch which they belong to. Bug fixes should never be sent to the `master` branch unless they fix features that exist only in the upcoming release.

If a bug is found on a `minor` version `1.1` and it exists on the `major` version `1.0`, the bug fix should be sent to the `1.0` branch which will be afterwards merged into the `1.1` branch.

> **Note:** Pull requests which do not follow these guidelines will be closed without any further notice.
## Proposals

If you have a proposal or a feature request, you may create an issue with `[Proposal]` prefixed in the title.

The proposal should also describe the new feature, as well as implementation ideas.
The proposal will then be reviewed and either approved or denied. Once a proposal is approved, a pull request may be created implementing the new feature.

> When requesting or submitting new features, first consider whether it might be useful to others. Open source projects are used by many developers, who may have entirely different needs to your own. Think about whether or not your feature is likely to be used by other users of the project.
### Procedure

Before create a feature request:

- Check the codebase to ensure that your feature doesn't already exist.
- Check the issues tab to ensure that the feature request was not requested already.
- Check the pull requests tab to ensure that the feature isn't already in progress.

## Running Tests

You will need an install of [Composer](https://getcomposer.org) before continuing.

First, install the dependencies:

```bash
$ composer install
```

Then run phpunit:

```bash
$ vendor/bin/phpunit
```

If the test suite passes on your local machine you should be good to go.

When you make a pull request, the tests will automatically be run again by [Travis CI][link-travis] on multiple php versions.


[link-semver]: http://semver.org
[link-travis]: https://travis-ci.com
[link-psr-1]: http://www.php-fig.org/psr/psr-1/
[link-psr-2]: http://www.php-fig.org/psr/psr-2/
[link-psr-4]: http://www.php-fig.org/psr/psr-4/
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/1_bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Bug Report
about: Report errors and problems
labels: bug
---

### Your Environment

- OS and Version: #.#.#
- PHP Version: #.#.#
- Stripe Laravel Version: #.#.#

### Expected behaviour

*Please describe what you are expecting to see happening.*

### Actual behaviour

*Please describe what is actually happening.*

### Steps to reproduce

*If your issue requires any specific steps to reproduce, please outline them here.*
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/2_feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Feature Request
about: Suggest ideas for new features and improvements
labels: enhancement
---

## Description

*Describe the idea in a clear and concise way.*

## Example

*Leave an example of the possible implementation.*
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/.phpunit.cache
/build
/vendor
composer.phar
composer.lock
.DS_Store
/composer.lock
26 changes: 26 additions & 0 deletions .php_cs.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

// Directories to not scan
$excludeDirs = [
'vendor/',
];

// Files to not scan
$excludeFiles = [];

// Create a new Symfony Finder instance
$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude($excludeDirs)
->ignoreDotFiles(true)->ignoreVCS(true)
->filter(function (\SplFileInfo $file) use ($excludeFiles) {
return ! in_array($file->getRelativePathName(), $excludeFiles);
})
;

return Cartalyst\PhpCsFixer\Config::create()
->setFinder($finder)
->setUsingCache(false)
->setRiskyAllowed(true)
->withPHPUnitRules()
;
20 changes: 6 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,17 @@
language: php

php:
- 5.5
- 5.6
- 7.0
- hhvm

matrix:
allow_failures:
- php: hhvm

sudo: false
- 8.1

cache:
directories:
- vendor
- $HOME/.composer/cache

before_install:
- phpenv config-rm xdebug.ini || true

install:
- composer install
- travis_retry composer install

script:
- if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpunit --coverage-text; fi
- vendor/bin/phpunit
Loading