diff --git a/.gitignore b/.gitignore index e43b0f9..6dbcbed 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,8 @@ +.idea +.vscode +/vendor +node_modules .DS_Store +.phpunit.result.cache +.phpunit.cache +composer.lock \ No newline at end of file diff --git a/README.md b/README.md index 52675e7..f99a05d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Wikilinks ![Statamic v5](https://img.shields.io/badge/statamic-v5-blue.svg?style=flat-square) -Wikilinks is an add-on for Statamic 5.x that enables Wiki style [links] in the content of your site. +Wikilinks is an add-on for Statamic that enables Wiki style [links] in the content of your site. It provides a simple modifier that seeks out any content wrapped in [braces] and automatically links it to other entries or pages with the same title (or other field of your choosing). diff --git a/composer.json b/composer.json index a51ad5b..b7bf3de 100644 --- a/composer.json +++ b/composer.json @@ -5,16 +5,8 @@ "Statamic\\Wikilinks\\": "src" } }, - "autoload-dev": { - "psr-4": { - "Statamic\\Wikilinks\\Tests\\": "tests" - } - }, "require": { - "statamic/cms": "^5.0" - }, - "require-dev": { - "orchestra/testbench": "^9.0" + "statamic/cms": "^5.0 || ^6.0" }, "config": { "allow-plugins": { diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 8bfaabe..c1a02bd 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -7,11 +7,6 @@ class ServiceProvider extends AddonServiceProvider { - public function bootAddon() - { - // - } - protected $modifiers = [ WikilinksModifier::class, ];