Skip to content

Commit

Permalink
Add forked dependency of mautic/api-library to allow this extension t…
Browse files Browse the repository at this point in the history
…o run on PHP 8 systems (see README for more information)
  • Loading branch information
Moongazer authored and ekkeguembel committed Aug 24, 2023
1 parent 8c024c3 commit 2a01bb6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Configuration/TCA/tx_mautic_domain_model_tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'default' => 'mimetypes-x-tx_marketingautomation_persona',
],
'hideTable' => true,
'rootLevel' => true,
'rootLevel' => 1,
'security' => [
'ignoreRootLevelRestriction' => true,
],
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ We currently support Mautic v4.
* **For TYPO3 v10 and v11 on PHP7, please use extension release 4.3.x**
* For TYPO3 v9, please use extension release 3.x

## ⚠️ IMPORTANT
> To install this extension on PHP 8 systems, you MUST add the following repository URL to your root `composer.json`:
```json
"repositories": [
{
"url": "https://github.com/Leuchtfeuer/api-library.git",
"type": "git"
}
]
```
> Than install the extension by running `composer require mautic/mautic-typo3`.
> The reason is that we have to use a forked version of `mautic/api-library` which is PHP 8 compatible, until an official
> library version for PHP 8 is released (It should come with the release of Mautic 5).
## Features
The Mautic TYPO3 extension has many features that allow you to integrate your marketing automation workflow in TYPO3.

Expand Down Expand Up @@ -87,3 +101,4 @@ You can contribute by making a pull request to the master branch of this reposit

## Questions or Suggestions?
You can always open an issue in this repository if you find a bug or have a feature request. Next to that you can also come visit us on Slack ([Mautic](https://www.mautic.org/slack) or [TYPO3](https://typo3.org/article/how-to-use-slack-in-the-typo3-community/)> in the channel `#typo3-mautic`.

8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
"docs": "https://docs.typo3.org/p/mautic/mautic-typo3/master/en-us/"
},
"require": {
"php": "<8.0",
"typo3/cms-core": "^10.4.2 || ^11.5",
"typo3/cms-extbase": "^10.4.2 || ^11.5",
"php": ">=8.0",
"typo3/cms-core": "^11.5",
"typo3/cms-extbase": "^11.5",
"leuchtfeuer/marketing-automation": "^1.3",
"mautic/api-library": "^3.1"
"mautic/api-library": "^4.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 2a01bb6

Please sign in to comment.