Skip to content

Commit 6a7f4fd

Browse files
committed
wip
1 parent 7eb8a6c commit 6a7f4fd

File tree

6 files changed

+63
-53
lines changed

6 files changed

+63
-53
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: https://spatie.be/open-source/support-us

.github/workflows/run-tests.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: run-tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [ubuntu-latest, windows-latest]
12+
php: [7.4, 7.3, 7.2]
13+
laravel: [6.*, 7.*]
14+
dependency-version: [prefer-lowest, prefer-stable]
15+
include:
16+
- laravel: 7.*
17+
testbench: 5.*
18+
- laravel: 6.*
19+
testbench: 4.*
20+
21+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
22+
23+
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@v1
26+
27+
- name: Cache dependencies
28+
uses: actions/cache@v1
29+
with:
30+
path: ~/.composer/cache/files
31+
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
32+
33+
- name: Setup PHP
34+
uses: shivammathur/setup-php@v2
35+
with:
36+
php-version: ${{ matrix.php }}
37+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
38+
coverage: none
39+
40+
- name: Install dependencies
41+
run: |
42+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
43+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
44+
45+
- name: Execute tests
46+
run: vendor/bin/phpunit

.travis.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-pjax` will be documented in this file
44

5+
## 2.1.0 - 2020-03-09
6+
7+
- add support for Laravel 7
8+
59
## 2.0.3 - 2020-01-10
610

711
- change param to BaseResponse (#38)

README.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/spatie/laravel-pjax.svg?style=flat-square)](https://packagist.org/packages/spatie/laravel-pjax)
44
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
5-
[![Build Status](https://img.shields.io/travis/spatie/laravel-pjax/master.svg?style=flat-square)](https://travis-ci.org/spatie/laravel-pjax)
5+
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/spatie/laravel-pjax/run-tests?label=tests)
66
[![Quality Score](https://img.shields.io/scrutinizer/g/spatie/laravel-pjax.svg?style=flat-square)](https://scrutinizer-ci.com/g/spatie/laravel-pjax)
77
[![Total Downloads](https://img.shields.io/packagist/dt/spatie/laravel-pjax.svg?style=flat-square)](https://packagist.org/packages/spatie/laravel-pjax)
88

@@ -17,6 +17,12 @@ There's a [Vue-PJAX Adapter](https://github.com/riverskies/vue-pjax-adapter) equ
1717
Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source
1818
projects [on our website](https://spatie.be/opensource).
1919

20+
## Support us
21+
22+
We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).
23+
24+
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).
25+
2026
## Installation
2127

2228
You can install the package via composer:
@@ -77,14 +83,6 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
7783

7884
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
7985

80-
## Postcardware
81-
82-
You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.
83-
84-
Our address is: Spatie, Samberstraat 69D, 2060 Antwerp, Belgium.
85-
86-
We publish all received postcards [on our company website](https://spatie.be/en/opensource/postcards).
87-
8886
## Credits
8987

9088
- [Freek Van der Herten](https://github.com/freekmurze)
@@ -94,13 +92,6 @@ The middleware in this package was originally written by [Jeffrey Way](https://t
9492
on [pjax](https://laracasts.com/lessons/faster-page-loads-with-pjax). His original code
9593
can be found [in this repo on GitHub](https://github.com/laracasts/Pjax-and-Laravel).
9694

97-
## Support us
98-
99-
Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects [on our website](https://spatie.be/opensource).
100-
101-
Does your business depend on our contributions? Reach out and support us on [Patreon](https://www.patreon.com/spatie).
102-
All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.
103-
10495
## License
10596

10697
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@
1818
],
1919
"require": {
2020
"php": "^7.2",
21-
"illuminate/support": "^5.1|^6.0",
22-
"illuminate/http": "^5.1|^6.0",
23-
"symfony/dom-crawler": "^2.7|^3.0|^4.0|^5.0",
24-
"symfony/css-selector": "^2.7|^3.0|^4.0|^5.0"
21+
"illuminate/support": "^6.0|^7.0",
22+
"illuminate/http": "^6.0|^7.0",
23+
"symfony/dom-crawler": "^4.0|^5.0",
24+
"symfony/css-selector": "^4.0|^5.0"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^8.3.5",
28-
"scrutinizer/ocular": "~1.1"
27+
"phpunit/phpunit": "^9.0"
2928
},
3029
"autoload": {
3130
"psr-4": {

0 commit comments

Comments
 (0)