No description
  • PHP 74.5%
  • Kotlin 9.4%
  • JavaScript 8.1%
  • Swift 8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-06 18:12:29 +01:00
resources Initial Commit 2026-03-06 18:08:05 +01:00
src Initial Commit 2026-03-06 18:08:05 +01:00
tests Initial Commit 2026-03-06 18:08:05 +01:00
.gitignore Initial Commit 2026-03-06 18:08:05 +01:00
composer.json Initial Commit 2026-03-06 18:08:05 +01:00
nativephp.json Initial Commit 2026-03-06 18:08:05 +01:00
README.md Add composer repository notice 2026-03-06 18:12:29 +01:00

Haptics Plugin for NativePHP Mobile

Better Haptics plugin

This Plugin is from the NativePHP Blog Post

Installation

Add following to your composer.json:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://git.cyanfox.de/CyanFox/Mobile/Plugins/Haptics"
        }
    ]
}

Then run:

composer require cyanfox/mobile-haptics

Usage

use Cyanfox\MobileHaptics\Facades\Haptics;

// Execute functionality
Haptics::impact();
Haptics::notification();

License

MIT