Files
laravel-cision-feed/composer.json
T
mathiaspalmqvist 392aec8529
Fix PHP code style issues / php-code-styling (push) Waiting to run
PHPStan / phpstan (push) Waiting to run
run-tests / P8.3 - L11.* - prefer-lowest - ubuntu-latest (push) Waiting to run
run-tests / P8.3 - L11.* - prefer-stable - ubuntu-latest (push) Waiting to run
run-tests / P8.4 - L11.* - prefer-lowest - ubuntu-latest (push) Waiting to run
run-tests / P8.4 - L11.* - prefer-stable - ubuntu-latest (push) Waiting to run
run-tests / P8.3 - L12.* - prefer-lowest - ubuntu-latest (push) Waiting to run
run-tests / P8.3 - L12.* - prefer-stable - ubuntu-latest (push) Waiting to run
run-tests / P8.4 - L12.* - prefer-lowest - ubuntu-latest (push) Waiting to run
run-tests / P8.4 - L12.* - prefer-stable - ubuntu-latest (push) Waiting to run
dependabot-auto-merge / dependabot (pull_request_target) Skipped
Fix packaging, timezone handling and HTML cleaning bugs
- Replace symfony 7.4.x-dev constraints with stable ranges so the
  package installs with minimum-stability stable
- Add the Cision facade referenced in composer.json and a config file
  (slug, timezone); the constructor now falls back to config('cision.slug')
- Convert feed timestamps with a real timezone instead of a hardcoded +2h,
  which was off by an hour during winter time
- Return false from fetchContent() when the request fails or the page
  has no article/heading, instead of throwing
- Fix italic paragraph detection, which never matched
- Fix literal '\n' in HtmlCleaner whitespace cleanup
- Normalize empty feed elements to empty strings
- Update README and add tests for the above
2026-11-11 20:37:05 +01:00

81 lines
2.4 KiB
JSON

{
"name": "mattitjaab/laravel-cision-feed",
"description": "Fetch and parse Cision press releases via RSS and article HTML in Laravel.",
"keywords": [
"laravel",
"cision",
"press releases",
"rss",
"html parsing",
"package"
],
"homepage": "https://github.com/mattitjaab/laravel-cision-feed",
"license": "MIT",
"authors": [
{
"name": "Mattitja AB",
"email": "hej@mattitja.se",
"role": "Developer"
}
],
"require": {
"php": "^8.3",
"illuminate/contracts": "^10.0 || ^11.0 || ^12.0",
"spatie/laravel-package-tools": "^1.16",
"symfony/css-selector": "^6.4 || ^7.0 || ^8.0",
"symfony/dom-crawler": "^6.4 || ^7.0 || ^8.0"
},
"require-dev": {
"orchestra/testbench": "^8.22 || ^9.0 || ^10.0",
"pestphp/pest": "^3.0",
"pestphp/pest-plugin-laravel": "^3.0",
"pestphp/pest-plugin-arch": "^3.0",
"laravel/pint": "^1.14",
"nunomaduro/collision": "^8.1 || ^7.10",
"larastan/larastan": "^2.9 || ^3.0",
"phpstan/phpstan-phpunit": "^1.3 || ^2.0",
"phpstan/phpstan-deprecation-rules": "^1.1 || ^2.0",
"phpstan/extension-installer": "^1.3 || ^2.0",
"spatie/laravel-ray": "^1.35"
},
"autoload": {
"psr-4": {
"Mattitja\\Cision\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Mattitja\\Cision\\Tests\\": "tests/",
"Workbench\\App\\": "workbench/app/"
}
},
"scripts": {
"test": "vendor/bin/pest",
"test-coverage": "vendor/bin/pest --coverage",
"analyse": "vendor/bin/phpstan analyse",
"format": "vendor/bin/pint"
},
"extra": {
"laravel": {
"providers": [
"Mattitja\\Cision\\CisionServiceProvider"
],
"aliases": {
"Cision": "Mattitja\\Cision\\Facades\\Cision"
}
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true,
"pestphp/pest-plugin": true
}
},
"support": {
"issues": "https://github.com/mattitjaab/laravel-cision-feed/issues",
"source": "https://github.com/mattitjaab/laravel-cision-feed"
},
"minimum-stability": "dev",
"prefer-stable": true
}