Skip to content
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

Drop SF 4 and add SF 7 support #35

Merged
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
23 changes: 7 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,15 @@ Install via Composer:
$ composer require isometriks/spam-bundle
```

Use `~0.3.0` for Symfony 2.3-2.7, or `~1.0` for 3+

Add to AppKernel.php (done automatically for Symfony Flex):
If you're not using Symfony Flex, add the bundle to your `config/bundles.php` file:

```php
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = [
// ...
new Isometriks\Bundle\SpamBundle\IsometriksSpamBundle(),
// ...
];

return $bundles;
}
}
// config/bundles.php

return [
// ...
Isometriks\Bundle\SpamBundle\IsometriksSpamBundle::class => ['all' => true],
];
```

Currently we have:
Expand Down
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"name": "isometriks/spam-bundle",
"description": "Provides spam protection for Symfony3 forms",
"keywords": ["spam", "symfony3"],
"description": "Provides spam protection for Symfony forms",
"keywords": ["spam", "symfony", "form", "bundle"],
"require": {
"php": ">=7.4",
"symfony/config": "^4.4 || ^5.4 || ^6.0",
"symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0",
"symfony/event-dispatcher": "^4.4 || ^5.4 || ^6.0",
"symfony/form": "^4.4 || ^5.4 || ^6.0",
"symfony/http-foundation": "^4.4 || ^5.4 || ^6.0",
"symfony/http-kernel": "^4.4 || ^5.4 || ^6.0",
"symfony/options-resolver": "^4.4 || ^5.4 || ^6.0",
"symfony/config": "^5.4 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
"symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
"symfony/form": "^5.4 || ^6.0 || ^7.0",
"symfony/http-foundation": "^5.4 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
"symfony/options-resolver": "^5.4 || ^6.0 || ^7.0",
"symfony/translation-contracts": "1.0 || ^2.0 || ^3.0",
"symfony/framework-bundle": "^4.4 || ^5.4 || ^6.0"
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0"
},
"require-dev": {
"symfony/phpunit-bridge": "^4.4 || ^5.4 || ^6.0",
"symfony/yaml": "^4.4 || ^5.4 || ^6.3"
"symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0",
"symfony/yaml": "^5.4 || ^6.0 || ^7.0"
},
"authors": [
{
Expand Down