nostadt / share-url
Installs: 3 589
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=8.2
Requires (Dev)
- phpstan/phpstan: ^1.10.50
- phpunit/phpunit: ^11
This package is auto-updated.
Last update: 2024-11-17 19:44:36 UTC
README
This PHP package provides pure classes, to generate share-urls for social networks and messengers.
For an up-to-date list of supported targets have a look at the src-directory.
Q/A
When should I use this package?
Use this package if you want to generate urls, to share stringable content from your application and do not want additional JavaScript, cookies etc. placed on your application.
Where is social network/messenger X?
You are invited to create an issue or pull requests with your needs. When creating a pull request please have a look at the already existing code and don't forget to write a unit test.
Development
# composer docker run --rm --interactive --tty --volume $PWD:/app composer install # PHPUnit docker run -it --rm --name php-share-url -v "$PWD":/app -w /app php:8.3-cli php vendor/bin/phpunit # PHPStan docker run -it --rm --name php-share-url -v "$PWD":/app -w /app php:8.3-cli php vendor/bin/phpstan