├── .editorconfig ├── .gitattributes ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml ├── src ├── Base │ ├── ClientAdapter.php │ ├── ConfigManager.php │ ├── DriversAbstract.php │ ├── DriversFactory.php │ ├── Handler.php │ └── PackageManager.php ├── Config │ └── url-shortener.php ├── Contracts │ ├── ClientInterface.php │ ├── DriverInterface.php │ └── ShortenInterface.php ├── Drivers │ └── Bitly.php ├── Exceptions │ ├── Exception.php │ ├── MissingConfigurationException.php │ ├── MissingConfigurationFileException.php │ ├── ResponseErrorException.php │ └── UnsupportedDriverException.php ├── Facades │ └── ShortenFacadeAccessor.php ├── Shorten.php ├── UrlShortenerServiceProvider.php └── Validators │ └── ValidatorTrait.php └── tests ├── .gitkeep ├── ConfigurationManagerTest.php ├── Drivers └── BitlyTest.php ├── DriversFactoryTest.php ├── ShortenTest.php └── TestCase.php /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | composer.lock 3 | docs 4 | vendor 5 | .DS_Store 6 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Base/ClientAdapter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Base/ClientAdapter.php -------------------------------------------------------------------------------- /src/Base/ConfigManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Base/ConfigManager.php -------------------------------------------------------------------------------- /src/Base/DriversAbstract.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Base/DriversAbstract.php -------------------------------------------------------------------------------- /src/Base/DriversFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Base/DriversFactory.php -------------------------------------------------------------------------------- /src/Base/Handler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Base/Handler.php -------------------------------------------------------------------------------- /src/Base/PackageManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Base/PackageManager.php -------------------------------------------------------------------------------- /src/Config/url-shortener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Config/url-shortener.php -------------------------------------------------------------------------------- /src/Contracts/ClientInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Contracts/ClientInterface.php -------------------------------------------------------------------------------- /src/Contracts/DriverInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Contracts/DriverInterface.php -------------------------------------------------------------------------------- /src/Contracts/ShortenInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Contracts/ShortenInterface.php -------------------------------------------------------------------------------- /src/Drivers/Bitly.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Drivers/Bitly.php -------------------------------------------------------------------------------- /src/Exceptions/Exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Exceptions/Exception.php -------------------------------------------------------------------------------- /src/Exceptions/MissingConfigurationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Exceptions/MissingConfigurationException.php -------------------------------------------------------------------------------- /src/Exceptions/MissingConfigurationFileException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Exceptions/MissingConfigurationFileException.php -------------------------------------------------------------------------------- /src/Exceptions/ResponseErrorException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Exceptions/ResponseErrorException.php -------------------------------------------------------------------------------- /src/Exceptions/UnsupportedDriverException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Exceptions/UnsupportedDriverException.php -------------------------------------------------------------------------------- /src/Facades/ShortenFacadeAccessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Facades/ShortenFacadeAccessor.php -------------------------------------------------------------------------------- /src/Shorten.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Shorten.php -------------------------------------------------------------------------------- /src/UrlShortenerServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/UrlShortenerServiceProvider.php -------------------------------------------------------------------------------- /src/Validators/ValidatorTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/src/Validators/ValidatorTrait.php -------------------------------------------------------------------------------- /tests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/ConfigurationManagerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/tests/ConfigurationManagerTest.php -------------------------------------------------------------------------------- /tests/Drivers/BitlyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/tests/Drivers/BitlyTest.php -------------------------------------------------------------------------------- /tests/DriversFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/tests/DriversFactoryTest.php -------------------------------------------------------------------------------- /tests/ShortenTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/tests/ShortenTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinelab/url-shortener/HEAD/tests/TestCase.php --------------------------------------------------------------------------------