Library to validate and parse social media profile URLs
Library to validate and parse social media profile URLs.
Currently supported social media platforms:
- Google Plus
If you don’t have Composer installed, follow the installation instructions.
Once composer is installed, execute the following command in your project root to install this library:
composer require balazscsaba2006/socially
Finally, remember to include the autoloader to your project:
require __DIR__ . '/vendor/autoload.php';
$parser = = new Parser(); $result = $parser->isSocialMediaProfile($url);
For more examples on usage take a look at the
I’d be happy if you contribute to this library. Please try to follow the existing coding style and use proper comments in your commit message. Thanks! 🙇
Please see the license file for more information.