Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Latest commit

ย 

History

History
107 lines (77 loc) ยท 3.93 KB

File metadata and controls

107 lines (77 loc) ยท 3.93 KB

CoolSMS PHP

License: MIT

๐Ÿ›‘ ์ฃผ์˜์‚ฌํ•ญ

๋” ์ด์ƒ CoolSMS PHP SDK๋Š” ์œ ์ง€๋ณด์ˆ˜ ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค!
์ตœ์‹  ๋ฒ„์ „์˜ SDK๋Š” SOLAPI PHP SDK ํ˜น์€ PHP 5 ๋ฒ„์ „์šฉ SOLAPI PHP SDK๋ฅผ ์ด์šฉ ํ•ด ์ฃผ์„ธ์š”!

Introduction

  • PHP์šฉ CoolSMS SDK
  • PHP 5.6 ์ด์ƒ ํ˜ธํ™˜

์ฃผ์˜์‚ฌํ•ญ

  • ๋ฐ˜๋“œ์‹œ php ๋‚ด curl, json extension ๋“ฑ์ด ์„ค์น˜๋˜์–ด ์žˆ๋Š”์ง€ ํ™•์ธํ•ด์ฃผ์„ธ์š”.

๊ฐ ์˜ˆ์ œ ํด๋” ๋ณ„ ์•ˆ๋‚ด์‚ฌํ•ญ

๋ฌธ์ž ๋ฐœ์†ก ๊ด€๋ จ ์˜ˆ์ œ ํŒŒ์ผ๋“ค

examples/sms/send_sms.php                              ๋‹จ๋ฌธ ๋ฌธ์ž ๋ฐœ์†ก ์˜ˆ์ œ
examples/sms/send_lms.php                              ์žฅ๋ฌธ ๋ฌธ์ž ๋ฐœ์†ก ์˜ˆ์ œ
examples/sms/send_mms.php                              ์‚ฌ์ง„ ๋ฌธ์ž ๋ฐœ์†ก ์˜ˆ์ œ
examples/sms/set_scheduled_messages.php                ๋ฉ”์‹œ์ง€ ์˜ˆ์•ฝ ๋ฐœ์†ก ์˜ˆ์ œ
examples/sms/send_send_versea.php                      ํ•ด์™ธ ๋ฌธ์ž(SMS Only) ๋ฐœ์†ก ์˜ˆ์ œ
examples/sms/send_messages_with_auto_type_detect.php   ๋ฌธ์ž ์œ ํ˜• ๊ฐ์ง€ ๋ฐœ์†ก ์˜ˆ์ œ  

์นด์นด์˜ค ๋ฉ”์‹œ์ง€(์•Œ๋ฆผํ†ก, ์นœ๊ตฌํ†ก) ๋ฐœ์†ก ๊ด€๋ จ ์˜ˆ์ œ ํŒŒ์ผ๋“ค

examples/kakaotalk/send_alimtalk.php           ์•Œ๋ฆผํ†ก ๋ฐœ์†ก ์˜ˆ์ œ
examples/kakaotalk/send_chingutalk.php         ์นœ๊ตฌํ†ก ๋ฐœ์†ก ์˜ˆ์ œ
examples/kakaotalk/send_chingutalk_button.php  ์นœ๊ตฌํ†ก ๋ฒ„ํŠผ ๋ฐœ์†ก ์˜ˆ์ œ
examples/kakaotalk/send_chingutalk_image.php   ์ด๋ฏธ์ง€๊ฐ€ ํฌํ•จ๋œ ์นœ๊ตฌํ†ก ๋ฐœ์†ก ์˜ˆ์ œ

๊ทธ๋ฃน ๋ฐœ์†ก ์˜ˆ์ œ ํŒŒ์ผ๋“ค

examples/group_message/group_create.php            ๊ทธ๋ฃน ์ƒ์„ฑ
examples/group_message/group_get_info.php          ๊ทธ๋ฃน ์ •๋ณด ์กฐํšŒ
examples/group_message/group_delete.php            ๊ทธ๋ฃน ์‚ญ์ œ
examples/group_message/group_get_list.php          ๊ทธ๋ฃน ๋ชฉ๋ก ์กฐํšŒ
examples/group_message/group_add_messages.php      ๊ทธ๋ฃน ๋ฉ”์‹œ์ง€ ์ถ”๊ฐ€
examples/group_message/group_delete_messages.php   ๊ทธ๋ฃน ๋ฉ”์‹œ์ง€ ์‚ญ์ œ
examples/group_message/group_get_messages.php      ๊ทธ๋ฃน ๋ฉ”์‹œ์ง€ ์กฐํšŒ
examples/group_message/group_send_messages.php     ๊ทธ๋ฃน ๋ฉ”์‹œ์ง€ ์ „์†ก(์ข…ํ•ฉ ์˜ˆ์ œ)
examples/group_message/set_reservation_group.php   ๊ทธ๋ฃน ์˜ˆ์•ฝ์„ค์ •

๋ฐœ์†ก๋‚ด์—ญ ์กฐํšŒ ๊ด€๋ จ ์˜ˆ์ œ ํŒŒ์ผ๋“ค

exmaples/message_list/simple_list.php         ๊ธฐ๋ณธ ์˜ˆ์ œ
exmaples/message_list/print_details.php       ๋ฉ”์‹œ์ง€ ์ƒ์„ธ ํ•ญ๋ชฉ ์ถœ๋ ฅ
exmaples/message_list/search_date.php         ๋‚ ์งœ ๊ฒ€์ƒ‰
exmaples/message_list/search_messageId.php    ๋ฉ”์‹œ์ง€์•„์ด๋”” ๊ฒ€์ƒ‰
exmaples/message_list/search_groupId.php      ๊ทธ๋ฃน์•„์ด๋”” ๊ฒ€์ƒ‰
exmaples/message_list/search_status.php       ์ƒํƒœ์ฝ”๋“œ ๊ฒ€์ƒ‰
exmaples/message_list/search_to.php           ์ˆ˜์‹ ๋ฒˆํ˜ธ ๊ฒ€์ƒ‰
exmaples/message_list/pagination.php          ํŽ˜์ด์ง€ ์ฒ˜๋ฆฌ

๋ฐœ์‹ ๋ฒˆํ˜ธ ์ธ์ฆ/์ƒ์„ฑ ๊ด€๋ จ ์˜ˆ์ œ ํŒŒ์ผ๋“ค

examples/senderid/create_number.php      ๋ฐœ์‹ ๋ฒˆํ˜ธ ์ƒ์„ฑ ์˜ˆ์ œ(STEP 1)
examples/senderid/request_voicecall.php  ์ „ํ™”๋ฒˆํ˜ธ ์ธ์ฆ(ARS) ์˜ˆ์ œ(STEP 2)
examples/senderid/verify_token.php       ARS ์ธ์ฆ๋ฒˆํ˜ธ ํ™•์ธ ์˜ˆ์ œ(STEP 3)
examples/senderid/active_numbers.php     ํ™œ์„ฑํ™” ๋œ ๋ฐœ์‹ ๋ฒˆํ˜ธ ๋ฆฌ์ŠคํŠธ ์กฐํšŒ ์˜ˆ์ œ

์นด์นด์˜ค ์ฑ„๋„/ํ…œํ”Œ๋ฆฟ ์กฐํšŒ ๊ด€๋ จ ์˜ˆ์ œ ๋ชฉ๋ก

examples/kakaotalk_channels(๋””๋ ‰ํ† ๋ฆฌ)  ์นด์นด์˜ค ๋น„์ฆˆ๋‹ˆ์Šค ์ฑ„๋„ ์กฐํšŒ ๊ด€๋ จ ์˜ˆ์ œ ํฌํ•จ
examples/kakaotalk_templates(๋””๋ ‰ํ† ๋ฆฌ) ์นด์นด์˜ค ์•Œ๋ฆผํ†ก ํ…œํ”Œ๋ฆฟ ์กฐํšŒ ๊ด€๋ จ ์˜ˆ์ œ ํฌํ•จ

๋„ค์ด๋ฒ„ ํ†กํ†ก ๋ฐœ์†ก ์˜ˆ์ œ

examples/naver/send_naver.php            ๋„ค์ด๋ฒ„ํ†กํ†ก(์Šค๋งˆํŠธ์•Œ๋ฆผ) ๋ฐœ์†ก(๋ฒ„ํŠผ ํฌํ•จ) ์˜ˆ์ œ

RCS ๋ฐœ์†ก ์˜ˆ์ œ ๋ชฉ๋ก

examples/rcs(๋””๋ ‰ํ† ๋ฆฌ) RCS SMS/LMS/MMS(s3, s6)/TPL(ํ…œํ”Œ๋ฆฟ) ๋ฐœ์†ก ์˜ˆ์ œ ํฌํ•จ

๊ธฐํƒ€

examples/statistics/statistics.php    ํ†ต๊ณ„ ์กฐํšŒ ์˜ˆ์ œ
examples/get_balance.php              ์ž”์•ก ์กฐํšŒ ์˜ˆ์ œ

License

MIT License(https://opensource.org/licenses/MIT)