├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── readme.txt ├── vendor ├── autoload.php ├── composer │ ├── ClassLoader.php │ ├── LICENSE │ ├── autoload_classmap.php │ ├── autoload_files.php │ ├── autoload_namespaces.php │ ├── autoload_psr4.php │ ├── autoload_real.php │ ├── autoload_static.php │ └── installed.json ├── doctrine │ └── cache │ │ ├── .coveralls.yml │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── UPGRADE.md │ │ ├── build.properties │ │ ├── build.xml │ │ ├── composer.json │ │ ├── lib │ │ └── Doctrine │ │ │ └── Common │ │ │ └── Cache │ │ │ ├── ApcCache.php │ │ │ ├── ApcuCache.php │ │ │ ├── ArrayCache.php │ │ │ ├── Cache.php │ │ │ ├── CacheProvider.php │ │ │ ├── ChainCache.php │ │ │ ├── ClearableCache.php │ │ │ ├── CouchbaseCache.php │ │ │ ├── FileCache.php │ │ │ ├── FilesystemCache.php │ │ │ ├── FlushableCache.php │ │ │ ├── MemcacheCache.php │ │ │ ├── MemcachedCache.php │ │ │ ├── MongoDBCache.php │ │ │ ├── MultiGetCache.php │ │ │ ├── MultiPutCache.php │ │ │ ├── PhpFileCache.php │ │ │ ├── PredisCache.php │ │ │ ├── RedisCache.php │ │ │ ├── RiakCache.php │ │ │ ├── SQLite3Cache.php │ │ │ ├── Version.php │ │ │ ├── VoidCache.php │ │ │ ├── WinCacheCache.php │ │ │ ├── XcacheCache.php │ │ │ └── ZendDataCache.php │ │ ├── phpunit.xml.dist │ │ └── tests │ │ ├── Doctrine │ │ └── Tests │ │ │ ├── Common │ │ │ └── Cache │ │ │ │ ├── ApcCacheTest.php │ │ │ │ ├── ApcuCacheTest.php │ │ │ │ ├── ArrayCacheTest.php │ │ │ │ ├── BaseFileCacheTest.php │ │ │ │ ├── CacheProviderTest.php │ │ │ │ ├── CacheTest.php │ │ │ │ ├── ChainCacheTest.php │ │ │ │ ├── CouchbaseCacheTest.php │ │ │ │ ├── FileCacheTest.php │ │ │ │ ├── FilesystemCacheTest.php │ │ │ │ ├── MemcacheCacheTest.php │ │ │ │ ├── MemcachedCacheTest.php │ │ │ │ ├── MongoDBCacheTest.php │ │ │ │ ├── PhpFileCacheTest.php │ │ │ │ ├── PredisCacheTest.php │ │ │ │ ├── RedisCacheTest.php │ │ │ │ ├── RiakCacheTest.php │ │ │ │ ├── SQLite3CacheTest.php │ │ │ │ ├── VoidCacheTest.php │ │ │ │ ├── WinCacheCacheTest.php │ │ │ │ ├── XcacheCacheTest.php │ │ │ │ └── ZendDataCacheTest.php │ │ │ └── DoctrineTestCase.php │ │ └── travis │ │ ├── php.ini │ │ └── phpunit.travis.xml ├── guzzlehttp │ ├── guzzle │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── UPGRADING.md │ │ ├── composer.json │ │ └── src │ │ │ ├── Client.php │ │ │ ├── ClientInterface.php │ │ │ ├── Cookie │ │ │ ├── CookieJar.php │ │ │ ├── CookieJarInterface.php │ │ │ ├── FileCookieJar.php │ │ │ ├── SessionCookieJar.php │ │ │ └── SetCookie.php │ │ │ ├── Exception │ │ │ ├── BadResponseException.php │ │ │ ├── ClientException.php │ │ │ ├── ConnectException.php │ │ │ ├── GuzzleException.php │ │ │ ├── RequestException.php │ │ │ ├── SeekException.php │ │ │ ├── ServerException.php │ │ │ ├── TooManyRedirectsException.php │ │ │ └── TransferException.php │ │ │ ├── Handler │ │ │ ├── CurlFactory.php │ │ │ ├── CurlFactoryInterface.php │ │ │ ├── CurlHandler.php │ │ │ ├── CurlMultiHandler.php │ │ │ ├── EasyHandle.php │ │ │ ├── MockHandler.php │ │ │ ├── Proxy.php │ │ │ └── StreamHandler.php │ │ │ ├── HandlerStack.php │ │ │ ├── MessageFormatter.php │ │ │ ├── Middleware.php │ │ │ ├── Pool.php │ │ │ ├── PrepareBodyMiddleware.php │ │ │ ├── RedirectMiddleware.php │ │ │ ├── RequestOptions.php │ │ │ ├── RetryMiddleware.php │ │ │ ├── TransferStats.php │ │ │ ├── UriTemplate.php │ │ │ ├── functions.php │ │ │ └── functions_include.php │ ├── promises │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── composer.json │ │ ├── phpunit.xml.dist │ │ ├── src │ │ │ ├── AggregateException.php │ │ │ ├── CancellationException.php │ │ │ ├── EachPromise.php │ │ │ ├── FulfilledPromise.php │ │ │ ├── Promise.php │ │ │ ├── PromiseInterface.php │ │ │ ├── PromisorInterface.php │ │ │ ├── RejectedPromise.php │ │ │ ├── RejectionException.php │ │ │ ├── TaskQueue.php │ │ │ ├── functions.php │ │ │ └── functions_include.php │ │ └── tests │ │ │ ├── AggregateExceptionTest.php │ │ │ ├── EachPromiseTest.php │ │ │ ├── FulfilledPromiseTest.php │ │ │ ├── NotPromiseInstance.php │ │ │ ├── PromiseTest.php │ │ │ ├── RejectedPromiseTest.php │ │ │ ├── RejectionExceptionTest.php │ │ │ ├── TaskQueueTest.php │ │ │ ├── Thennable.php │ │ │ ├── bootstrap.php │ │ │ └── functionsTest.php │ └── psr7 │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── composer.json │ │ ├── phpunit.xml.dist │ │ ├── src │ │ ├── AppendStream.php │ │ ├── BufferStream.php │ │ ├── CachingStream.php │ │ ├── DroppingStream.php │ │ ├── FnStream.php │ │ ├── InflateStream.php │ │ ├── LazyOpenStream.php │ │ ├── LimitStream.php │ │ ├── MessageTrait.php │ │ ├── MultipartStream.php │ │ ├── NoSeekStream.php │ │ ├── PumpStream.php │ │ ├── Request.php │ │ ├── Response.php │ │ ├── ServerRequest.php │ │ ├── Stream.php │ │ ├── StreamDecoratorTrait.php │ │ ├── StreamWrapper.php │ │ ├── UploadedFile.php │ │ ├── Uri.php │ │ ├── functions.php │ │ └── functions_include.php │ │ └── tests │ │ ├── AppendStreamTest.php │ │ ├── BufferStreamTest.php │ │ ├── CachingStreamTest.php │ │ ├── DroppingStreamTest.php │ │ ├── FnStreamTest.php │ │ ├── FunctionsTest.php │ │ ├── InflateStreamTest.php │ │ ├── LazyOpenStreamTest.php │ │ ├── LimitStreamTest.php │ │ ├── MultipartStreamTest.php │ │ ├── NoSeekStreamTest.php │ │ ├── PumpStreamTest.php │ │ ├── RequestTest.php │ │ ├── ResponseTest.php │ │ ├── ServerRequestTest.php │ │ ├── StreamDecoratorTraitTest.php │ │ ├── StreamTest.php │ │ ├── StreamWrapperTest.php │ │ ├── UploadedFileTest.php │ │ ├── UriTest.php │ │ └── bootstrap.php ├── monolog │ └── monolog │ │ ├── .php_cs │ │ ├── CHANGELOG.mdown │ │ ├── LICENSE │ │ ├── README.mdown │ │ ├── composer.json │ │ ├── doc │ │ ├── 01-usage.md │ │ ├── 02-handlers-formatters-processors.md │ │ ├── 03-utilities.md │ │ ├── 04-extending.md │ │ └── sockets.md │ │ ├── phpunit.xml.dist │ │ ├── src │ │ └── Monolog │ │ │ ├── ErrorHandler.php │ │ │ ├── Formatter │ │ │ ├── ChromePHPFormatter.php │ │ │ ├── ElasticaFormatter.php │ │ │ ├── FlowdockFormatter.php │ │ │ ├── FluentdFormatter.php │ │ │ ├── FormatterInterface.php │ │ │ ├── GelfMessageFormatter.php │ │ │ ├── HtmlFormatter.php │ │ │ ├── JsonFormatter.php │ │ │ ├── LineFormatter.php │ │ │ ├── LogglyFormatter.php │ │ │ ├── LogstashFormatter.php │ │ │ ├── MongoDBFormatter.php │ │ │ ├── NormalizerFormatter.php │ │ │ ├── ScalarFormatter.php │ │ │ └── WildfireFormatter.php │ │ │ ├── Handler │ │ │ ├── AbstractHandler.php │ │ │ ├── AbstractProcessingHandler.php │ │ │ ├── AbstractSyslogHandler.php │ │ │ ├── AmqpHandler.php │ │ │ ├── BrowserConsoleHandler.php │ │ │ ├── BufferHandler.php │ │ │ ├── ChromePHPHandler.php │ │ │ ├── CouchDBHandler.php │ │ │ ├── CubeHandler.php │ │ │ ├── Curl │ │ │ │ └── Util.php │ │ │ ├── DeduplicationHandler.php │ │ │ ├── DoctrineCouchDBHandler.php │ │ │ ├── DynamoDbHandler.php │ │ │ ├── ElasticSearchHandler.php │ │ │ ├── ErrorLogHandler.php │ │ │ ├── FilterHandler.php │ │ │ ├── FingersCrossed │ │ │ │ ├── ActivationStrategyInterface.php │ │ │ │ ├── ChannelLevelActivationStrategy.php │ │ │ │ └── ErrorLevelActivationStrategy.php │ │ │ ├── FingersCrossedHandler.php │ │ │ ├── FirePHPHandler.php │ │ │ ├── FleepHookHandler.php │ │ │ ├── FlowdockHandler.php │ │ │ ├── GelfHandler.php │ │ │ ├── GroupHandler.php │ │ │ ├── HandlerInterface.php │ │ │ ├── HandlerWrapper.php │ │ │ ├── HipChatHandler.php │ │ │ ├── IFTTTHandler.php │ │ │ ├── LogEntriesHandler.php │ │ │ ├── LogglyHandler.php │ │ │ ├── MailHandler.php │ │ │ ├── MandrillHandler.php │ │ │ ├── MissingExtensionException.php │ │ │ ├── MongoDBHandler.php │ │ │ ├── NativeMailerHandler.php │ │ │ ├── NewRelicHandler.php │ │ │ ├── NullHandler.php │ │ │ ├── PHPConsoleHandler.php │ │ │ ├── PsrHandler.php │ │ │ ├── PushoverHandler.php │ │ │ ├── RavenHandler.php │ │ │ ├── RedisHandler.php │ │ │ ├── RollbarHandler.php │ │ │ ├── RotatingFileHandler.php │ │ │ ├── SamplingHandler.php │ │ │ ├── SlackHandler.php │ │ │ ├── SocketHandler.php │ │ │ ├── StreamHandler.php │ │ │ ├── SwiftMailerHandler.php │ │ │ ├── SyslogHandler.php │ │ │ ├── SyslogUdp │ │ │ │ └── UdpSocket.php │ │ │ ├── SyslogUdpHandler.php │ │ │ ├── TestHandler.php │ │ │ ├── WhatFailureGroupHandler.php │ │ │ └── ZendMonitorHandler.php │ │ │ ├── Logger.php │ │ │ ├── Processor │ │ │ ├── GitProcessor.php │ │ │ ├── IntrospectionProcessor.php │ │ │ ├── MemoryPeakUsageProcessor.php │ │ │ ├── MemoryProcessor.php │ │ │ ├── MemoryUsageProcessor.php │ │ │ ├── ProcessIdProcessor.php │ │ │ ├── PsrLogMessageProcessor.php │ │ │ ├── TagProcessor.php │ │ │ ├── UidProcessor.php │ │ │ └── WebProcessor.php │ │ │ └── Registry.php │ │ └── tests │ │ └── Monolog │ │ ├── ErrorHandlerTest.php │ │ ├── Formatter │ │ ├── ChromePHPFormatterTest.php │ │ ├── ElasticaFormatterTest.php │ │ ├── FlowdockFormatterTest.php │ │ ├── FluentdFormatterTest.php │ │ ├── GelfMessageFormatterTest.php │ │ ├── JsonFormatterTest.php │ │ ├── LineFormatterTest.php │ │ ├── LogglyFormatterTest.php │ │ ├── LogstashFormatterTest.php │ │ ├── MongoDBFormatterTest.php │ │ ├── NormalizerFormatterTest.php │ │ ├── ScalarFormatterTest.php │ │ └── WildfireFormatterTest.php │ │ ├── Handler │ │ ├── AbstractHandlerTest.php │ │ ├── AbstractProcessingHandlerTest.php │ │ ├── AmqpHandlerTest.php │ │ ├── BrowserConsoleHandlerTest.php │ │ ├── BufferHandlerTest.php │ │ ├── ChromePHPHandlerTest.php │ │ ├── CouchDBHandlerTest.php │ │ ├── DeduplicationHandlerTest.php │ │ ├── DoctrineCouchDBHandlerTest.php │ │ ├── DynamoDbHandlerTest.php │ │ ├── ElasticSearchHandlerTest.php │ │ ├── ErrorLogHandlerTest.php │ │ ├── FilterHandlerTest.php │ │ ├── FingersCrossedHandlerTest.php │ │ ├── FirePHPHandlerTest.php │ │ ├── Fixtures │ │ │ └── .gitkeep │ │ ├── FleepHookHandlerTest.php │ │ ├── FlowdockHandlerTest.php │ │ ├── GelfHandlerLegacyTest.php │ │ ├── GelfHandlerTest.php │ │ ├── GelfMockMessagePublisher.php │ │ ├── GroupHandlerTest.php │ │ ├── HandlerWrapperTest.php │ │ ├── HipChatHandlerTest.php │ │ ├── LogEntriesHandlerTest.php │ │ ├── MailHandlerTest.php │ │ ├── MockRavenClient.php │ │ ├── MongoDBHandlerTest.php │ │ ├── NativeMailerHandlerTest.php │ │ ├── NewRelicHandlerTest.php │ │ ├── NullHandlerTest.php │ │ ├── PHPConsoleHandlerTest.php │ │ ├── PsrHandlerTest.php │ │ ├── PushoverHandlerTest.php │ │ ├── RavenHandlerTest.php │ │ ├── RedisHandlerTest.php │ │ ├── RotatingFileHandlerTest.php │ │ ├── SamplingHandlerTest.php │ │ ├── SlackHandlerTest.php │ │ ├── SocketHandlerTest.php │ │ ├── StreamHandlerTest.php │ │ ├── SwiftMailerHandlerTest.php │ │ ├── SyslogHandlerTest.php │ │ ├── SyslogUdpHandlerTest.php │ │ ├── TestHandlerTest.php │ │ ├── UdpSocketTest.php │ │ ├── WhatFailureGroupHandlerTest.php │ │ └── ZendMonitorHandlerTest.php │ │ ├── LoggerTest.php │ │ ├── Processor │ │ ├── GitProcessorTest.php │ │ ├── IntrospectionProcessorTest.php │ │ ├── MemoryPeakUsageProcessorTest.php │ │ ├── MemoryUsageProcessorTest.php │ │ ├── ProcessIdProcessorTest.php │ │ ├── PsrLogMessageProcessorTest.php │ │ ├── TagProcessorTest.php │ │ ├── UidProcessorTest.php │ │ └── WebProcessorTest.php │ │ ├── PsrLogCompatTest.php │ │ ├── RegistryTest.php │ │ └── TestCase.php ├── overtrue │ ├── socialite │ │ ├── .gitignore │ │ ├── .php_cs │ │ ├── .travis.yml │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── composer.json │ │ ├── phpunit.xml │ │ ├── src │ │ │ ├── AccessToken.php │ │ │ ├── AccessTokenInterface.php │ │ │ ├── AttributeTrait.php │ │ │ ├── Config.php │ │ │ ├── FactoryInterface.php │ │ │ ├── InvalidStateException.php │ │ │ ├── ProviderInterface.php │ │ │ ├── Providers │ │ │ │ ├── AbstractProvider.php │ │ │ │ ├── DoubanProvider.php │ │ │ │ ├── FacebookProvider.php │ │ │ │ ├── GitHubProvider.php │ │ │ │ ├── GoogleProvider.php │ │ │ │ ├── LinkedinProvider.php │ │ │ │ ├── QQProvider.php │ │ │ │ ├── WeChatProvider.php │ │ │ │ └── WeiboProvider.php │ │ │ ├── SocialiteManager.php │ │ │ ├── User.php │ │ │ └── UserInterface.php │ │ └── tests │ │ │ └── OAuthTest.php │ └── wechat │ │ ├── .phplint.yml │ │ ├── .styleci.yml │ │ ├── BACKERS.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── composer.json │ │ └── src │ │ ├── Broadcast │ │ ├── Broadcast.php │ │ ├── LICENSE.txt │ │ ├── MessageBuilder.php │ │ ├── README.md │ │ ├── Transformer.php │ │ └── composer.json │ │ ├── Card │ │ ├── Card.php │ │ ├── LICENSE │ │ ├── README.md │ │ └── composer.json │ │ ├── Core │ │ ├── AbstractAPI.php │ │ ├── AccessToken.php │ │ ├── Exception.php │ │ ├── Exceptions │ │ │ ├── FaultException.php │ │ │ ├── HttpException.php │ │ │ ├── InvalidArgumentException.php │ │ │ ├── InvalidConfigException.php │ │ │ ├── RuntimeException.php │ │ │ └── UnboundServiceException.php │ │ ├── Http.php │ │ ├── LICENSE │ │ ├── README.md │ │ └── composer.json │ │ ├── Device │ │ ├── DeviceHttpException.php │ │ ├── LICENSE │ │ ├── README.md │ │ └── composer.json │ │ ├── Encryption │ │ ├── EncryptionException.php │ │ ├── Encryptor.php │ │ └── composer.json │ │ ├── Foundation │ │ ├── Application.php │ │ ├── Config.php │ │ └── ServiceProviders │ │ │ ├── BroadcastServiceProvider.php │ │ │ ├── CardServiceProvider.php │ │ │ ├── JsServiceProvider.php │ │ │ ├── MaterialServiceProvider.php │ │ │ ├── MenuServiceProvider.php │ │ │ ├── NoticeServiceProvider.php │ │ │ ├── OAuthServiceProvider.php │ │ │ ├── POIServiceProvider.php │ │ │ ├── PaymentServiceProvider.php │ │ │ ├── QRCodeServiceProvider.php │ │ │ ├── ReplyServiceProvider.php │ │ │ ├── SemanticServiceProvider.php │ │ │ ├── ServerServiceProvider.php │ │ │ ├── StaffServiceProvider.php │ │ │ ├── StatsServiceProvider.php │ │ │ ├── UrlServiceProvider.php │ │ │ └── UserServiceProvider.php │ │ ├── Js │ │ ├── Js.php │ │ ├── LICENSE │ │ ├── README.md │ │ └── composer.json │ │ ├── Material │ │ ├── LICENSE │ │ ├── Material.php │ │ ├── README.md │ │ ├── Temporary.php │ │ └── composer.json │ │ ├── Menu │ │ ├── LICENSE │ │ ├── Menu.php │ │ ├── README.md │ │ └── composer.json │ │ ├── Message │ │ ├── AbstractMessage.php │ │ ├── Article.php │ │ ├── Image.php │ │ ├── Link.php │ │ ├── Location.php │ │ ├── Material.php │ │ ├── Music.php │ │ ├── News.php │ │ ├── README.md │ │ ├── Raw.php │ │ ├── ShortVideo.php │ │ ├── Text.php │ │ ├── Transfer.php │ │ ├── Video.php │ │ ├── Voice.php │ │ └── composer.json │ │ ├── Notice │ │ ├── LICENSE │ │ ├── Notice.php │ │ ├── README.md │ │ └── composer.json │ │ ├── POI │ │ ├── LICENSE │ │ ├── POI.php │ │ ├── README.md │ │ └── composer.json │ │ ├── Payment │ │ ├── API.php │ │ ├── LICENSE │ │ ├── LuckyMoney │ │ │ ├── API.php │ │ │ └── LuckyMoney.php │ │ ├── Merchant.php │ │ ├── MerchantPay │ │ │ ├── API.php │ │ │ └── MerchantPay.php │ │ ├── Notify.php │ │ ├── Order.php │ │ ├── Payment.php │ │ ├── README.md │ │ ├── composer.json │ │ └── helpers.php │ │ ├── QRCode │ │ ├── LICENSE │ │ ├── QRCode.php │ │ ├── README.md │ │ └── composer.json │ │ ├── Reply │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Reply.php │ │ └── composer.json │ │ ├── Semantic │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Semantic.php │ │ └── composer.json │ │ ├── Server │ │ ├── BadRequestException.php │ │ ├── Guard.php │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Transformer.php │ │ └── composer.json │ │ ├── Staff │ │ ├── LICENSE │ │ ├── MessageBuilder.php │ │ ├── README.md │ │ ├── Session.php │ │ ├── Staff.php │ │ ├── Transformer.php │ │ └── composer.json │ │ ├── Stats │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Stats.php │ │ └── composer.json │ │ ├── Store │ │ ├── LICENSE │ │ ├── Model │ │ │ └── .gitkeep │ │ ├── README.md │ │ ├── Store.php │ │ └── composer.json │ │ ├── Support │ │ ├── Arr.php │ │ ├── Attribute.php │ │ ├── Collection.php │ │ ├── File.php │ │ ├── LICENSE │ │ ├── Log.php │ │ ├── README.md │ │ ├── Str.php │ │ ├── Url.php │ │ ├── XML.php │ │ └── composer.json │ │ ├── Url │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Url.php │ │ └── composer.json │ │ └── User │ │ ├── Group.php │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Tag.php │ │ ├── User.php │ │ └── composer.json ├── pimple │ └── pimple │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG │ │ ├── LICENSE │ │ ├── README.rst │ │ ├── composer.json │ │ ├── ext │ │ └── pimple │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── config.m4 │ │ │ ├── config.w32 │ │ │ ├── php_pimple.h │ │ │ ├── pimple.c │ │ │ ├── pimple_compat.h │ │ │ └── tests │ │ │ ├── 001.phpt │ │ │ ├── 002.phpt │ │ │ ├── 003.phpt │ │ │ ├── 004.phpt │ │ │ ├── 005.phpt │ │ │ ├── 006.phpt │ │ │ ├── 007.phpt │ │ │ ├── 008.phpt │ │ │ ├── 009.phpt │ │ │ ├── 010.phpt │ │ │ ├── 011.phpt │ │ │ ├── 012.phpt │ │ │ ├── 013.phpt │ │ │ ├── 014.phpt │ │ │ ├── 015.phpt │ │ │ ├── 016.phpt │ │ │ ├── 017.phpt │ │ │ ├── 017_1.phpt │ │ │ ├── 018.phpt │ │ │ ├── 019.phpt │ │ │ ├── bench.phpb │ │ │ └── bench_shared.phpb │ │ ├── phpunit.xml.dist │ │ └── src │ │ └── Pimple │ │ ├── Container.php │ │ ├── ServiceProviderInterface.php │ │ └── Tests │ │ ├── Fixtures │ │ ├── Invokable.php │ │ ├── NonInvokable.php │ │ ├── PimpleServiceProvider.php │ │ └── Service.php │ │ ├── PimpleServiceProviderInterfaceTest.php │ │ └── PimpleTest.php ├── psr │ ├── http-message │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── composer.json │ │ └── src │ │ │ ├── MessageInterface.php │ │ │ ├── RequestInterface.php │ │ │ ├── ResponseInterface.php │ │ │ ├── ServerRequestInterface.php │ │ │ ├── StreamInterface.php │ │ │ ├── UploadedFileInterface.php │ │ │ └── UriInterface.php │ └── log │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Psr │ │ └── Log │ │ │ ├── AbstractLogger.php │ │ │ ├── InvalidArgumentException.php │ │ │ ├── LogLevel.php │ │ │ ├── LoggerAwareInterface.php │ │ │ ├── LoggerAwareTrait.php │ │ │ ├── LoggerInterface.php │ │ │ ├── LoggerTrait.php │ │ │ ├── NullLogger.php │ │ │ └── Test │ │ │ └── LoggerInterfaceTest.php │ │ ├── README.md │ │ └── composer.json └── symfony │ ├── http-foundation │ ├── .gitignore │ ├── AcceptHeader.php │ ├── AcceptHeaderItem.php │ ├── ApacheRequest.php │ ├── BinaryFileResponse.php │ ├── CHANGELOG.md │ ├── Cookie.php │ ├── Exception │ │ └── ConflictingHeadersException.php │ ├── ExpressionRequestMatcher.php │ ├── File │ │ ├── Exception │ │ │ ├── AccessDeniedException.php │ │ │ ├── FileException.php │ │ │ ├── FileNotFoundException.php │ │ │ ├── UnexpectedTypeException.php │ │ │ └── UploadException.php │ │ ├── File.php │ │ ├── MimeType │ │ │ ├── ExtensionGuesser.php │ │ │ ├── ExtensionGuesserInterface.php │ │ │ ├── FileBinaryMimeTypeGuesser.php │ │ │ ├── FileinfoMimeTypeGuesser.php │ │ │ ├── MimeTypeExtensionGuesser.php │ │ │ ├── MimeTypeGuesser.php │ │ │ └── MimeTypeGuesserInterface.php │ │ └── UploadedFile.php │ ├── FileBag.php │ ├── HeaderBag.php │ ├── IpUtils.php │ ├── JsonResponse.php │ ├── LICENSE │ ├── ParameterBag.php │ ├── README.md │ ├── RedirectResponse.php │ ├── Request.php │ ├── RequestMatcher.php │ ├── RequestMatcherInterface.php │ ├── RequestStack.php │ ├── Response.php │ ├── ResponseHeaderBag.php │ ├── ServerBag.php │ ├── Session │ │ ├── Attribute │ │ │ ├── AttributeBag.php │ │ │ ├── AttributeBagInterface.php │ │ │ └── NamespacedAttributeBag.php │ │ ├── Flash │ │ │ ├── AutoExpireFlashBag.php │ │ │ ├── FlashBag.php │ │ │ └── FlashBagInterface.php │ │ ├── Session.php │ │ ├── SessionBagInterface.php │ │ ├── SessionInterface.php │ │ └── Storage │ │ │ ├── Handler │ │ │ ├── MemcacheSessionHandler.php │ │ │ ├── MemcachedSessionHandler.php │ │ │ ├── MongoDbSessionHandler.php │ │ │ ├── NativeFileSessionHandler.php │ │ │ ├── NativeSessionHandler.php │ │ │ ├── NullSessionHandler.php │ │ │ ├── PdoSessionHandler.php │ │ │ └── WriteCheckSessionHandler.php │ │ │ ├── MetadataBag.php │ │ │ ├── MockArraySessionStorage.php │ │ │ ├── MockFileSessionStorage.php │ │ │ ├── NativeSessionStorage.php │ │ │ ├── PhpBridgeSessionStorage.php │ │ │ ├── Proxy │ │ │ ├── AbstractProxy.php │ │ │ ├── NativeProxy.php │ │ │ └── SessionHandlerProxy.php │ │ │ └── SessionStorageInterface.php │ ├── StreamedResponse.php │ ├── Tests │ │ ├── AcceptHeaderItemTest.php │ │ ├── AcceptHeaderTest.php │ │ ├── ApacheRequestTest.php │ │ ├── BinaryFileResponseTest.php │ │ ├── CookieTest.php │ │ ├── ExpressionRequestMatcherTest.php │ │ ├── File │ │ │ ├── FakeFile.php │ │ │ ├── FileTest.php │ │ │ ├── Fixtures │ │ │ │ ├── .unknownextension │ │ │ │ ├── directory │ │ │ │ │ └── .empty │ │ │ │ ├── other-file.example │ │ │ │ ├── test │ │ │ │ └── test.gif │ │ │ ├── MimeType │ │ │ │ └── MimeTypeTest.php │ │ │ └── UploadedFileTest.php │ │ ├── FileBagTest.php │ │ ├── HeaderBagTest.php │ │ ├── IpUtilsTest.php │ │ ├── JsonResponseTest.php │ │ ├── ParameterBagTest.php │ │ ├── RedirectResponseTest.php │ │ ├── RequestMatcherTest.php │ │ ├── RequestStackTest.php │ │ ├── RequestTest.php │ │ ├── ResponseHeaderBagTest.php │ │ ├── ResponseTest.php │ │ ├── ResponseTestCase.php │ │ ├── ServerBagTest.php │ │ ├── Session │ │ │ ├── Attribute │ │ │ │ ├── AttributeBagTest.php │ │ │ │ └── NamespacedAttributeBagTest.php │ │ │ ├── Flash │ │ │ │ ├── AutoExpireFlashBagTest.php │ │ │ │ └── FlashBagTest.php │ │ │ ├── SessionTest.php │ │ │ └── Storage │ │ │ │ ├── Handler │ │ │ │ ├── MemcacheSessionHandlerTest.php │ │ │ │ ├── MemcachedSessionHandlerTest.php │ │ │ │ ├── MongoDbSessionHandlerTest.php │ │ │ │ ├── NativeFileSessionHandlerTest.php │ │ │ │ ├── NativeSessionHandlerTest.php │ │ │ │ ├── NullSessionHandlerTest.php │ │ │ │ ├── PdoSessionHandlerTest.php │ │ │ │ └── WriteCheckSessionHandlerTest.php │ │ │ │ ├── MetadataBagTest.php │ │ │ │ ├── MockArraySessionStorageTest.php │ │ │ │ ├── MockFileSessionStorageTest.php │ │ │ │ ├── NativeSessionStorageTest.php │ │ │ │ ├── PhpBridgeSessionStorageTest.php │ │ │ │ └── Proxy │ │ │ │ ├── AbstractProxyTest.php │ │ │ │ ├── NativeProxyTest.php │ │ │ │ └── SessionHandlerProxyTest.php │ │ └── StreamedResponseTest.php │ ├── composer.json │ └── phpunit.xml.dist │ ├── polyfill-mbstring │ ├── LICENSE │ ├── Mbstring.php │ ├── README.md │ ├── Resources │ │ └── unidata │ │ │ ├── lowerCase.php │ │ │ └── upperCase.php │ ├── bootstrap.php │ └── composer.json │ └── psr-http-message-bridge │ ├── .gitignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── Factory │ ├── DiactorosFactory.php │ └── HttpFoundationFactory.php │ ├── HttpFoundationFactoryInterface.php │ ├── HttpMessageFactoryInterface.php │ ├── LICENSE │ ├── README.md │ ├── Tests │ ├── Factory │ │ ├── DiactorosFactoryTest.php │ │ └── HttpFoundationFactoryTest.php │ └── Fixtures │ │ ├── Message.php │ │ ├── Response.php │ │ ├── ServerRequest.php │ │ ├── Stream.php │ │ ├── UploadedFile.php │ │ └── Uri.php │ ├── composer.json │ └── phpunit.xml.dist ├── wechat-broadcast.php └── wechat ├── Broadcast.php ├── Image.php ├── Material.php └── cacert.pem /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springjk/wordpress-wechat-broadcast/1fd0261904dd41d11be25b4557eca7f1ca68584a/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Jiang Kun 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 微信群发助手-Wechat Broadcast 2 | 3 | 在发布文章的时候可选同步推送到微信公众号订阅用户。 4 | Send article content to wechat subscribers. 5 | 6 | 需求: 7 | 8 | * PHP >= 5.5.9 9 | 10 | 特色: 11 | 12 | * 上传文章或页面内容至微信素材库并推送给订阅用户 13 | * 可配置微信测试账号进行预览 14 | * 对虚拟主机空间的支持 15 | * 短标签调用素材库显示在页面 16 | * 不与其他插件及第三方管理系统冲突 17 | * 微信支持为 EasyWeChat 18 | 19 | 群发使用: 20 | 21 | 1. 安装插件后启用插件 22 | 2. 点击插件下方的插件设置连接或选择后台菜单的设置->微信 23 | 3. 配置微信公众号的 APPID 账号相关信息 24 | 4. 在文章或页面编辑页右上方微信推送选项勾选预览或群发 25 | 5. 点击更新或发布按钮 26 | 27 | 短标签使用: 28 | 29 | * 在文章或页面编辑页中选择文本 30 | * 在需要插入的地方填入 `[wechat_material]` 31 | 32 | * 可选参数 `col`, 显示列数,默认为 3,可选为 2 33 | * 可选参数 `title`, 是否显示标题,默认为 `true`,`false` 为不显示 34 | * 可选参数 `thumb`, 是否显示缩略图,默认为 `true`,`false` 为不显示 35 | * 可选参数 `digest`, 是否显示简介,默认为 `true`,`false` 为不显示 36 | 37 | * 完整示例 `[wechat_material col="3" title="true" thumb="true" digest="true"]` -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "overtrue/wechat": "^3.1" 4 | }, 5 | "autoload": { 6 | "psr-4": {"Springjk\\": "wechat/"} 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /vendor/autoload.php: -------------------------------------------------------------------------------- 1 | $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', 10 | 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php', 11 | 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php', 12 | '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', 13 | '9e090711773bfc38738f5dbaee5a7f14' => $vendorDir . '/overtrue/wechat/src/Payment/helpers.php', 14 | ); 15 | -------------------------------------------------------------------------------- /vendor/composer/autoload_namespaces.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/pimple/pimple/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /vendor/composer/autoload_psr4.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/symfony/polyfill-mbstring'), 10 | 'Symfony\\Component\\HttpFoundation\\' => array($vendorDir . '/symfony/http-foundation'), 11 | 'Symfony\\Bridge\\PsrHttpMessage\\' => array($vendorDir . '/symfony/psr-http-message-bridge'), 12 | 'Springjk\\' => array($baseDir . '/wechat'), 13 | 'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'), 14 | 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'), 15 | 'Overtrue\\Socialite\\' => array($vendorDir . '/overtrue/socialite/src'), 16 | 'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'), 17 | 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'), 18 | 'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'), 19 | 'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'), 20 | 'EasyWeChat\\' => array($vendorDir . '/overtrue/wechat/src'), 21 | 'Doctrine\\Common\\Cache\\' => array($vendorDir . '/doctrine/cache/lib/Doctrine/Common/Cache'), 22 | ); 23 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/.coveralls.yml: -------------------------------------------------------------------------------- 1 | # for php-coveralls 2 | service_name: travis-ci 3 | src_dir: lib 4 | coverage_clover: build/logs/clover.xml 5 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | build/ 3 | phpunit.xml 4 | composer.lock -------------------------------------------------------------------------------- /vendor/doctrine/cache/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | sudo: false 4 | 5 | cache: 6 | directories: 7 | - vendor 8 | - $HOME/.composer/cache 9 | 10 | php: 11 | - 5.5 12 | - 5.6 13 | - 7.0 14 | - hhvm 15 | 16 | services: 17 | - riak 18 | - mongodb 19 | - memcached 20 | - redis-server 21 | 22 | before_install: 23 | - if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]] ; then pecl channel-update pecl.php.net; fi; 24 | - if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then pecl install riak-beta; fi; 25 | - if [[ $TRAVIS_PHP_VERSION =~ 5.[56] ]] ; then echo yes | pecl install apcu-4.0.10; fi; 26 | - if [[ $TRAVIS_PHP_VERSION = 7.* ]] ; then pecl config-set preferred_state beta; echo yes | pecl install apcu; fi; 27 | - if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]]; then phpenv config-add ./tests/travis/php.ini; fi; 28 | 29 | install: 30 | - travis_retry composer install 31 | 32 | script: 33 | - ./vendor/bin/phpunit -c ./tests/travis/phpunit.travis.xml -v 34 | 35 | after_script: 36 | - php vendor/bin/coveralls -v 37 | 38 | matrix: 39 | fast_finish: true 40 | allow_failures: 41 | - php: hhvm 42 | - php: 7.0 43 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006-2015 Doctrine Project 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/README.md: -------------------------------------------------------------------------------- 1 | # Doctrine Cache 2 | 3 | Master: [![Build Status](https://secure.travis-ci.org/doctrine/cache.png?branch=master)](http://travis-ci.org/doctrine/cache) [![Coverage Status](https://coveralls.io/repos/doctrine/cache/badge.png?branch=master)](https://coveralls.io/r/doctrine/cache?branch=master) 4 | 5 | [![Latest Stable Version](https://poser.pugx.org/doctrine/cache/v/stable.png)](https://packagist.org/packages/doctrine/cache) [![Total Downloads](https://poser.pugx.org/doctrine/cache/downloads.png)](https://packagist.org/packages/doctrine/cache) 6 | 7 | Cache component extracted from the Doctrine Common project. 8 | 9 | ## Changelog 10 | 11 | ### v1.2 12 | 13 | * Added support for MongoDB as Cache Provider 14 | * Fix namespace version reset 15 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/UPGRADE.md: -------------------------------------------------------------------------------- 1 | # Upgrade to 1.4 2 | 3 | ## Minor BC Break: `Doctrine\Common\Cache\FileCache#$extension` is now `private`. 4 | 5 | If you need to override the value of `Doctrine\Common\Cache\FileCache#$extension`, then use the 6 | second parameter of `Doctrine\Common\Cache\FileCache#__construct()` instead of overriding 7 | the property in your own implementation. 8 | 9 | ## Minor BC Break: file based caches paths changed 10 | 11 | `Doctrine\Common\Cache\FileCache`, `Doctrine\Common\Cache\PhpFileCache` and 12 | `Doctrine\Common\Cache\FilesystemCache` are using a different cache paths structure. 13 | 14 | If you rely on warmed up caches for deployments, consider that caches generated 15 | with `doctrine/cache` `<1.4` are not compatible with the new directory structure, 16 | and will be ignored. 17 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/build.properties: -------------------------------------------------------------------------------- 1 | # Version class and file 2 | project.version_class = Doctrine\\Common\\Cache\\Version 3 | project.version_file = lib/Doctrine/Common/Cache/Version.php 4 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/lib/Doctrine/Common/Cache/Version.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Cache; 21 | 22 | class Version 23 | { 24 | const VERSION = '1.6.0'; 25 | } 26 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ./tests/Doctrine/ 17 | 18 | 19 | 20 | 21 | 22 | ./lib/Doctrine/ 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ApcCacheTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('The APC cache TTL is not working in a single process/request. See https://bugs.php.net/bug.php?id=58084'); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ApcuCacheTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('The APC cache TTL is not working in a single process/request. See https://bugs.php.net/bug.php?id=58084'); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/CouchbaseCacheTest.php: -------------------------------------------------------------------------------- 1 | couchbase = new Couchbase('127.0.0.1', 'Administrator', 'password', 'default'); 19 | } catch(Exception $ex) { 20 | $this->markTestSkipped('Could not instantiate the Couchbase cache because of: ' . $ex); 21 | } 22 | } 23 | 24 | protected function _getCacheDriver() 25 | { 26 | $driver = new CouchbaseCache(); 27 | $driver->setCouchbase($this->couchbase); 28 | return $driver; 29 | } 30 | } -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/SQLite3CacheTest.php: -------------------------------------------------------------------------------- 1 | file = tempnam(null, 'doctrine-cache-test-'); 20 | unlink($this->file); 21 | $this->sqlite = new SQLite3($this->file); 22 | } 23 | 24 | protected function tearDown() 25 | { 26 | $this->sqlite = null; // DB must be closed before 27 | unlink($this->file); 28 | } 29 | 30 | public function testGetStats() 31 | { 32 | $this->assertNull($this->_getCacheDriver()->getStats()); 33 | } 34 | 35 | /** 36 | * {@inheritDoc} 37 | */ 38 | protected function _getCacheDriver() 39 | { 40 | return new SQLite3Cache($this->sqlite, 'test_table'); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/WinCacheCacheTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('Zend Data Cache only works in apache2handler SAPI.'); 16 | } 17 | } 18 | 19 | public function testGetStats() 20 | { 21 | $cache = $this->_getCacheDriver(); 22 | $stats = $cache->getStats(); 23 | 24 | $this->assertNull($stats); 25 | } 26 | 27 | protected function _getCacheDriver() 28 | { 29 | return new ZendDataCache(); 30 | } 31 | } -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/DoctrineTestCase.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | ../Doctrine/ 20 | 21 | 22 | 23 | 24 | 25 | ../../lib/Doctrine/ 26 | 27 | 28 | 29 | 30 | 31 | performance 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/guzzle/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | sudo: false 4 | 5 | php: 6 | - 5.5 7 | - 5.6 8 | - 7.0 9 | - 7.1 10 | - hhvm 11 | 12 | before_script: 13 | - curl --version 14 | - composer install --no-interaction --prefer-source --dev 15 | - ~/.nvm/nvm.sh install v0.6.14 16 | - ~/.nvm/nvm.sh run v0.6.14 17 | - '[ "$TRAVIS_PHP_VERSION" != "7.0" ] || echo "xdebug.overload_var_dump = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini' 18 | 19 | script: make test 20 | 21 | matrix: 22 | allow_failures: 23 | - php: hhvm 24 | fast_finish: true 25 | 26 | before_deploy: 27 | - rvm 1.9.3 do gem install mime-types -v 2.6.2 28 | - make package 29 | 30 | deploy: 31 | provider: releases 32 | api_key: 33 | secure: UpypqlYgsU68QT/x40YzhHXvzWjFwCNo9d+G8KAdm7U9+blFfcWhV1aMdzugvPMl6woXgvJj7qHq5tAL4v6oswCORhpSBfLgOQVFaica5LiHsvWlAedOhxGmnJqMTwuepjBCxXhs3+I8Kof1n4oUL9gKytXjOVCX/f7XU1HiinU= 34 | file: 35 | - build/artifacts/guzzle.phar 36 | - build/artifacts/guzzle.zip 37 | on: 38 | repo: guzzle/guzzle 39 | tags: true 40 | all_branches: true 41 | php: 5.5 42 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/guzzle/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2016 Michael Dowling, https://github.com/mtdowling 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/guzzle/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzlehttp/guzzle", 3 | "type": "library", 4 | "description": "Guzzle is a PHP HTTP client library", 5 | "keywords": ["framework", "http", "rest", "web service", "curl", "client", "HTTP client"], 6 | "homepage": "http://guzzlephp.org/", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Michael Dowling", 11 | "email": "mtdowling@gmail.com", 12 | "homepage": "https://github.com/mtdowling" 13 | } 14 | ], 15 | "require": { 16 | "php": ">=5.5", 17 | "guzzlehttp/psr7": "^1.3.1", 18 | "guzzlehttp/promises": "^1.0" 19 | }, 20 | "require-dev": { 21 | "ext-curl": "*", 22 | "phpunit/phpunit": "^4.0", 23 | "psr/log": "^1.0" 24 | }, 25 | "autoload": { 26 | "files": ["src/functions_include.php"], 27 | "psr-4": { 28 | "GuzzleHttp\\": "src/" 29 | } 30 | }, 31 | "autoload-dev": { 32 | "psr-4": { 33 | "GuzzleHttp\\Tests\\": "tests/" 34 | } 35 | }, 36 | "extra": { 37 | "branch-alias": { 38 | "dev-master": "6.2-dev" 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php: -------------------------------------------------------------------------------- 1 | stream = $stream; 16 | $msg = $msg ?: 'Could not seek the stream to position ' . $pos; 17 | parent::__construct($msg); 18 | } 19 | 20 | /** 21 | * @return StreamInterface 22 | */ 23 | public function getStream() 24 | { 25 | return $this->stream; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/guzzle/src/Exception/ServerException.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/promises/Makefile: -------------------------------------------------------------------------------- 1 | all: clean test 2 | 3 | test: 4 | vendor/bin/phpunit 5 | 6 | coverage: 7 | vendor/bin/phpunit --coverage-html=artifacts/coverage 8 | 9 | view-coverage: 10 | open artifacts/coverage/index.html 11 | 12 | clean: 13 | rm -rf artifacts/* 14 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/promises/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzlehttp/promises", 3 | "type": "library", 4 | "description": "Guzzle promises library", 5 | "keywords": ["promise"], 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.5.0" 16 | }, 17 | "require-dev": { 18 | "phpunit/phpunit": "~4.0" 19 | }, 20 | "autoload": { 21 | "psr-4": { 22 | "GuzzleHttp\\Promise\\": "src/" 23 | }, 24 | "files": ["src/functions_include.php"] 25 | }, 26 | "extra": { 27 | "branch-alias": { 28 | "dev-master": "1.0-dev" 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/promises/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | tests 7 | 8 | 9 | 10 | 11 | src 12 | 13 | src/ 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/promises/src/AggregateException.php: -------------------------------------------------------------------------------- 1 | assertContains('foo', $e->getMessage()); 12 | $this->assertEquals(['baz', 'bar'], $e->getReason()); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/promises/tests/NotPromiseInstance.php: -------------------------------------------------------------------------------- 1 | nextPromise = new Promise(); 14 | } 15 | 16 | public function then(callable $res = null, callable $rej = null) 17 | { 18 | return $this->nextPromise->then($res, $rej); 19 | } 20 | 21 | public function otherwise(callable $onRejected) 22 | { 23 | return $this->then($onRejected); 24 | } 25 | 26 | public function resolve($value) 27 | { 28 | $this->nextPromise->resolve($value); 29 | } 30 | 31 | public function reject($reason) 32 | { 33 | $this->nextPromise->reject($reason); 34 | } 35 | 36 | public function wait($unwrap = true, $defaultResolution = null) 37 | { 38 | 39 | } 40 | 41 | public function cancel() 42 | { 43 | 44 | } 45 | 46 | public function getState() 47 | { 48 | return $this->nextPromise->getState(); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/promises/tests/RejectionExceptionTest.php: -------------------------------------------------------------------------------- 1 | message = $message; 11 | } 12 | 13 | public function __toString() 14 | { 15 | return $this->message; 16 | } 17 | } 18 | 19 | class Thing2 implements \JsonSerializable 20 | { 21 | public function jsonSerialize() 22 | { 23 | return '{}'; 24 | } 25 | } 26 | 27 | /** 28 | * @covers GuzzleHttp\Promise\RejectionException 29 | */ 30 | class RejectionExceptionTest extends \PHPUnit_Framework_TestCase 31 | { 32 | public function testCanGetReasonFromException() 33 | { 34 | $thing = new Thing1('foo'); 35 | $e = new RejectionException($thing); 36 | 37 | $this->assertSame($thing, $e->getReason()); 38 | $this->assertEquals('The promise was rejected with reason: foo', $e->getMessage()); 39 | } 40 | 41 | public function testCanGetReasonMessageFromJson() 42 | { 43 | $reason = new Thing2(); 44 | $e = new RejectionException($reason); 45 | $this->assertContains("{}", $e->getMessage()); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/promises/tests/TaskQueueTest.php: -------------------------------------------------------------------------------- 1 | assertTrue($tq->isEmpty()); 12 | } 13 | 14 | public function testKnowsIfFull() 15 | { 16 | $tq = new TaskQueue(false); 17 | $tq->add(function () {}); 18 | $this->assertFalse($tq->isEmpty()); 19 | } 20 | 21 | public function testExecutesTasksInOrder() 22 | { 23 | $tq = new TaskQueue(false); 24 | $called = []; 25 | $tq->add(function () use (&$called) { $called[] = 'a'; }); 26 | $tq->add(function () use (&$called) { $called[] = 'b'; }); 27 | $tq->add(function () use (&$called) { $called[] = 'c'; }); 28 | $tq->run(); 29 | $this->assertEquals(['a', 'b', 'c'], $called); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/promises/tests/Thennable.php: -------------------------------------------------------------------------------- 1 | nextPromise = new Promise(); 13 | } 14 | 15 | public function then(callable $res = null, callable $rej = null) 16 | { 17 | return $this->nextPromise->then($res, $rej); 18 | } 19 | 20 | public function resolve($value) 21 | { 22 | $this->nextPromise->resolve($value); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/promises/tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/psr7/Makefile: -------------------------------------------------------------------------------- 1 | all: clean test 2 | 3 | test: 4 | vendor/bin/phpunit $(TEST) 5 | 6 | coverage: 7 | vendor/bin/phpunit --coverage-html=artifacts/coverage $(TEST) 8 | 9 | view-coverage: 10 | open artifacts/coverage/index.html 11 | 12 | check-tag: 13 | $(if $(TAG),,$(error TAG is not defined. Pass via "make tag TAG=4.2.1")) 14 | 15 | tag: check-tag 16 | @echo Tagging $(TAG) 17 | chag update $(TAG) 18 | git commit -a -m '$(TAG) release' 19 | chag tag 20 | @echo "Release has been created. Push using 'make release'" 21 | @echo "Changes made in the release commit" 22 | git diff HEAD~1 HEAD 23 | 24 | release: check-tag 25 | git push origin master 26 | git push origin $(TAG) 27 | 28 | clean: 29 | rm -rf artifacts/* 30 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/psr7/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzlehttp/psr7", 3 | "type": "library", 4 | "description": "PSR-7 message implementation", 5 | "keywords": ["message", "stream", "http", "uri"], 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.4.0", 16 | "psr/http-message": "~1.0" 17 | }, 18 | "require-dev": { 19 | "phpunit/phpunit": "~4.0" 20 | }, 21 | "provide": { 22 | "psr/http-message-implementation": "1.0" 23 | }, 24 | "autoload": { 25 | "psr-4": { 26 | "GuzzleHttp\\Psr7\\": "src/" 27 | }, 28 | "files": ["src/functions_include.php"] 29 | }, 30 | "extra": { 31 | "branch-alias": { 32 | "dev-master": "1.4-dev" 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/psr7/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | tests 7 | 8 | 9 | 10 | 11 | src 12 | 13 | src/ 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/psr7/src/LazyOpenStream.php: -------------------------------------------------------------------------------- 1 | filename = $filename; 27 | $this->mode = $mode; 28 | } 29 | 30 | /** 31 | * Creates the underlying stream lazily when required. 32 | * 33 | * @return StreamInterface 34 | */ 35 | protected function createStream() 36 | { 37 | return stream_for(try_fopen($this->filename, $this->mode)); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/psr7/src/NoSeekStream.php: -------------------------------------------------------------------------------- 1 | assertEquals(3, $drop->write('hel')); 14 | $this->assertEquals(2, $drop->write('lo')); 15 | $this->assertEquals(5, $drop->getSize()); 16 | $this->assertEquals('hello', $drop->read(5)); 17 | $this->assertEquals(0, $drop->getSize()); 18 | $drop->write('12345678910'); 19 | $this->assertEquals(5, $stream->getSize()); 20 | $this->assertEquals(5, $drop->getSize()); 21 | $this->assertEquals('12345', (string) $drop); 22 | $this->assertEquals(0, $drop->getSize()); 23 | $drop->write('hello'); 24 | $this->assertSame(0, $drop->write('test')); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/psr7/tests/InflateStreamTest.php: -------------------------------------------------------------------------------- 1 | assertEquals('test', (string) $b); 15 | } 16 | 17 | public function testInflatesStreamsWithFilename() 18 | { 19 | $content = $this->getGzipStringWithFilename('test'); 20 | $a = Psr7\stream_for($content); 21 | $b = new InflateStream($a); 22 | $this->assertEquals('test', (string) $b); 23 | } 24 | 25 | private function getGzipStringWithFilename($original_string) 26 | { 27 | $gzipped = bin2hex(gzencode($original_string)); 28 | 29 | $header = substr($gzipped, 0, 20); 30 | // set FNAME flag 31 | $header[6]=0; 32 | $header[7]=8; 33 | // make a dummy filename 34 | $filename = "64756d6d7900"; 35 | $rest = substr($gzipped, 20); 36 | 37 | return hex2bin($header . $filename . $rest); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/psr7/tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | setPersistent(true); 27 | 28 | // Now add the handler 29 | $logger->pushHandler($handler, Logger::DEBUG); 30 | 31 | // You can now use your logger 32 | $logger->addInfo('My logger is now ready'); 33 | 34 | ``` 35 | 36 | In this example, using syslog-ng, you should see the log on the log server: 37 | 38 | cweb1 [2012-02-26 00:12:03] my_logger.INFO: My logger is now ready [] [] 39 | 40 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | tests/Monolog/ 7 | 8 | 9 | 10 | 11 | 12 | src/Monolog/ 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Formatter; 13 | 14 | /** 15 | * Interface for formatters 16 | * 17 | * @author Jordi Boggiano 18 | */ 19 | interface FormatterInterface 20 | { 21 | /** 22 | * Formats a log record. 23 | * 24 | * @param array $record A record to format 25 | * @return mixed The formatted record 26 | */ 27 | public function format(array $record); 28 | 29 | /** 30 | * Formats a set of log records. 31 | * 32 | * @param array $records A set of records to format 33 | * @return mixed The formatted set of records 34 | */ 35 | public function formatBatch(array $records); 36 | } 37 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | use Monolog\Logger; 15 | use Monolog\Formatter\NormalizerFormatter; 16 | use Doctrine\CouchDB\CouchDBClient; 17 | 18 | /** 19 | * CouchDB handler for Doctrine CouchDB ODM 20 | * 21 | * @author Markus Bachmann 22 | */ 23 | class DoctrineCouchDBHandler extends AbstractProcessingHandler 24 | { 25 | private $client; 26 | 27 | public function __construct(CouchDBClient $client, $level = Logger::DEBUG, $bubble = true) 28 | { 29 | $this->client = $client; 30 | parent::__construct($level, $bubble); 31 | } 32 | 33 | /** 34 | * {@inheritDoc} 35 | */ 36 | protected function write(array $record) 37 | { 38 | $this->client->postDocument($record['formatted']); 39 | } 40 | 41 | protected function getDefaultFormatter() 42 | { 43 | return new NormalizerFormatter; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler\FingersCrossed; 13 | 14 | /** 15 | * Interface for activation strategies for the FingersCrossedHandler. 16 | * 17 | * @author Johannes M. Schmitt 18 | */ 19 | interface ActivationStrategyInterface 20 | { 21 | /** 22 | * Returns whether the given record activates the handler. 23 | * 24 | * @param array $record 25 | * @return Boolean 26 | */ 27 | public function isHandlerActivated(array $record); 28 | } 29 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler\FingersCrossed; 13 | 14 | use Monolog\Logger; 15 | 16 | /** 17 | * Error level based activation strategy. 18 | * 19 | * @author Johannes M. Schmitt 20 | */ 21 | class ErrorLevelActivationStrategy implements ActivationStrategyInterface 22 | { 23 | private $actionLevel; 24 | 25 | public function __construct($actionLevel) 26 | { 27 | $this->actionLevel = Logger::toMonologLevel($actionLevel); 28 | } 29 | 30 | public function isHandlerActivated(array $record) 31 | { 32 | return $record['level'] >= $this->actionLevel; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | /** 15 | * Exception can be thrown if an extension for an handler is missing 16 | * 17 | * @author Christian Bergau 18 | */ 19 | class MissingExtensionException extends \Exception 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/NullHandler.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | use Monolog\Logger; 15 | 16 | /** 17 | * Blackhole 18 | * 19 | * Any record it can handle will be thrown away. This can be used 20 | * to put on top of an existing stack to override it temporarily. 21 | * 22 | * @author Jordi Boggiano 23 | */ 24 | class NullHandler extends AbstractHandler 25 | { 26 | /** 27 | * @param int $level The minimum logging level at which this handler will be triggered 28 | */ 29 | public function __construct($level = Logger::DEBUG) 30 | { 31 | parent::__construct($level, false); 32 | } 33 | 34 | /** 35 | * {@inheritdoc} 36 | */ 37 | public function handle(array $record) 38 | { 39 | if ($record['level'] < $this->level) { 40 | return false; 41 | } 42 | 43 | return true; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | /** 15 | * Injects memory_get_peak_usage in all records 16 | * 17 | * @see Monolog\Processor\MemoryProcessor::__construct() for options 18 | * @author Rob Jensen 19 | */ 20 | class MemoryPeakUsageProcessor extends MemoryProcessor 21 | { 22 | /** 23 | * @param array $record 24 | * @return array 25 | */ 26 | public function __invoke(array $record) 27 | { 28 | $bytes = memory_get_peak_usage($this->realUsage); 29 | $formatted = $this->formatBytes($bytes); 30 | 31 | $record['extra']['memory_peak_usage'] = $formatted; 32 | 33 | return $record; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | /** 15 | * Injects memory_get_usage in all records 16 | * 17 | * @see Monolog\Processor\MemoryProcessor::__construct() for options 18 | * @author Rob Jensen 19 | */ 20 | class MemoryUsageProcessor extends MemoryProcessor 21 | { 22 | /** 23 | * @param array $record 24 | * @return array 25 | */ 26 | public function __invoke(array $record) 27 | { 28 | $bytes = memory_get_usage($this->realUsage); 29 | $formatted = $this->formatBytes($bytes); 30 | 31 | $record['extra']['memory_usage'] = $formatted; 32 | 33 | return $record; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | /** 15 | * Adds value of getmypid into records 16 | * 17 | * @author Andreas Hörnicke 18 | */ 19 | class ProcessIdProcessor 20 | { 21 | /** 22 | * @param array $record 23 | * @return array 24 | */ 25 | public function __invoke(array $record) 26 | { 27 | $record['extra']['process_id'] = getmypid(); 28 | 29 | return $record; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Processor/TagProcessor.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | /** 15 | * Adds a tags array into record 16 | * 17 | * @author Martijn Riemers 18 | */ 19 | class TagProcessor 20 | { 21 | private $tags; 22 | 23 | public function __construct(array $tags = array()) 24 | { 25 | $this->setTags($tags); 26 | } 27 | 28 | public function addTags(array $tags = array()) 29 | { 30 | $this->tags = array_merge($this->tags, $tags); 31 | } 32 | 33 | public function setTags(array $tags = array()) 34 | { 35 | $this->tags = $tags; 36 | } 37 | 38 | public function __invoke(array $record) 39 | { 40 | $record['extra']['tags'] = $this->tags; 41 | 42 | return $record; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Processor/UidProcessor.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | /** 15 | * Adds a unique identifier into records 16 | * 17 | * @author Simon Mönch 18 | */ 19 | class UidProcessor 20 | { 21 | private $uid; 22 | 23 | public function __construct($length = 7) 24 | { 25 | if (!is_int($length) || $length > 32 || $length < 1) { 26 | throw new \InvalidArgumentException('The uid length must be an integer between 1 and 32'); 27 | } 28 | 29 | $this->uid = substr(hash('md5', uniqid('', true)), 0, $length); 30 | } 31 | 32 | public function __invoke(array $record) 33 | { 34 | $record['extra']['uid'] = $this->uid; 35 | 36 | return $record; 37 | } 38 | 39 | /** 40 | * @return string 41 | */ 42 | public function getUid() 43 | { 44 | return $this->uid; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/ErrorHandlerTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog; 13 | 14 | use Monolog\Handler\TestHandler; 15 | 16 | class ErrorHandlerTest extends \PHPUnit_Framework_TestCase 17 | { 18 | public function testHandleError() 19 | { 20 | $logger = new Logger('test', array($handler = new TestHandler)); 21 | $errHandler = new ErrorHandler($logger); 22 | 23 | $errHandler->registerErrorHandler(array(E_USER_NOTICE => Logger::EMERGENCY), false); 24 | trigger_error('Foo', E_USER_ERROR); 25 | $this->assertCount(1, $handler->getRecords()); 26 | $this->assertTrue($handler->hasErrorRecords()); 27 | trigger_error('Foo', E_USER_NOTICE); 28 | $this->assertCount(2, $handler->getRecords()); 29 | $this->assertTrue($handler->hasEmergencyRecords()); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Handler/CouchDBHandlerTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | use Monolog\TestCase; 15 | use Monolog\Logger; 16 | 17 | class CouchDBHandlerTest extends TestCase 18 | { 19 | public function testHandle() 20 | { 21 | $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34)); 22 | 23 | $handler = new CouchDBHandler(); 24 | 25 | try { 26 | $handler->handle($record); 27 | } catch (\RuntimeException $e) { 28 | $this->markTestSkipped('Could not connect to couchdb server on http://localhost:5984'); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Handler/Fixtures/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springjk/wordpress-wechat-broadcast/1fd0261904dd41d11be25b4557eca7f1ca68584a/vendor/monolog/monolog/tests/Monolog/Handler/Fixtures/.gitkeep -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Handler/GelfMockMessagePublisher.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | use Gelf\MessagePublisher; 15 | use Gelf\Message; 16 | 17 | class GelfMockMessagePublisher extends MessagePublisher 18 | { 19 | public function publish(Message $message) 20 | { 21 | $this->lastMessage = $message; 22 | } 23 | 24 | public $lastMessage = null; 25 | } 26 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Handler/MockRavenClient.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | use Raven_Client; 15 | 16 | class MockRavenClient extends Raven_Client 17 | { 18 | public function capture($data, $stack, $vars = null) 19 | { 20 | $data = array_merge($this->get_user_data(), $data); 21 | $this->lastData = $data; 22 | $this->lastStack = $stack; 23 | } 24 | 25 | public $lastData; 26 | public $lastStack; 27 | } 28 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | use Monolog\TestCase; 15 | use Monolog\Logger; 16 | 17 | /** 18 | * @covers Monolog\Handler\NullHandler::handle 19 | */ 20 | class NullHandlerTest extends TestCase 21 | { 22 | public function testHandle() 23 | { 24 | $handler = new NullHandler(); 25 | $this->assertTrue($handler->handle($this->getRecord())); 26 | } 27 | 28 | public function testHandleLowerLevelRecord() 29 | { 30 | $handler = new NullHandler(Logger::WARNING); 31 | $this->assertFalse($handler->handle($this->getRecord(Logger::DEBUG))); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Handler/SamplingHandlerTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | use Monolog\TestCase; 15 | 16 | /** 17 | * @covers Monolog\Handler\SamplingHandler::handle 18 | */ 19 | class SamplingHandlerTest extends TestCase 20 | { 21 | public function testHandle() 22 | { 23 | $testHandler = new TestHandler(); 24 | $handler = new SamplingHandler($testHandler, 2); 25 | for ($i = 0; $i < 10000; $i++) { 26 | $handler->handle($this->getRecord()); 27 | } 28 | $count = count($testHandler->getRecords()); 29 | // $count should be half of 10k, so between 4k and 6k 30 | $this->assertLessThan(6000, $count); 31 | $this->assertGreaterThan(4000, $count); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Processor/GitProcessorTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | use Monolog\TestCase; 15 | 16 | class GitProcessorTest extends TestCase 17 | { 18 | /** 19 | * @covers Monolog\Processor\GitProcessor::__invoke 20 | */ 21 | public function testProcessor() 22 | { 23 | $processor = new GitProcessor(); 24 | $record = $processor($this->getRecord()); 25 | 26 | $this->assertArrayHasKey('git', $record['extra']); 27 | $this->assertTrue(!is_array($record['extra']['git']['branch'])); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Processor/ProcessIdProcessorTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | use Monolog\TestCase; 15 | 16 | class ProcessIdProcessorTest extends TestCase 17 | { 18 | /** 19 | * @covers Monolog\Processor\ProcessIdProcessor::__invoke 20 | */ 21 | public function testProcessor() 22 | { 23 | $processor = new ProcessIdProcessor(); 24 | $record = $processor($this->getRecord()); 25 | $this->assertArrayHasKey('process_id', $record['extra']); 26 | $this->assertInternalType('int', $record['extra']['process_id']); 27 | $this->assertGreaterThan(0, $record['extra']['process_id']); 28 | $this->assertEquals(getmypid(), $record['extra']['process_id']); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/tests/Monolog/Processor/UidProcessorTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | use Monolog\TestCase; 15 | 16 | class UidProcessorTest extends TestCase 17 | { 18 | /** 19 | * @covers Monolog\Processor\UidProcessor::__invoke 20 | */ 21 | public function testProcessor() 22 | { 23 | $processor = new UidProcessor(); 24 | $record = $processor($this->getRecord()); 25 | $this->assertArrayHasKey('uid', $record['extra']); 26 | } 27 | 28 | public function testGetUid() 29 | { 30 | $processor = new UidProcessor(10); 31 | $this->assertEquals(10, strlen($processor->getUid())); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /vendor/overtrue/socialite/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | composer.phar 3 | composer.lock 4 | .DS_Store 5 | /.idea 6 | Thumbs.db 7 | /*.php 8 | sftp-config.json -------------------------------------------------------------------------------- /vendor/overtrue/socialite/.php_cs: -------------------------------------------------------------------------------- 1 | 7 | 8 | This source file is subject to the MIT license that is bundled 9 | with this source code in the file LICENSE. 10 | EOF; 11 | 12 | Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header); 13 | 14 | return Symfony\CS\Config\Config::create() 15 | // use default SYMFONY_LEVEL and extra fixers: 16 | ->fixers(array( 17 | 'header_comment', 18 | 'short_array_syntax', 19 | 'ordered_use', 20 | 'php_unit_construct', 21 | 'php_unit_strict', 22 | // 'strict', 23 | // 'strict_param', 24 | 'align_double_arrow', 25 | 'align_equals' 26 | )) 27 | ->finder( 28 | Symfony\CS\Finder\DefaultFinder::create() 29 | ->exclude('vendor') 30 | ->in(__DIR__) 31 | ) 32 | ; -------------------------------------------------------------------------------- /vendor/overtrue/socialite/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 5.5 5 | - 5.6 6 | - hhvm 7 | 8 | sudo: false 9 | 10 | install: travis_retry composer install --no-interaction --prefer-source 11 | 12 | script: vendor/bin/phpunit --verbose 13 | -------------------------------------------------------------------------------- /vendor/overtrue/socialite/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /vendor/overtrue/socialite/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "overtrue/socialite", 3 | "description": "A collection of OAuth 2 packages that extracts from laravel/socialite.", 4 | "keywords": ["OAuth", "social", "login", "Weibo", "WeChat", "QQ"], 5 | "autoload": { 6 | "psr-4": { 7 | "Overtrue\\Socialite\\": "src/" 8 | } 9 | }, 10 | "require": { 11 | "php": ">=5.4.0", 12 | "guzzlehttp/guzzle": "~5.0|~6.0", 13 | "symfony/http-foundation": "~2.6|~2.7|~2.8|~3.0" 14 | }, 15 | "require-dev": { 16 | "mockery/mockery": "~0.9", 17 | "phpunit/phpunit": "~4.0" 18 | }, 19 | "license": "MIT", 20 | "authors": [ 21 | { 22 | "name": "overtrue", 23 | "email": "anzhengchao@gmail.com" 24 | } 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /vendor/overtrue/socialite/phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 15 | ./tests/ 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /vendor/overtrue/socialite/src/AccessTokenInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | namespace Overtrue\Socialite; 13 | 14 | /** 15 | * Interface AccessTokenInterface. 16 | */ 17 | interface AccessTokenInterface 18 | { 19 | /** 20 | * Return the access token string. 21 | * 22 | * @return string 23 | */ 24 | public function getToken(); 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/socialite/src/FactoryInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | namespace Overtrue\Socialite; 13 | 14 | /** 15 | * Interface FactoryInterface. 16 | */ 17 | interface FactoryInterface 18 | { 19 | /** 20 | * Get an OAuth provider implementation. 21 | * 22 | * @param string $driver 23 | * 24 | * @return \Overtrue\Socialite 25 | */ 26 | public function driver($driver = null); 27 | } 28 | -------------------------------------------------------------------------------- /vendor/overtrue/socialite/src/InvalidStateException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | namespace Overtrue\Socialite; 13 | 14 | class InvalidStateException extends \InvalidArgumentException 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /vendor/overtrue/socialite/src/ProviderInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | namespace Overtrue\Socialite; 13 | 14 | interface ProviderInterface 15 | { 16 | /** 17 | * Redirect the user to the authentication page for the provider. 18 | * 19 | * @return \Symfony\Component\HttpFoundation\RedirectResponse 20 | */ 21 | public function redirect(); 22 | 23 | /** 24 | * Get the User instance for the authenticated user. 25 | * 26 | * @param \Overtrue\Socialite\AccessTokenInterface $token 27 | * 28 | * @return \Overtrue\Socialite\User 29 | */ 30 | public function user(AccessTokenInterface $token = null); 31 | } 32 | -------------------------------------------------------------------------------- /vendor/overtrue/socialite/src/UserInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | namespace Overtrue\Socialite; 13 | 14 | /** 15 | * Interface UserInterface. 16 | */ 17 | interface UserInterface 18 | { 19 | /** 20 | * Get the unique identifier for the user. 21 | * 22 | * @return string 23 | */ 24 | public function getId(); 25 | 26 | /** 27 | * Get the nickname / username for the user. 28 | * 29 | * @return string 30 | */ 31 | public function getNickname(); 32 | 33 | /** 34 | * Get the full name of the user. 35 | * 36 | * @return string 37 | */ 38 | public function getName(); 39 | 40 | /** 41 | * Get the e-mail address of the user. 42 | * 43 | * @return string 44 | */ 45 | public function getEmail(); 46 | 47 | /** 48 | * Get the avatar / image URL for the user. 49 | * 50 | * @return string 51 | */ 52 | public function getAvatar(); 53 | } 54 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/.phplint.yml: -------------------------------------------------------------------------------- 1 | path: ./ 2 | jobs: 10 3 | exclude: 4 | - .github 5 | - build 6 | - vendor -------------------------------------------------------------------------------- /vendor/overtrue/wechat/.styleci.yml: -------------------------------------------------------------------------------- 1 | preset: symfony 2 | 3 | linting: true 4 | 5 | enabled: 6 | - strict 7 | - strict_param 8 | - ordered_use 9 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/BACKERS.md: -------------------------------------------------------------------------------- 1 | ¥ 750 2 | --- 3 | @JellyBool (Laravist.com)[https://github.com/JellyBool] -------------------------------------------------------------------------------- /vendor/overtrue/wechat/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "overtrue/wechat", 3 | "description": "微信SDK", 4 | "keywords": [ 5 | "wechat", 6 | "weixin", 7 | "weixin-sdk", 8 | "sdk" 9 | ], 10 | "license": "MIT", 11 | "authors": [ 12 | { 13 | "name": "overtrue", 14 | "email": "anzhengchao@gmail.com" 15 | } 16 | ], 17 | "require": { 18 | "php":">=5.5.0", 19 | "ext-openssl": "*", 20 | "pimple/pimple": "~3.0", 21 | "monolog/monolog": "^1.17", 22 | "overtrue/socialite": ">=1.0.7", 23 | "doctrine/cache": "~1.4", 24 | "guzzlehttp/guzzle": "~6.2.1", 25 | "symfony/http-foundation": "~2.6|~2.7|~2.8|~3.0", 26 | "symfony/psr-http-message-bridge": "~0.3" 27 | }, 28 | "require-dev": { 29 | "phpunit/phpunit": "~4.0", 30 | "overtrue/phplint": "dev-master", 31 | "mockery/mockery": "^1.0@dev" 32 | }, 33 | "minimum-stability" : "dev", 34 | "autoload": { 35 | "psr-4": { 36 | "EasyWeChat\\": "src/" 37 | }, 38 | "files": [ 39 | "src/Payment/helpers.php" 40 | ] 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Broadcast/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Broadcast/README.md: -------------------------------------------------------------------------------- 1 | # broadcast 2 | 微信 SDK 群发模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Broadcast/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/broadcast", 3 | "description": "broadcast module for EasyWeChat SDK.", 4 | "keywords": [ 5 | "wechat", 6 | "weixin", 7 | "SDK", 8 | "broadcast", 9 | "easywechat" 10 | ], 11 | "license": "MIT", 12 | "authors": [ 13 | { 14 | "name": "overtrue", 15 | "email": "anzhengchao@gmail.com" 16 | } 17 | ], 18 | "autoload": { 19 | "psr-4": { 20 | "EasyWeChat\\Broadcast\\": "." 21 | } 22 | }, 23 | "minimum-stability": "dev", 24 | "require-dev": { 25 | "phpunit/phpunit": "4.8.*", 26 | "mockery/mockery": "^1.0@dev" 27 | }, 28 | "require": { 29 | "easywechat/core": "dev-master", 30 | "easywechat/message": "dev-master" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Card/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Card/README.md: -------------------------------------------------------------------------------- 1 | # card 2 | 微信卡券 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Card/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/card", 3 | "description": "card module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "card", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "wangniuniu", 9 | "email": "1098484600@qq.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Card\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Core/Exception.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Exception.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Core; 22 | 23 | use Exception as BaseException; 24 | 25 | /** 26 | * Class Exception. 27 | */ 28 | class Exception extends BaseException 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Core/Exceptions/FaultException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * FaultException.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Core\Exceptions; 22 | 23 | use EasyWeChat\Core\Exception; 24 | 25 | /** 26 | * Class FaultException. 27 | */ 28 | class FaultException extends Exception 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Core/Exceptions/HttpException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * HttpException.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Core\Exceptions; 22 | 23 | use EasyWeChat\Core\Exception; 24 | 25 | /** 26 | * Class HttpException. 27 | */ 28 | class HttpException extends Exception 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Core/Exceptions/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * InvalidArgumentException.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Core\Exceptions; 22 | 23 | use EasyWeChat\Core\Exception; 24 | 25 | /** 26 | * Class InvalidArgumentException. 27 | */ 28 | class InvalidArgumentException extends Exception 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Core/Exceptions/InvalidConfigException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * InvalidConfigException.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Core\Exceptions; 22 | 23 | use EasyWeChat\Core\Exception; 24 | 25 | /** 26 | * Class InvalidConfigException. 27 | */ 28 | class InvalidConfigException extends Exception 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Core/Exceptions/RuntimeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * RuntimeException.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Core\Exceptions; 22 | 23 | use EasyWeChat\Core\Exception; 24 | 25 | /** 26 | * Class RuntimeException. 27 | */ 28 | class RuntimeException extends Exception 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Core/Exceptions/UnboundServiceException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * UnBoundServiceException.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Core\Exceptions; 22 | 23 | use EasyWeChat\Core\Exception; 24 | 25 | /** 26 | * Class InvalidConfigException. 27 | */ 28 | class UnboundServiceException extends Exception 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Core/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Core/README.md: -------------------------------------------------------------------------------- 1 | # core 2 | 微信 SDK 核心部分 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Core/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/core", 3 | "description": "core module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Core\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "~4.0", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "php":">=5.5.0", 24 | "doctrine/cache": "~1.4", 25 | "easywechat/support" : "dev-master", 26 | "guzzlehttp/guzzle": "~6.1" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Device/DeviceHttpException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * DeviceHttpException.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Device; 22 | 23 | use EasyWeChat\Core\Exception as CoreException; 24 | 25 | /** 26 | * Class DeviceHttpException. 27 | */ 28 | class DeviceHttpException extends CoreException 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Device/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Device/README.md: -------------------------------------------------------------------------------- 1 | # device 2 | 微信 SDK 设备管理模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Device/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/device", 3 | "description": "device module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "device", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Device\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Encryption/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/encryption", 3 | "description": "encryption module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "encryption", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "require": { 13 | "ext-openssl": "*" 14 | }, 15 | "autoload": { 16 | "psr-4": { 17 | "EasyWeChat\\Encryption\\": "." 18 | } 19 | }, 20 | "minimum-stability":"dev", 21 | "require-dev": { 22 | "phpunit/phpunit": "~5.0", 23 | "mockery/mockery": "^1.0@dev" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Foundation/Config.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Config.php. 14 | * 15 | * Part of Overtrue\WeChat. 16 | * 17 | * For the full copyright and license information, please view the LICENSE 18 | * file that was distributed with this source code. 19 | * 20 | * @author overtrue 21 | * @copyright 2015 22 | * 23 | * @link https://github.com/overtrue/wechat 24 | * @link http://overtrue.me 25 | */ 26 | namespace EasyWeChat\Foundation; 27 | 28 | use EasyWeChat\Support\Collection; 29 | 30 | /** 31 | * Class Config. 32 | */ 33 | class Config extends Collection 34 | { 35 | } 36 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Js/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Easy WeChat 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Js/README.md: -------------------------------------------------------------------------------- 1 | # JS 2 | 微信 SDK JSSDK模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Js/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/js", 3 | "description": "js module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Js\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Material/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Easy WeChat 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Material/README.md: -------------------------------------------------------------------------------- 1 | # material 2 | 微信 SDK 素材管理模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Material/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/material", 3 | "description": "material module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "material", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Material\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Menu/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Menu/README.md: -------------------------------------------------------------------------------- 1 | # menu 2 | 微信 SDK 自定义菜单模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Menu/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/menu", 3 | "description": "menu module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "menu", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Menu\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Message/Image.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Image.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Message; 22 | 23 | /** 24 | * Class Image. 25 | * 26 | * @property string $media_id 27 | */ 28 | class Image extends AbstractMessage 29 | { 30 | /** 31 | * Message type. 32 | * 33 | * @var string 34 | */ 35 | protected $type = 'image'; 36 | 37 | /** 38 | * Properties. 39 | * 40 | * @var array 41 | */ 42 | protected $properties = ['media_id']; 43 | 44 | /** 45 | * Set media_id. 46 | * 47 | * @param string $mediaId 48 | * 49 | * @return Image 50 | */ 51 | public function media($mediaId) 52 | { 53 | $this->setAttribute('media_id', $mediaId); 54 | 55 | return $this; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Message/Link.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Link.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Message; 22 | 23 | /** 24 | * Class Link. 25 | */ 26 | class Link extends AbstractMessage 27 | { 28 | /** 29 | * Message type. 30 | * 31 | * @var string 32 | */ 33 | protected $type = 'link'; 34 | 35 | /** 36 | * Properties. 37 | * 38 | * @var array 39 | */ 40 | protected $properties = [ 41 | 'title', 42 | 'description', 43 | 'url', 44 | ]; 45 | } 46 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Message/Location.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Location.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Message; 22 | 23 | /** 24 | * Class Location. 25 | */ 26 | class Location extends AbstractMessage 27 | { 28 | /** 29 | * Message type. 30 | * 31 | * @var string 32 | */ 33 | protected $type = 'location'; 34 | 35 | /** 36 | * Properties. 37 | * 38 | * @var array 39 | */ 40 | protected $properties = [ 41 | 'latitude', 42 | 'longitude', 43 | 'scale', 44 | 'label', 45 | 'precision', 46 | ]; 47 | } 48 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Message/Material.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Material.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Message; 22 | 23 | /** 24 | * Class Material. 25 | */ 26 | class Material extends AbstractMessage 27 | { 28 | /** 29 | * Properties. 30 | * 31 | * @var array 32 | */ 33 | protected $properties = ['media_id']; 34 | 35 | /** 36 | * Material constructor. 37 | * 38 | * @param string $mediaId 39 | * @param string $type 40 | */ 41 | public function __construct($type, $mediaId) 42 | { 43 | $this->set('media_id', $mediaId); 44 | $this->type = $type; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Message/README.md: -------------------------------------------------------------------------------- 1 | # message 2 | 3 | message 4 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Message/Raw.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Raw.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Message; 22 | 23 | /** 24 | * Class Raw. 25 | */ 26 | class Raw extends AbstractMessage 27 | { 28 | /** 29 | * @var string 30 | */ 31 | protected $type = 'raw'; 32 | 33 | /** 34 | * Properties. 35 | * 36 | * @var array 37 | */ 38 | protected $properties = ['content']; 39 | 40 | /** 41 | * Constructor. 42 | * 43 | * @param string $content 44 | */ 45 | public function __construct($content) 46 | { 47 | parent::__construct(['content' => strval($content)]); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Message/ShortVideo.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * ShortVideo.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Message; 22 | 23 | /** 24 | * Class ShortVideo. 25 | * 26 | * @property string $title 27 | * @property string $media_id 28 | * @property string $description 29 | * @property string $thumb_media_id 30 | */ 31 | class ShortVideo extends Video 32 | { 33 | /** 34 | * Message type. 35 | * 36 | * @var string 37 | */ 38 | protected $type = 'shortvideo'; 39 | } 40 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Message/Text.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Text.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Message; 22 | 23 | /** 24 | * Class Text. 25 | * 26 | * @property string $content 27 | */ 28 | class Text extends AbstractMessage 29 | { 30 | /** 31 | * Message type. 32 | * 33 | * @var string 34 | */ 35 | protected $type = 'text'; 36 | 37 | /** 38 | * Properties. 39 | * 40 | * @var array 41 | */ 42 | protected $properties = ['content']; 43 | } 44 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Message/Transfer.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Transfer.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Message; 22 | 23 | /** 24 | * Class Transfer. 25 | * 26 | * @property string $to 27 | * @property string $account 28 | */ 29 | class Transfer extends AbstractMessage 30 | { 31 | /** 32 | * Message type. 33 | * 34 | * @var string 35 | */ 36 | protected $type = 'transfer_customer_service'; 37 | 38 | /** 39 | * Properties. 40 | * 41 | * @var array 42 | */ 43 | protected $properties = [ 44 | 'account', 45 | ]; 46 | } 47 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Message/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/message", 3 | "description": "message module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "message", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Message\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "~4.0", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/support": "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Notice/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Notice/README.md: -------------------------------------------------------------------------------- 1 | # notice 2 | 微信 SDK 模板消息 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Notice/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/notice", 3 | "description": "notice module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "notice", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Notice\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/POI/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/POI/README.md: -------------------------------------------------------------------------------- 1 | # POI 2 | 微信 SDK 门店模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/POI/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/poi", 3 | "description": "POI module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "POI", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\POI\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Payment/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 wechat-sdk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Payment/README.md: -------------------------------------------------------------------------------- 1 | # payment 2 | 微信支付 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Payment/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/payment", 3 | "description": "payment module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "payment", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Payment\\": "." 15 | }, 16 | "files": ["helpers.php"] 17 | }, 18 | "require-dev": { 19 | "phpunit/phpunit": "~4.0", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/QRCode/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Easy WeChat 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/QRCode/README.md: -------------------------------------------------------------------------------- 1 | # qrcode 2 | 微信SDK 二维码模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/QRCode/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/qrcode", 3 | "description": "qrcode module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "qrcode", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\QRCode\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Reply/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Easy WeChat 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Reply/README.md: -------------------------------------------------------------------------------- 1 | # Reply 2 | 微信 SDK 自动回复模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Reply/Reply.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Reply.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Reply; 22 | 23 | use EasyWeChat\Core\AbstractAPI; 24 | 25 | /** 26 | * Class Reply. 27 | */ 28 | class Reply extends AbstractAPI 29 | { 30 | const API_GET_CURRENT_SETTING = 'https://api.weixin.qq.com/cgi-bin/get_current_autoreply_info'; 31 | 32 | /** 33 | * Get current auto reply settings. 34 | * 35 | * @return \EasyWeChat\Support\Collection 36 | */ 37 | public function current() 38 | { 39 | return $this->parseJSON('get', [self::API_GET_CURRENT_SETTING]); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Reply/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/reply", 3 | "description": "reply module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Reply\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Semantic/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Easy WeChat 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Semantic/README.md: -------------------------------------------------------------------------------- 1 | # semantic 2 | 微信SDK 语义理解模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Semantic/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/semantic", 3 | "description": "semantic module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "semantic", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Semantic\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Server/BadRequestException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * BadRequestException.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Server; 22 | 23 | use EasyWeChat\Core\Exception; 24 | 25 | /** 26 | * Class BadRequestException. 27 | */ 28 | class BadRequestException extends Exception 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Server/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Server/README.md: -------------------------------------------------------------------------------- 1 | # server 2 | 微信 SDK 服务器端模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Server/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/server", 3 | "description": "server module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "server", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Server\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master", 24 | "symfony/http-foundation": "~2.7|~2.8|~3.0", 25 | "easywechat/message": "dev-master", 26 | "easywechat/encryption": "dev-master" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Staff/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Staff/README.md: -------------------------------------------------------------------------------- 1 | # staff 2 | 微信 SDK 客服模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Staff/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/staff", 3 | "description": "staff module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "staff", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Staff\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master", 24 | "easywechat/message": "dev-master" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Stats/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Easy WeChat 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Stats/README.md: -------------------------------------------------------------------------------- 1 | # stats 2 | 微信 SDK 数据统计模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Stats/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/stats", 3 | "description": "stats module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "stats", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Stats\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Store/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Easy WeChat 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Store/Model/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springjk/wordpress-wechat-broadcast/1fd0261904dd41d11be25b4557eca7f1ca68584a/vendor/overtrue/wechat/src/Store/Model/.gitkeep -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Store/README.md: -------------------------------------------------------------------------------- 1 | # Store 2 | 微信 SDK 小店 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Store/Store.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Store.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Store; 22 | 23 | use EasyWeChat\Core\AbstractAPI; 24 | 25 | /** 26 | * Class stats. 27 | */ 28 | class Store extends AbstractAPI 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Store/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/store", 3 | "description": "shop module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "shop", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Store\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Support/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Support/README.md: -------------------------------------------------------------------------------- 1 | # support 2 | Tools for Wechat SDK. 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Support/Url.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Url.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Support; 22 | 23 | /** 24 | * Class Url. 25 | */ 26 | class Url 27 | { 28 | /** 29 | * Get current url. 30 | * 31 | * @return string 32 | */ 33 | public static function current() 34 | { 35 | $protocol = (!empty($_SERVER['HTTPS']) 36 | && $_SERVER['HTTPS'] !== 'off' 37 | || (int) $_SERVER['SERVER_PORT'] === 443) ? 'https://' : 'http://'; 38 | 39 | return $protocol.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Support/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/support", 3 | "description": "support module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "support", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Support\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "monolog/monolog": "1.*" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Url/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Easy WeChat 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Url/README.md: -------------------------------------------------------------------------------- 1 | # qrcode 2 | 微信SDK 二维码模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Url/Url.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * This source file is subject to the MIT license that is bundled 9 | * with this source code in the file LICENSE. 10 | */ 11 | 12 | /** 13 | * Url.php. 14 | * 15 | * @author overtrue 16 | * @copyright 2015 overtrue 17 | * 18 | * @link https://github.com/overtrue 19 | * @link http://overtrue.me 20 | */ 21 | namespace EasyWeChat\Url; 22 | 23 | use EasyWeChat\Core\AbstractAPI; 24 | 25 | /** 26 | * Class Url. 27 | */ 28 | class Url extends AbstractAPI 29 | { 30 | const API_SHORTEN_URL = 'https://api.weixin.qq.com/cgi-bin/shorturl'; 31 | 32 | /** 33 | * Shorten the url. 34 | * 35 | * @param string $url 36 | * 37 | * @return string 38 | */ 39 | public function shorten($url) 40 | { 41 | $params = [ 42 | 'action' => 'long2short', 43 | 'long_url' => $url, 44 | ]; 45 | 46 | return $this->parseJSON('json', [self::API_SHORTEN_URL, $params]); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/Url/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/url", 3 | "description": "url module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "url", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\Url\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/User/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 overtrue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/User/README.md: -------------------------------------------------------------------------------- 1 | # user 2 | 微信 SDK 用户与用户组模块 3 | -------------------------------------------------------------------------------- /vendor/overtrue/wechat/src/User/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "easywechat/user", 3 | "description": "user module for EasyWeChat SDK.", 4 | "keywords": ["wechat", "weixin", "SDK", "user", "easywechat"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "overtrue", 9 | "email": "anzhengchao@gmail.com" 10 | } 11 | ], 12 | "autoload": { 13 | "psr-4": { 14 | "EasyWeChat\\User\\": "." 15 | } 16 | }, 17 | "minimum-stability":"dev", 18 | "require-dev": { 19 | "phpunit/phpunit": "4.8.*", 20 | "mockery/mockery": "^1.0@dev" 21 | }, 22 | "require": { 23 | "easywechat/core" : "dev-master" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/.gitignore: -------------------------------------------------------------------------------- 1 | phpunit.xml 2 | composer.lock 3 | /vendor/ 4 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | env: 4 | matrix: 5 | - PIMPLE_EXT=no 6 | - PIMPLE_EXT=yes 7 | global: 8 | - REPORT_EXIT_STATUS=1 9 | 10 | php: 11 | - 5.3 12 | - 5.4 13 | - 5.5 14 | - 5.6 15 | - hhvm 16 | 17 | before_script: 18 | - composer self-update 19 | - COMPOSER_ROOT_VERSION=dev-master composer dump-autoload 20 | - if [ "$PIMPLE_EXT" == "yes" ]; then sh -c "cd ext/pimple && phpize && ./configure && make && sudo make install"; fi 21 | - if [ "$PIMPLE_EXT" == "yes" ]; then echo "extension=pimple.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi 22 | 23 | script: 24 | - cd ext/pimple 25 | - if [ "$PIMPLE_EXT" == "yes" ]; then yes n | make test | tee output ; grep -E 'Tests failed +. +0' output; fi 26 | - cd ../.. 27 | - phpunit 28 | 29 | matrix: 30 | exclude: 31 | - php: hhvm 32 | env: PIMPLE_EXT=yes 33 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/CHANGELOG: -------------------------------------------------------------------------------- 1 | * 3.0.2 (2015-09-11) 2 | 3 | * refactored the C extension 4 | * minor non-significant changes 5 | 6 | * 3.0.1 (2015-07-30) 7 | 8 | * simplified some code 9 | * fixed a segfault in the C extension 10 | 11 | * 3.0.0 (2014-07-24) 12 | 13 | * removed the Pimple class alias (use Pimple\Container instead) 14 | 15 | * 2.1.1 (2014-07-24) 16 | 17 | * fixed compiler warnings for the C extension 18 | * fixed code when dealing with circular references 19 | 20 | * 2.1.0 (2014-06-24) 21 | 22 | * moved the Pimple to Pimple\Container (with a BC layer -- Pimple is now a 23 | deprecated alias which will be removed in Pimple 3.0) 24 | * added Pimple\ServiceProviderInterface (and Pimple::register()) 25 | 26 | * 2.0.0 (2014-02-10) 27 | 28 | * changed extend to automatically re-assign the extended service and keep it as shared or factory 29 | (to keep BC, extend still returns the extended service) 30 | * changed services to be shared by default (use factory() for factory 31 | services) 32 | 33 | * 1.0.0 34 | 35 | * initial version 36 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009-2015 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pimple/pimple", 3 | "type": "library", 4 | "description": "Pimple, a simple Dependency Injection Container", 5 | "keywords": ["dependency injection", "container"], 6 | "homepage": "http://pimple.sensiolabs.org", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.0" 16 | }, 17 | "autoload": { 18 | "psr-0": { "Pimple": "src/" } 19 | }, 20 | "extra": { 21 | "branch-alias": { 22 | "dev-master": "3.0.x-dev" 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/.gitignore: -------------------------------------------------------------------------------- 1 | *.sw* 2 | .deps 3 | Makefile 4 | Makefile.fragments 5 | Makefile.global 6 | Makefile.objects 7 | acinclude.m4 8 | aclocal.m4 9 | build/ 10 | config.cache 11 | config.guess 12 | config.h 13 | config.h.in 14 | config.log 15 | config.nice 16 | config.status 17 | config.sub 18 | configure 19 | configure.in 20 | install-sh 21 | libtool 22 | ltmain.sh 23 | missing 24 | mkinstalldirs 25 | run-tests.php 26 | *.loT 27 | .libs/ 28 | modules/ 29 | *.la 30 | *.lo 31 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/README.md: -------------------------------------------------------------------------------- 1 | This is Pimple 2 implemented in C 2 | 3 | * PHP >= 5.3 4 | * Not tested under Windows, might work 5 | 6 | Install 7 | ======= 8 | 9 | > phpize 10 | > ./configure 11 | > make 12 | > make install 13 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/config.w32: -------------------------------------------------------------------------------- 1 | // $Id$ 2 | // vim:ft=javascript 3 | 4 | // If your extension references something external, use ARG_WITH 5 | // ARG_WITH("pimple", "for pimple support", "no"); 6 | 7 | // Otherwise, use ARG_ENABLE 8 | // ARG_ENABLE("pimple", "enable pimple support", "no"); 9 | 10 | if (PHP_PIMPLE != "no") { 11 | EXTENSION("pimple", "pimple.c"); 12 | } 13 | 14 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/001.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test for read_dim/write_dim handlers 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 38 | 39 | --EXPECTF-- 40 | foo 41 | 42 42 | foo2 43 | foo99 44 | baz 45 | strstr -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/002.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test for constructor 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 'foo')); 11 | var_dump($p[42]); 12 | ?> 13 | --EXPECT-- 14 | NULL 15 | string(3) "foo" 16 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/003.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test empty dimensions 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 14 | --EXPECT-- 15 | int(42) 16 | string(3) "bar" -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/004.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test has/unset dim handlers 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 24 | --EXPECT-- 25 | int(42) 26 | NULL 27 | bool(true) 28 | bool(false) 29 | bool(true) 30 | bool(true) -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/005.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test simple class inheritance 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | someAttr; 23 | ?> 24 | --EXPECT-- 25 | string(3) "hit" 26 | foo 27 | fooAttr -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/007.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test for read_dim/write_dim handlers 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 20 | --EXPECTF-- 21 | foo 22 | 42 -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/008.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test frozen services 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 29 | --EXPECTF-- 30 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/009.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test service is called as callback, and only once 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 12 | --EXPECTF-- 13 | bool(true) -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/010.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test service is called as callback for every callback type 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 36 | --EXPECTF-- 37 | callme 38 | called 39 | Foo::bar 40 | array(2) { 41 | [0]=> 42 | string(3) "Foo" 43 | [1]=> 44 | string(3) "bar" 45 | } -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/011.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test service callback throwing an exception 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | 18 | --EXPECTF-- 19 | all right! -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/012.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test service factory 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | factory($f = function() { var_dump('called-1'); return 'ret-1';}); 11 | 12 | $p[] = $f; 13 | 14 | $p[] = function () { var_dump('called-2'); return 'ret-2'; }; 15 | 16 | var_dump($p[0]); 17 | var_dump($p[0]); 18 | var_dump($p[1]); 19 | var_dump($p[1]); 20 | ?> 21 | --EXPECTF-- 22 | string(8) "called-1" 23 | string(5) "ret-1" 24 | string(8) "called-1" 25 | string(5) "ret-1" 26 | string(8) "called-2" 27 | string(5) "ret-2" 28 | string(5) "ret-2" -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/013.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test keys() 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | keys()); 11 | 12 | $p['foo'] = 'bar'; 13 | $p[] = 'foo'; 14 | 15 | var_dump($p->keys()); 16 | 17 | unset($p['foo']); 18 | 19 | var_dump($p->keys()); 20 | ?> 21 | --EXPECTF-- 22 | array(0) { 23 | } 24 | array(2) { 25 | [0]=> 26 | string(3) "foo" 27 | [1]=> 28 | int(0) 29 | } 30 | array(1) { 31 | [0]=> 32 | int(0) 33 | } -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/014.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test raw() 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | raw('foo')); 16 | var_dump($p[42]); 17 | 18 | unset($p['foo']); 19 | 20 | try { 21 | $p->raw('foo'); 22 | echo "expected exception"; 23 | } catch (InvalidArgumentException $e) { } 24 | --EXPECTF-- 25 | string(8) "called-2" 26 | string(5) "ret-2" 27 | object(Closure)#%i (0) { 28 | } 29 | string(8) "called-2" 30 | string(5) "ret-2" -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/015.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test protect() 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | protect($f); 13 | 14 | var_dump($p['foo']); 15 | --EXPECTF-- 16 | object(Closure)#%i (0) { 17 | } -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/016.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test extend() 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | extend(12, function ($w) { var_dump($w); return 'bar'; }); /* $callable in code above */ 19 | 20 | var_dump($c('param')); 21 | --EXPECTF-- 22 | string(5) "param" 23 | string(3) "foo" 24 | string(3) "bar" -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/017.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test extend() with exception in service extension 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | extend(12, function ($w) { throw new BadMethodCallException; }); 12 | 13 | try { 14 | $p[12]; 15 | echo "Exception expected"; 16 | } catch (BadMethodCallException $e) { } 17 | --EXPECTF-- 18 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/017_1.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test extend() with exception in service factory 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | extend(12, function ($w) { return 'foobar'; }); 12 | 13 | try { 14 | $p[12]; 15 | echo "Exception expected"; 16 | } catch (BadMethodCallException $e) { } 17 | --EXPECTF-- 18 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/018.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test register() 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | register(new Foo, array(42 => 'bar')); 18 | 19 | var_dump($p[42]); 20 | --EXPECTF-- 21 | object(Pimple\Container)#1 (0) { 22 | } 23 | string(3) "bar" -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/019.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Test register() returns static and is a fluent interface 3 | --SKIPIF-- 4 | 5 | --FILE-- 6 | register(new Foo)); 17 | --EXPECTF-- 18 | bool(true) 19 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/bench.phpb: -------------------------------------------------------------------------------- 1 | factory($factory); 42 | 43 | $p['factory'] = $factory; 44 | 45 | echo $p['factory']; 46 | echo $p['factory']; 47 | echo $p['factory']; 48 | 49 | } 50 | 51 | echo microtime(true) - $time; 52 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/ext/pimple/tests/bench_shared.phpb: -------------------------------------------------------------------------------- 1 | 26 | -------------------------------------------------------------------------------- /vendor/pimple/pimple/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | ./src/Pimple/Tests 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /vendor/psr/http-message/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file, in reverse chronological order by release. 4 | 5 | ## 1.0.1 - 2016-08-06 6 | 7 | ### Added 8 | 9 | - Nothing. 10 | 11 | ### Deprecated 12 | 13 | - Nothing. 14 | 15 | ### Removed 16 | 17 | - Nothing. 18 | 19 | ### Fixed 20 | 21 | - Updated all `@return self` annotation references in interfaces to use 22 | `@return static`, which more closelly follows the semantics of the 23 | specification. 24 | - Updated the `MessageInterface::getHeaders()` return annotation to use the 25 | value `string[][]`, indicating the format is a nested array of strings. 26 | - Updated the `@link` annotation for `RequestInterface::withRequestTarget()` 27 | to point to the correct section of RFC 7230. 28 | - Updated the `ServerRequestInterface::withUploadedFiles()` parameter annotation 29 | to add the parameter name (`$uploadedFiles`). 30 | - Updated a `@throws` annotation for the `UploadedFileInterface::moveTo()` 31 | method to correctly reference the method parameter (it was referencing an 32 | incorrect parameter name previously). 33 | 34 | ## 1.0.0 - 2016-05-18 35 | 36 | Initial stable release; reflects accepted PSR-7 specification. 37 | -------------------------------------------------------------------------------- /vendor/psr/http-message/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 PHP Framework Interoperability Group 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/psr/http-message/README.md: -------------------------------------------------------------------------------- 1 | PSR Http Message 2 | ================ 3 | 4 | This repository holds all interfaces/classes/traits related to 5 | [PSR-7](http://www.php-fig.org/psr/psr-7/). 6 | 7 | Note that this is not a HTTP message implementation of its own. It is merely an 8 | interface that describes a HTTP message. See the specification for more details. 9 | 10 | Usage 11 | ----- 12 | 13 | We'll certainly need some stuff in here. -------------------------------------------------------------------------------- /vendor/psr/http-message/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "psr/http-message", 3 | "description": "Common interface for HTTP messages", 4 | "keywords": ["psr", "psr-7", "http", "http-message", "request", "response"], 5 | "homepage": "https://github.com/php-fig/http-message", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "PHP-FIG", 10 | "homepage": "http://www.php-fig.org/" 11 | } 12 | ], 13 | "require": { 14 | "php": ">=5.3.0" 15 | }, 16 | "autoload": { 17 | "psr-4": { 18 | "Psr\\Http\\Message\\": "src/" 19 | } 20 | }, 21 | "extra": { 22 | "branch-alias": { 23 | "dev-master": "1.0.x-dev" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/psr/log/.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | -------------------------------------------------------------------------------- /vendor/psr/log/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 PHP Framework Interoperability Group 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/psr/log/Psr/Log/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | logger = $logger; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/psr/log/Psr/Log/NullLogger.php: -------------------------------------------------------------------------------- 1 | logger) { }` 11 | * blocks. 12 | */ 13 | class NullLogger extends AbstractLogger 14 | { 15 | /** 16 | * Logs with an arbitrary level. 17 | * 18 | * @param mixed $level 19 | * @param string $message 20 | * @param array $context 21 | * 22 | * @return void 23 | */ 24 | public function log($level, $message, array $context = array()) 25 | { 26 | // noop 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/psr/log/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "psr/log", 3 | "description": "Common interface for logging libraries", 4 | "keywords": ["psr", "psr-3", "log"], 5 | "homepage": "https://github.com/php-fig/log", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "PHP-FIG", 10 | "homepage": "http://www.php-fig.org/" 11 | } 12 | ], 13 | "require": { 14 | "php": ">=5.3.0" 15 | }, 16 | "autoload": { 17 | "psr-4": { 18 | "Psr\\Log\\": "Psr/Log/" 19 | } 20 | }, 21 | "extra": { 22 | "branch-alias": { 23 | "dev-master": "1.0.x-dev" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | phpunit.xml 4 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/ApacheRequest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation; 13 | 14 | /** 15 | * Request represents an HTTP request from an Apache server. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | class ApacheRequest extends Request 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | protected function prepareRequestUri() 25 | { 26 | return $this->server->get('REQUEST_URI'); 27 | } 28 | 29 | /** 30 | * {@inheritdoc} 31 | */ 32 | protected function prepareBaseUrl() 33 | { 34 | $baseUrl = $this->server->get('SCRIPT_NAME'); 35 | 36 | if (false === strpos($this->server->get('REQUEST_URI'), $baseUrl)) { 37 | // assume mod_rewrite 38 | return rtrim(dirname($baseUrl), '/\\'); 39 | } 40 | 41 | return $baseUrl; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Exception/ConflictingHeadersException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Exception; 13 | 14 | /** 15 | * The HTTP request contains headers with conflicting information. 16 | * 17 | * This exception should trigger an HTTP 400 response in your application code. 18 | * 19 | * @author Magnus Nordlander 20 | */ 21 | class ConflictingHeadersException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/AccessDeniedException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when the access on a file was denied. 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class AccessDeniedException extends FileException 20 | { 21 | /** 22 | * Constructor. 23 | * 24 | * @param string $path The path to the accessed file 25 | */ 26 | public function __construct($path) 27 | { 28 | parent::__construct(sprintf('The file %s could not be accessed', $path)); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/FileException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an error occurred in the component File. 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class FileException extends \RuntimeException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/FileNotFoundException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when a file was not found. 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class FileNotFoundException extends FileException 20 | { 21 | /** 22 | * Constructor. 23 | * 24 | * @param string $path The path to the file that was not found 25 | */ 26 | public function __construct($path) 27 | { 28 | parent::__construct(sprintf('The file "%s" does not exist', $path)); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/UnexpectedTypeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | class UnexpectedTypeException extends FileException 15 | { 16 | public function __construct($value, $expectedType) 17 | { 18 | parent::__construct(sprintf('Expected argument of type %s, %s given', $expectedType, is_object($value) ? get_class($value) : gettype($value))); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/UploadException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an error occurred during file upload. 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class UploadException extends FileException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/MimeType/ExtensionGuesserInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\MimeType; 13 | 14 | /** 15 | * Guesses the file extension corresponding to a given mime type. 16 | */ 17 | interface ExtensionGuesserInterface 18 | { 19 | /** 20 | * Makes a best guess for a file extension, given a mime type. 21 | * 22 | * @param string $mimeType The mime type 23 | * 24 | * @return string The guessed extension or NULL, if none could be guessed 25 | */ 26 | public function guess($mimeType); 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesserInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\MimeType; 13 | 14 | use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException; 15 | use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException; 16 | 17 | /** 18 | * Guesses the mime type of a file. 19 | * 20 | * @author Bernhard Schussek 21 | */ 22 | interface MimeTypeGuesserInterface 23 | { 24 | /** 25 | * Guesses the mime type of the file with the given path. 26 | * 27 | * @param string $path The path to the file 28 | * 29 | * @return string The mime type or NULL, if none could be guessed 30 | * 31 | * @throws FileNotFoundException If the file does not exist 32 | * @throws AccessDeniedException If the file could not be read 33 | */ 34 | public function guess($path); 35 | } 36 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2016 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/README.md: -------------------------------------------------------------------------------- 1 | HttpFoundation Component 2 | ======================== 3 | 4 | The HttpFoundation component defines an object-oriented layer for the HTTP 5 | specification. 6 | 7 | Resources 8 | --------- 9 | 10 | * [Documentation](https://symfony.com/doc/current/components/http_foundation/index.html) 11 | * [Contributing](https://symfony.com/doc/current/contributing/index.html) 12 | * [Report issues](https://github.com/symfony/symfony/issues) and 13 | [send Pull Requests](https://github.com/symfony/symfony/pulls) 14 | in the [main Symfony repository](https://github.com/symfony/symfony) 15 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/RequestMatcherInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation; 13 | 14 | /** 15 | * RequestMatcherInterface is an interface for strategies to match a Request. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface RequestMatcherInterface 20 | { 21 | /** 22 | * Decides whether the rule(s) implemented by the strategy matches the supplied request. 23 | * 24 | * @param Request $request The request to check for a match 25 | * 26 | * @return bool true if the request matches, false otherwise 27 | */ 28 | public function matches(Request $request); 29 | } 30 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Session/SessionBagInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Session; 13 | 14 | /** 15 | * Session Bag store. 16 | * 17 | * @author Drak 18 | */ 19 | interface SessionBagInterface 20 | { 21 | /** 22 | * Gets this bag's name. 23 | * 24 | * @return string 25 | */ 26 | public function getName(); 27 | 28 | /** 29 | * Initializes the Bag. 30 | * 31 | * @param array $array 32 | */ 33 | public function initialize(array &$array); 34 | 35 | /** 36 | * Gets the storage key for this bag. 37 | * 38 | * @return string 39 | */ 40 | public function getStorageKey(); 41 | 42 | /** 43 | * Clears out data from bag. 44 | * 45 | * @return mixed Whatever data was contained 46 | */ 47 | public function clear(); 48 | } 49 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Session/Storage/Handler/NativeSessionHandler.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Session\Storage\Handler; 13 | 14 | /** 15 | * Adds SessionHandler functionality if available. 16 | * 17 | * @see http://php.net/sessionhandler 18 | */ 19 | class NativeSessionHandler extends \SessionHandler 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Session/Storage/Proxy/NativeProxy.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Session\Storage\Proxy; 13 | 14 | /** 15 | * NativeProxy. 16 | * 17 | * This proxy is built-in session handlers in PHP 5.3.x 18 | * 19 | * @author Drak 20 | */ 21 | class NativeProxy extends AbstractProxy 22 | { 23 | /** 24 | * Constructor. 25 | */ 26 | public function __construct() 27 | { 28 | // this makes an educated guess as to what the handler is since it should already be set. 29 | $this->saveHandlerName = ini_get('session.save_handler'); 30 | } 31 | 32 | /** 33 | * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. 34 | * 35 | * @return bool False 36 | */ 37 | public function isWrapper() 38 | { 39 | return false; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Tests/File/FakeFile.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Tests\File; 13 | 14 | use Symfony\Component\HttpFoundation\File\File as OrigFile; 15 | 16 | class FakeFile extends OrigFile 17 | { 18 | private $realpath; 19 | 20 | public function __construct($realpath, $path) 21 | { 22 | $this->realpath = $realpath; 23 | parent::__construct($path, false); 24 | } 25 | 26 | public function isReadable() 27 | { 28 | return true; 29 | } 30 | 31 | public function getRealpath() 32 | { 33 | return $this->realpath; 34 | } 35 | 36 | public function getSize() 37 | { 38 | return 42; 39 | } 40 | 41 | public function getMTime() 42 | { 43 | return time(); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Tests/File/Fixtures/.unknownextension: -------------------------------------------------------------------------------- 1 | f -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Tests/File/Fixtures/directory/.empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springjk/wordpress-wechat-broadcast/1fd0261904dd41d11be25b4557eca7f1ca68584a/vendor/symfony/http-foundation/Tests/File/Fixtures/directory/.empty -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Tests/File/Fixtures/other-file.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springjk/wordpress-wechat-broadcast/1fd0261904dd41d11be25b4557eca7f1ca68584a/vendor/symfony/http-foundation/Tests/File/Fixtures/other-file.example -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Tests/File/Fixtures/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springjk/wordpress-wechat-broadcast/1fd0261904dd41d11be25b4557eca7f1ca68584a/vendor/symfony/http-foundation/Tests/File/Fixtures/test -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Tests/File/Fixtures/test.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springjk/wordpress-wechat-broadcast/1fd0261904dd41d11be25b4557eca7f1ca68584a/vendor/symfony/http-foundation/Tests/File/Fixtures/test.gif -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Tests/Session/Storage/Handler/NativeSessionHandlerTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler; 13 | 14 | use Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeSessionHandler; 15 | 16 | /** 17 | * Test class for NativeSessionHandler. 18 | * 19 | * @author Drak 20 | * 21 | * @runTestsInSeparateProcesses 22 | * @preserveGlobalState disabled 23 | */ 24 | class NativeSessionHandlerTest extends \PHPUnit_Framework_TestCase 25 | { 26 | public function testConstruct() 27 | { 28 | $handler = new NativeSessionHandler(); 29 | 30 | $this->assertTrue($handler instanceof \SessionHandler); 31 | $this->assertTrue($handler instanceof NativeSessionHandler); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Tests/Session/Storage/Proxy/NativeProxyTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy; 13 | 14 | use Symfony\Component\HttpFoundation\Session\Storage\Proxy\NativeProxy; 15 | 16 | /** 17 | * Test class for NativeProxy. 18 | * 19 | * @author Drak 20 | */ 21 | class NativeProxyTest extends \PHPUnit_Framework_TestCase 22 | { 23 | public function testIsWrapper() 24 | { 25 | $proxy = new NativeProxy(); 26 | $this->assertFalse($proxy->isWrapper()); 27 | } 28 | 29 | public function testGetSaveHandlerName() 30 | { 31 | $name = ini_get('session.save_handler'); 32 | $proxy = new NativeProxy(); 33 | $this->assertEquals($name, $proxy->getSaveHandlerName()); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/http-foundation", 3 | "type": "library", 4 | "description": "Symfony HttpFoundation Component", 5 | "keywords": [], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.5.9", 20 | "symfony/polyfill-mbstring": "~1.1" 21 | }, 22 | "require-dev": { 23 | "symfony/expression-language": "~2.8|~3.0" 24 | }, 25 | "autoload": { 26 | "psr-4": { "Symfony\\Component\\HttpFoundation\\": "" }, 27 | "exclude-from-classmap": [ 28 | "/Tests/" 29 | ] 30 | }, 31 | "minimum-stability": "dev", 32 | "extra": { 33 | "branch-alias": { 34 | "dev-master": "3.1-dev" 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | ./Tests/ 16 | 17 | 18 | 19 | 20 | 21 | ./ 22 | 23 | ./Resources 24 | ./Tests 25 | ./vendor 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-mbstring/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014-2016 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-mbstring/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Mbstring 2 | =========================== 3 | 4 | This component provides a partial, native PHP implementation for the 5 | [Mbstring](http://php.net/mbstring) extension. 6 | 7 | More information can be found in the 8 | [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md). 9 | 10 | License 11 | ======= 12 | 13 | This library is released under the [MIT license](LICENSE). 14 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-mbstring/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-mbstring", 3 | "type": "library", 4 | "description": "Symfony polyfill for the Mbstring extension", 5 | "keywords": ["polyfill", "shim", "compatibility", "portable", "mbstring"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Nicolas Grekas", 11 | "email": "p@tchwork.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.3.3" 20 | }, 21 | "autoload": { 22 | "psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" }, 23 | "files": [ "bootstrap.php" ] 24 | }, 25 | "suggest": { 26 | "ext-mbstring": "For best performance" 27 | }, 28 | "minimum-stability": "dev", 29 | "extra": { 30 | "branch-alias": { 31 | "dev-master": "1.2-dev" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/symfony/psr-http-message-bridge/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | phpunit.xml 4 | -------------------------------------------------------------------------------- /vendor/symfony/psr-http-message-bridge/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | 2.8.0 5 | ----- 6 | 7 | * added the component 8 | -------------------------------------------------------------------------------- /vendor/symfony/psr-http-message-bridge/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2015 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/psr-http-message-bridge/README.md: -------------------------------------------------------------------------------- 1 | PSR-7 Bridge 2 | ============ 3 | 4 | Provides integration for PSR7. 5 | 6 | Resources 7 | --------- 8 | 9 | If you want to run the unit tests, install dev dependencies before 10 | running PHPUnit: 11 | 12 | $ cd path/to/Symfony/Bridge/PsrHttpMessage/ 13 | $ composer.phar install 14 | $ phpunit 15 | -------------------------------------------------------------------------------- /vendor/symfony/psr-http-message-bridge/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/psr-http-message-bridge", 3 | "type": "symfony-bridge", 4 | "description": "PSR HTTP message bridge", 5 | "keywords": ["http", "psr-7", "http-message"], 6 | "homepage": "http://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "http://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.3.3", 20 | "psr/http-message": "~1.0", 21 | "symfony/http-foundation": "~2.3|~3.0" 22 | }, 23 | "require-dev": { 24 | "symfony/phpunit-bridge": "~2.7|~3.0" 25 | }, 26 | "suggest": { 27 | "psr/http-message-implementation": "To use the HttpFoundation factory", 28 | "zendframework/zend-diactoros": "To use the Zend Diactoros factory" 29 | }, 30 | "autoload": { 31 | "psr-4": { "Symfony\\Bridge\\PsrHttpMessage\\": "" } 32 | }, 33 | "minimum-stability": "dev" 34 | } 35 | -------------------------------------------------------------------------------- /vendor/symfony/psr-http-message-bridge/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | ./Tests/ 17 | 18 | 19 | 20 | 21 | 22 | ./ 23 | 24 | ./Resources 25 | ./Tests 26 | ./vendor 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /wechat-broadcast.php: -------------------------------------------------------------------------------- 1 |