xint0/samsara-api-php
Composer 安装命令:
composer require xint0/samsara-api-php
包简介
PHP client for the Samsara API.
README 文档
README
Samsara API PHP client.
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?
- Open an issue: https://gitlab.com/xint0-open-source/samsara-api-php/-/issues
- Join the conversation in discord: https://discord.gg/w7u2hZ39j3
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:
- Reporting an issue through any of the following channels:
- Creating a fork of the project and submitting a merge request in https://gitlab.com/xint0-open-source/samsara-api-php/-/merge_requests/new.
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.
xint0/samsara-api-php 适用场景与选型建议
xint0/samsara-api-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 414 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 05 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 xint0/samsara-api-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 xint0/samsara-api-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 414
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-27