Skip to content

Commit 289dfdb

Browse files
authored
Merge pull request #1 from codebar-ag/feature-v1
Feature V1
2 parents 2fd37b0 + 9cdf010 commit 289dfdb

File tree

4 files changed

+34
-13
lines changed

4 files changed

+34
-13
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
matrix:
1515
# os: [ ubuntu-latest, windows-latest ]
1616
os: [ ubuntu-latest ]
17-
php: [ 8.1 ]
18-
laravel: [ 9.* ]
17+
php: [ 8.2 ]
18+
laravel: [ 10.* ]
1919
#stability: [ prefer-lowest, prefer-stable ]
2020
stability: [ prefer-stable ]
2121
include:
22-
- laravel: 9.*
23-
testbench: 7.*
22+
- laravel: 10.*
23+
testbench: 8.*
2424

2525
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2626

README.md

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
<img src="https://banners.beyondco.de/Laravel%20Flatfox.png?theme=light&packageManager=composer+require&packageName=codebar-ag%2Flaravel-flatfox&pattern=circuitBoard&style=style_2&description=A+Laravel+Flatfox+integration+to+receive+public+listings.&md=1&showWatermark=1&fontSize=150px&images=home&widths=500&heights=500">
2+
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/codebar-ag/laravel-flatfox.svg?style=flat-square)](https://packagist.org/packages/codebar-ag/laravel-flatfox)
4+
[![Total Downloads](https://img.shields.io/packagist/dt/codebar-ag/laravel-flatfox.svg?style=flat-square)](https://packagist.org/packages/codebar-ag/laravel-flatfox)
5+
[![run-tests](https://github.com/codebar-ag/laravel-flatfox/actions/workflows/run-tests.yml/badge.svg)](https://github.com/codebar-ag/laravel-flatfox/actions/workflows/run-tests.yml)
6+
[![PHPStan](https://github.com/codebar-ag/laravel-flatfox/actions/workflows/phpstan.yml/badge.svg)](https://github.com/codebar-ag/laravel-flatfox/actions/workflows/phpstan.yml)
7+
[![Check & fix styling](https://github.com/codebar-ag/laravel-flatfox/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/codebar-ag/laravel-flatfox/actions/workflows/php-cs-fixer.yml)
8+
9+
This package was developed to give you a quick start to receive public listings from the Flatfox API.
10+
11+
## 💡 What is Flatfox?
12+
13+
Flatfox is a web based portal whereh you can Search & advertise apartments for free.
14+
15+
## 🛠 Requirements
16+
17+
| Package | PHP | Laravel | Flatfox |
18+
|-----------|--------|------------------|-----------|
19+
| >v1.0 | >8.2 | > Laravel 10.0 ||
20+
21+
## ⚙️ Installation
22+
23+
You can install the package via composer:
24+
25+
```bash
26+
composer require codebar-ag/laravel-flatfox
27+
```
28+
129
## Usage
230

331
```php
@@ -13,13 +41,6 @@ Copy your own phpunit.xml-file.
1341
cp phpunit.xml.dist phpunit.xml
1442
```
1543

16-
Modify environment variables in the phpunit.xml-file:
17-
18-
```xml
19-
20-
<env name="FLATFOX_TOXEN" value="token"/>
21-
```
22-
2344
Run the tests:
2445

2546
```bash

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"guzzlehttp/guzzle": "^7.2",
2323
"illuminate/contracts": "^10.0",
2424
"sammyjo20/saloon": "^2.6",
25-
"sammyjo20/saloon-cache-plugin": "^2.1",
25+
"saloonphp/cache-plugin": "^2.1",
2626
"spatie/laravel-package-tools": "^1.9.2"
2727
},
2828
"require-dev": {

src/Response/PublicListing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Illuminate\Support\Collection;
88
use Saloon\Contracts\Response;
99

10-
class PublicListing
10+
final class PublicListing
1111
{
1212
public function __construct(
1313
public int $count,

0 commit comments

Comments
 (0)