定制 asboldyrev/modem-message-sync 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

asboldyrev/modem-message-sync

最新稳定版本:v1.1.2

Composer 安装命令:

composer create-project asboldyrev/modem-message-sync

包简介

A package for synchronizing SMS messages from a modem.

README 文档

README

ModemMessageSync is a PHP package designed to simplify the synchronization and management of SMS messages obtained from a GSM modem. It provides tools to efficiently handle incoming SMS messages, decode Unicode content, and send notifications through various channels.

Features

  • Seamless synchronization of SMS messages from a GSM modem.
  • Integration with Apprise for sending notifications.
  • Support for sending notifications via MQTT.

Installation

  1. Open a terminal and navigate to the directory where you want to create your project.

  2. Run the following Composer command to create a new ModemMessageSync project:

    composer create-project asboldyrev/modem-message-sync your-project-name

    Replace your-project-name with the desired name for your project directory.

  3. Change into the newly created project directory:

    cd your-project-name
  4. Create a .env file in the project root directory. You can use the provided .env.example as a template. Fill in the necessary environment variables such as SSH connection details, Apprise credentials, and other configuration options.

Usage

Follow these steps to use ModemMessageSync:

Run PHP script to initiate the synchronization and management of SMS messages from the GSM modem:

php index.php

Or

  1. Set up a cron job to automate the synchronization process. Open your crontab configuration by running:
    crontab -e
  2. Add a line to specify the frequency of synchronization, replacing path_to_your_script with the actual path to your PHP script:
     * * * * * php /path_to_your_project/index.php
    

Configuration

You can configure the package by setting the required environment variables in a .env file. Refer to the example .env.example file for the list of variables.

License

ModemMessageSync is open-source software licensed under the MIT License. Feel free to contribute to this project or report any issues you encounter.

© 2023 asboldyrev

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-11