定制 xint0/samsara-api-php 二次开发

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

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

xint0/samsara-api-php

最新稳定版本:0.0.3

Composer 安装命令:

composer require xint0/samsara-api-php

包简介

PHP client for the Samsara API.

README 文档

README

Samsara API PHP client.

GitLab License Packagist Version Packagist Dependency Version GitLab Last Commit Gitlab Pipeline Status Gitlab Code Coverage Packagist Downloads GitLab Issues GitLab Merge Requests

Description

This package provides a client for the Samsara REST API.

Installation

Install using composer:

composer require xint0/samsara-api-php

Usage

Coming soon.

Support

Need help?

Roadmap

This package is being used to support the development of a commercial TMS. Initially Addresses and Vehicles will be supported.

Contributing

This package is open source, and you are encouraged to contribute by:

Working with the code

The project uses Docker Compose to define containers used for development. Although it is not necessary to use Docker, it makes working with multiple versions of PHP easier.

Docker images

The PHP docker image includes XDebug extension, composer, and phive. It is built from currently supported PHP versions: 8.1, 8.2, 8.3, and 8.4.

The PHPStan docker image includes PHPUnit plugin, and it is built using PHP 8.4.

After forking and cloning the git repository to your local environment, you can execute the following docker compose commands:

Install development tools

The project uses PHPUnit for testing, PHPStan for static analysis, PHPCodeSniffer and PHP Code Beautifier and Fixer for linting. These tools are installed using Phive.

docker compose run --rm php phive install

Execute tests

After installing the development tools, to execute the tests:

docker compose run --rm php tools/phpunit

Authors

This package was created and is maintained by Rogelio Jacinto (@Xint0).

License

This package is open source software licensed under the MIT License.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固