Skip to content

Generate share-urls for social networks and messengers.

License

Notifications You must be signed in to change notification settings

nostadt/php-share-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Share URL

CI Process packagist.org Donate

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