├── .gitignore ├── .php_cs ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml ├── src ├── Application.php ├── Attendance │ ├── Client.php │ └── ServiceProvider.php ├── Auth │ ├── HasStateParameter.php │ ├── InvalidStateException.php │ ├── OAuthClient.php │ ├── ServiceProvider.php │ └── SsoClient.php ├── Blackboard │ ├── Client.php │ └── ServiceProvider.php ├── Calendar │ ├── Client.php │ └── ServiceProvider.php ├── Callback │ ├── Client.php │ └── ServiceProvider.php ├── Chat │ ├── Client.php │ └── ServiceProvider.php ├── Checkin │ ├── Client.php │ └── ServiceProvider.php ├── Contact │ ├── Client.php │ └── ServiceProvider.php ├── Conversation │ ├── Client.php │ └── ServiceProvider.php ├── Department │ ├── Client.php │ └── ServiceProvider.php ├── H5app │ ├── Client.php │ └── ServiceProvider.php ├── Health │ ├── Client.php │ └── ServiceProvider.php ├── Kernel │ ├── AccessToken.php │ ├── BaseClient.php │ ├── Concerns │ │ └── InteractsWithCache.php │ ├── Encryption │ │ └── Encryptor.php │ ├── Exceptions │ │ ├── Exception.php │ │ ├── InvalidArgumentException.php │ │ ├── InvalidCredentialsException.php │ │ └── RuntimeException.php │ ├── Http │ │ └── Client.php │ ├── Providers │ │ ├── AccessTokenServiceProvider.php │ │ ├── ClientServiceProvider.php │ │ ├── EncryptionServiceProvider.php │ │ ├── LoggerServiceProvider.php │ │ ├── RequestServiceProvider.php │ │ └── ServerServiceProvider.php │ └── Server.php ├── Media │ ├── Client.php │ └── ServiceProvider.php ├── Messages │ ├── File.php │ ├── Image.php │ ├── Link.php │ ├── Message.php │ ├── Text.php │ └── Voice.php ├── Microapp │ ├── Client.php │ └── ServiceProvider.php ├── Process │ ├── Client.php │ └── ServiceProvider.php ├── Report │ ├── Client.php │ └── ServiceProvider.php ├── Robot.php ├── Role │ ├── Client.php │ └── ServiceProvider.php ├── Schedule │ ├── Client.php │ └── ServiceProvider.php ├── User │ ├── Client.php │ └── ServiceProvider.php └── helpers.php └── tests ├── ApplicationTest.php ├── Blackboard └── ClientTest.php ├── Calendar └── ClientTest.php ├── Callback └── ClientTest.php ├── Chat └── ClientTest.php ├── Contact └── ClientTest.php ├── Conversation └── ClientTest.php ├── Department └── ClientTest.php ├── Health └── ClientTest.php ├── Kernel ├── Concerns │ └── InteractsWithCacheTest.php └── Encryption │ └── EncryptorTest.php ├── Media ├── ClientTest.php └── __fixtures__ │ └── foo.stub ├── Messages ├── FileTest.php ├── ImageTest.php ├── LinkTest.php ├── TextTest.php └── VoiceTest.php ├── Microapp └── ClientTest.php ├── Report └── ClientTest.php ├── Role └── ClientTest.php ├── Schedule └── ClientTest.php ├── TestCase.php ├── TestResponse.php └── User └── ClientTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | composer.lock 3 | .idea/ -------------------------------------------------------------------------------- /.php_cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/.php_cs -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Application.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Application.php -------------------------------------------------------------------------------- /src/Attendance/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Attendance/Client.php -------------------------------------------------------------------------------- /src/Attendance/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Attendance/ServiceProvider.php -------------------------------------------------------------------------------- /src/Auth/HasStateParameter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Auth/HasStateParameter.php -------------------------------------------------------------------------------- /src/Auth/InvalidStateException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Auth/InvalidStateException.php -------------------------------------------------------------------------------- /src/Auth/OAuthClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Auth/OAuthClient.php -------------------------------------------------------------------------------- /src/Auth/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Auth/ServiceProvider.php -------------------------------------------------------------------------------- /src/Auth/SsoClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Auth/SsoClient.php -------------------------------------------------------------------------------- /src/Blackboard/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Blackboard/Client.php -------------------------------------------------------------------------------- /src/Blackboard/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Blackboard/ServiceProvider.php -------------------------------------------------------------------------------- /src/Calendar/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Calendar/Client.php -------------------------------------------------------------------------------- /src/Calendar/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Calendar/ServiceProvider.php -------------------------------------------------------------------------------- /src/Callback/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Callback/Client.php -------------------------------------------------------------------------------- /src/Callback/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Callback/ServiceProvider.php -------------------------------------------------------------------------------- /src/Chat/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Chat/Client.php -------------------------------------------------------------------------------- /src/Chat/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Chat/ServiceProvider.php -------------------------------------------------------------------------------- /src/Checkin/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Checkin/Client.php -------------------------------------------------------------------------------- /src/Checkin/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Checkin/ServiceProvider.php -------------------------------------------------------------------------------- /src/Contact/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Contact/Client.php -------------------------------------------------------------------------------- /src/Contact/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Contact/ServiceProvider.php -------------------------------------------------------------------------------- /src/Conversation/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Conversation/Client.php -------------------------------------------------------------------------------- /src/Conversation/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Conversation/ServiceProvider.php -------------------------------------------------------------------------------- /src/Department/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Department/Client.php -------------------------------------------------------------------------------- /src/Department/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Department/ServiceProvider.php -------------------------------------------------------------------------------- /src/H5app/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/H5app/Client.php -------------------------------------------------------------------------------- /src/H5app/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/H5app/ServiceProvider.php -------------------------------------------------------------------------------- /src/Health/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Health/Client.php -------------------------------------------------------------------------------- /src/Health/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Health/ServiceProvider.php -------------------------------------------------------------------------------- /src/Kernel/AccessToken.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/AccessToken.php -------------------------------------------------------------------------------- /src/Kernel/BaseClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/BaseClient.php -------------------------------------------------------------------------------- /src/Kernel/Concerns/InteractsWithCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Concerns/InteractsWithCache.php -------------------------------------------------------------------------------- /src/Kernel/Encryption/Encryptor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Encryption/Encryptor.php -------------------------------------------------------------------------------- /src/Kernel/Exceptions/Exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Exceptions/Exception.php -------------------------------------------------------------------------------- /src/Kernel/Exceptions/InvalidArgumentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Exceptions/InvalidArgumentException.php -------------------------------------------------------------------------------- /src/Kernel/Exceptions/InvalidCredentialsException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Exceptions/InvalidCredentialsException.php -------------------------------------------------------------------------------- /src/Kernel/Exceptions/RuntimeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Exceptions/RuntimeException.php -------------------------------------------------------------------------------- /src/Kernel/Http/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Http/Client.php -------------------------------------------------------------------------------- /src/Kernel/Providers/AccessTokenServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Providers/AccessTokenServiceProvider.php -------------------------------------------------------------------------------- /src/Kernel/Providers/ClientServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Providers/ClientServiceProvider.php -------------------------------------------------------------------------------- /src/Kernel/Providers/EncryptionServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Providers/EncryptionServiceProvider.php -------------------------------------------------------------------------------- /src/Kernel/Providers/LoggerServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Providers/LoggerServiceProvider.php -------------------------------------------------------------------------------- /src/Kernel/Providers/RequestServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Providers/RequestServiceProvider.php -------------------------------------------------------------------------------- /src/Kernel/Providers/ServerServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Providers/ServerServiceProvider.php -------------------------------------------------------------------------------- /src/Kernel/Server.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Kernel/Server.php -------------------------------------------------------------------------------- /src/Media/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Media/Client.php -------------------------------------------------------------------------------- /src/Media/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Media/ServiceProvider.php -------------------------------------------------------------------------------- /src/Messages/File.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Messages/File.php -------------------------------------------------------------------------------- /src/Messages/Image.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Messages/Image.php -------------------------------------------------------------------------------- /src/Messages/Link.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Messages/Link.php -------------------------------------------------------------------------------- /src/Messages/Message.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Messages/Message.php -------------------------------------------------------------------------------- /src/Messages/Text.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Messages/Text.php -------------------------------------------------------------------------------- /src/Messages/Voice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Messages/Voice.php -------------------------------------------------------------------------------- /src/Microapp/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Microapp/Client.php -------------------------------------------------------------------------------- /src/Microapp/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Microapp/ServiceProvider.php -------------------------------------------------------------------------------- /src/Process/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Process/Client.php -------------------------------------------------------------------------------- /src/Process/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Process/ServiceProvider.php -------------------------------------------------------------------------------- /src/Report/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Report/Client.php -------------------------------------------------------------------------------- /src/Report/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Report/ServiceProvider.php -------------------------------------------------------------------------------- /src/Robot.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Robot.php -------------------------------------------------------------------------------- /src/Role/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Role/Client.php -------------------------------------------------------------------------------- /src/Role/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Role/ServiceProvider.php -------------------------------------------------------------------------------- /src/Schedule/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Schedule/Client.php -------------------------------------------------------------------------------- /src/Schedule/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/Schedule/ServiceProvider.php -------------------------------------------------------------------------------- /src/User/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/User/Client.php -------------------------------------------------------------------------------- /src/User/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/User/ServiceProvider.php -------------------------------------------------------------------------------- /src/helpers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/src/helpers.php -------------------------------------------------------------------------------- /tests/ApplicationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/ApplicationTest.php -------------------------------------------------------------------------------- /tests/Blackboard/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Blackboard/ClientTest.php -------------------------------------------------------------------------------- /tests/Calendar/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Calendar/ClientTest.php -------------------------------------------------------------------------------- /tests/Callback/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Callback/ClientTest.php -------------------------------------------------------------------------------- /tests/Chat/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Chat/ClientTest.php -------------------------------------------------------------------------------- /tests/Contact/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Contact/ClientTest.php -------------------------------------------------------------------------------- /tests/Conversation/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Conversation/ClientTest.php -------------------------------------------------------------------------------- /tests/Department/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Department/ClientTest.php -------------------------------------------------------------------------------- /tests/Health/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Health/ClientTest.php -------------------------------------------------------------------------------- /tests/Kernel/Concerns/InteractsWithCacheTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Kernel/Concerns/InteractsWithCacheTest.php -------------------------------------------------------------------------------- /tests/Kernel/Encryption/EncryptorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Kernel/Encryption/EncryptorTest.php -------------------------------------------------------------------------------- /tests/Media/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Media/ClientTest.php -------------------------------------------------------------------------------- /tests/Media/__fixtures__/foo.stub: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/Messages/FileTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Messages/FileTest.php -------------------------------------------------------------------------------- /tests/Messages/ImageTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Messages/ImageTest.php -------------------------------------------------------------------------------- /tests/Messages/LinkTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Messages/LinkTest.php -------------------------------------------------------------------------------- /tests/Messages/TextTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Messages/TextTest.php -------------------------------------------------------------------------------- /tests/Messages/VoiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Messages/VoiceTest.php -------------------------------------------------------------------------------- /tests/Microapp/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Microapp/ClientTest.php -------------------------------------------------------------------------------- /tests/Report/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Report/ClientTest.php -------------------------------------------------------------------------------- /tests/Role/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Role/ClientTest.php -------------------------------------------------------------------------------- /tests/Schedule/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/Schedule/ClientTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/TestResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/TestResponse.php -------------------------------------------------------------------------------- /tests/User/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mingyoung/dingtalk/HEAD/tests/User/ClientTest.php --------------------------------------------------------------------------------