├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Gemfile ├── Gruntfile.js ├── Guardfile ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── package.json ├── php_5.3.ini ├── php_5.5.ini ├── php_7.ini ├── phpmd.xml ├── phpunit.xml.dist ├── src └── Aptoma │ ├── Cache │ └── SerializingPredisCache.php │ ├── Ftp │ ├── Exception │ │ ├── FtpException.php │ │ └── VerifySizeException.php │ └── Ftp.php │ ├── Guzzle │ └── Plugin │ │ ├── HttpCallInterceptor │ │ ├── Exception │ │ │ └── HttpCallToBackendException.php │ │ └── HttpCallInterceptorPlugin.php │ │ ├── RequestLogger │ │ └── RequestLoggerPlugin.php │ │ ├── RequestPreSendLogger │ │ └── RequestBeforeSendLoggerPlugin.php │ │ └── RequestToken │ │ └── RequestTokenPlugin.php │ ├── JsonErrorHandler.php │ ├── Log │ ├── ExtraContextProcessor.php │ └── RequestProcessor.php │ ├── Security │ ├── Authentication │ │ └── Token │ │ │ └── ApiKeyToken.php │ ├── Encoder │ │ └── SaltLessPasswordEncoderInterface.php │ ├── Http │ │ └── Firewall │ │ │ └── ApiKeyAuthenticationListener.php │ ├── Provider │ │ └── ApiKeyAuthenticationProvider.php │ └── User │ │ └── ApiKeyUserProviderInterface.php │ ├── Silex │ ├── Application.php │ └── Provider │ │ ├── ApiKeyServiceProvider.php │ │ ├── CacheServiceProvider.php │ │ ├── ConsoleLoggerServiceProvider.php │ │ ├── ExtendedLoggerServiceProvider.php │ │ ├── GuzzleServiceProvider.php │ │ ├── MemcachedServiceProvider.php │ │ ├── PredisClientServiceProvider.php │ │ ├── StorageServiceProvider.php │ │ └── UrlGeneratorServiceProvider.php │ ├── Storage │ ├── Exception │ │ ├── FileNotFoundException.php │ │ └── StorageException.php │ ├── FileStorage.php │ └── StorageInterface.php │ └── TestToolkit │ ├── BaseWebTestCase.php │ └── TestClient.php └── tests └── src └── Aptoma ├── Cache └── SerializingPredisCacheTest.php ├── JsonErrorHandlerTest.php ├── Log ├── ExtraContextProcessorTest.php └── RequestProcessorTest.php ├── Security └── Authentication │ ├── Http │ └── Firewall │ │ └── ApiKeyAuthenticationListenerTest.php │ ├── Provider │ └── ApiKeyAuthenticationProviderTest.php │ └── Token │ └── ApiKeyTokenTest.php ├── Silex ├── ApplicationTest.php ├── Mocks │ ├── AppExtension.php │ └── Application.php └── Provider │ └── ExtendedLoggerServiceProviderTest.php ├── Storage └── FileStorageTest.php ├── TestToolkit ├── BaseWebTestCaseTest.php ├── TestClientTest.php └── mocks │ ├── Application.php │ └── app.php └── fixtures └── topgun.jpg /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | node_modules 3 | vendor 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/Gemfile -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/Gruntfile.js -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/Guardfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/composer.lock -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/package.json -------------------------------------------------------------------------------- /php_5.3.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/php_5.3.ini -------------------------------------------------------------------------------- /php_5.5.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/php_5.5.ini -------------------------------------------------------------------------------- /php_7.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/php_7.ini -------------------------------------------------------------------------------- /phpmd.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/phpmd.xml -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Aptoma/Cache/SerializingPredisCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Cache/SerializingPredisCache.php -------------------------------------------------------------------------------- /src/Aptoma/Ftp/Exception/FtpException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Ftp/Exception/FtpException.php -------------------------------------------------------------------------------- /src/Aptoma/Ftp/Exception/VerifySizeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Ftp/Exception/VerifySizeException.php -------------------------------------------------------------------------------- /src/Aptoma/Ftp/Ftp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Ftp/Ftp.php -------------------------------------------------------------------------------- /src/Aptoma/Guzzle/Plugin/HttpCallInterceptor/Exception/HttpCallToBackendException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Guzzle/Plugin/HttpCallInterceptor/Exception/HttpCallToBackendException.php -------------------------------------------------------------------------------- /src/Aptoma/Guzzle/Plugin/HttpCallInterceptor/HttpCallInterceptorPlugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Guzzle/Plugin/HttpCallInterceptor/HttpCallInterceptorPlugin.php -------------------------------------------------------------------------------- /src/Aptoma/Guzzle/Plugin/RequestLogger/RequestLoggerPlugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Guzzle/Plugin/RequestLogger/RequestLoggerPlugin.php -------------------------------------------------------------------------------- /src/Aptoma/Guzzle/Plugin/RequestPreSendLogger/RequestBeforeSendLoggerPlugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Guzzle/Plugin/RequestPreSendLogger/RequestBeforeSendLoggerPlugin.php -------------------------------------------------------------------------------- /src/Aptoma/Guzzle/Plugin/RequestToken/RequestTokenPlugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Guzzle/Plugin/RequestToken/RequestTokenPlugin.php -------------------------------------------------------------------------------- /src/Aptoma/JsonErrorHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/JsonErrorHandler.php -------------------------------------------------------------------------------- /src/Aptoma/Log/ExtraContextProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Log/ExtraContextProcessor.php -------------------------------------------------------------------------------- /src/Aptoma/Log/RequestProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Log/RequestProcessor.php -------------------------------------------------------------------------------- /src/Aptoma/Security/Authentication/Token/ApiKeyToken.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Security/Authentication/Token/ApiKeyToken.php -------------------------------------------------------------------------------- /src/Aptoma/Security/Encoder/SaltLessPasswordEncoderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Security/Encoder/SaltLessPasswordEncoderInterface.php -------------------------------------------------------------------------------- /src/Aptoma/Security/Http/Firewall/ApiKeyAuthenticationListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Security/Http/Firewall/ApiKeyAuthenticationListener.php -------------------------------------------------------------------------------- /src/Aptoma/Security/Provider/ApiKeyAuthenticationProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Security/Provider/ApiKeyAuthenticationProvider.php -------------------------------------------------------------------------------- /src/Aptoma/Security/User/ApiKeyUserProviderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Security/User/ApiKeyUserProviderInterface.php -------------------------------------------------------------------------------- /src/Aptoma/Silex/Application.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Silex/Application.php -------------------------------------------------------------------------------- /src/Aptoma/Silex/Provider/ApiKeyServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Silex/Provider/ApiKeyServiceProvider.php -------------------------------------------------------------------------------- /src/Aptoma/Silex/Provider/CacheServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Silex/Provider/CacheServiceProvider.php -------------------------------------------------------------------------------- /src/Aptoma/Silex/Provider/ConsoleLoggerServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Silex/Provider/ConsoleLoggerServiceProvider.php -------------------------------------------------------------------------------- /src/Aptoma/Silex/Provider/ExtendedLoggerServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Silex/Provider/ExtendedLoggerServiceProvider.php -------------------------------------------------------------------------------- /src/Aptoma/Silex/Provider/GuzzleServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Silex/Provider/GuzzleServiceProvider.php -------------------------------------------------------------------------------- /src/Aptoma/Silex/Provider/MemcachedServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Silex/Provider/MemcachedServiceProvider.php -------------------------------------------------------------------------------- /src/Aptoma/Silex/Provider/PredisClientServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Silex/Provider/PredisClientServiceProvider.php -------------------------------------------------------------------------------- /src/Aptoma/Silex/Provider/StorageServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Silex/Provider/StorageServiceProvider.php -------------------------------------------------------------------------------- /src/Aptoma/Silex/Provider/UrlGeneratorServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Silex/Provider/UrlGeneratorServiceProvider.php -------------------------------------------------------------------------------- /src/Aptoma/Storage/Exception/FileNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Storage/Exception/FileNotFoundException.php -------------------------------------------------------------------------------- /src/Aptoma/Storage/Exception/StorageException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Storage/Exception/StorageException.php -------------------------------------------------------------------------------- /src/Aptoma/Storage/FileStorage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Storage/FileStorage.php -------------------------------------------------------------------------------- /src/Aptoma/Storage/StorageInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/Storage/StorageInterface.php -------------------------------------------------------------------------------- /src/Aptoma/TestToolkit/BaseWebTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/TestToolkit/BaseWebTestCase.php -------------------------------------------------------------------------------- /src/Aptoma/TestToolkit/TestClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/src/Aptoma/TestToolkit/TestClient.php -------------------------------------------------------------------------------- /tests/src/Aptoma/Cache/SerializingPredisCacheTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/Cache/SerializingPredisCacheTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/JsonErrorHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/JsonErrorHandlerTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/Log/ExtraContextProcessorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/Log/ExtraContextProcessorTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/Log/RequestProcessorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/Log/RequestProcessorTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/Security/Authentication/Http/Firewall/ApiKeyAuthenticationListenerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/Security/Authentication/Http/Firewall/ApiKeyAuthenticationListenerTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/Security/Authentication/Provider/ApiKeyAuthenticationProviderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/Security/Authentication/Provider/ApiKeyAuthenticationProviderTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/Security/Authentication/Token/ApiKeyTokenTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/Security/Authentication/Token/ApiKeyTokenTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/Silex/ApplicationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/Silex/ApplicationTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/Silex/Mocks/AppExtension.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/Silex/Mocks/AppExtension.php -------------------------------------------------------------------------------- /tests/src/Aptoma/Silex/Mocks/Application.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/Silex/Mocks/Application.php -------------------------------------------------------------------------------- /tests/src/Aptoma/Silex/Provider/ExtendedLoggerServiceProviderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/Silex/Provider/ExtendedLoggerServiceProviderTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/Storage/FileStorageTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/Storage/FileStorageTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/TestToolkit/BaseWebTestCaseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/TestToolkit/BaseWebTestCaseTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/TestToolkit/TestClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/TestToolkit/TestClientTest.php -------------------------------------------------------------------------------- /tests/src/Aptoma/TestToolkit/mocks/Application.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/TestToolkit/mocks/Application.php -------------------------------------------------------------------------------- /tests/src/Aptoma/TestToolkit/mocks/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/TestToolkit/mocks/app.php -------------------------------------------------------------------------------- /tests/src/Aptoma/fixtures/topgun.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aptoma/silex-extras/HEAD/tests/src/Aptoma/fixtures/topgun.jpg --------------------------------------------------------------------------------