承接 arshahin/utility-kit 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

arshahin/utility-kit

最新稳定版本:v1.1.5

Composer 安装命令:

composer require arshahin/utility-kit

包简介

A PHP utility helper package for general and Laravel-based projects

README 文档

README

A lightweight collection of reusable PHP helper functions designed to simplify common tasks.
Use it in any PHP project or integrate directly into Laravel. Clean, minimal, and extensible.

📦 Installation

Require the package via Composer:

composer require arshahin/utility-kit

⚙️ Usage

Import and use the helper methods statically:

use ARShahin\UtilityKit\Helpers\StringHelper;

StringHelper::startsWith("Laravel", "Lar"); // true

You can also use the helper functions if you have configured them with Laravel's service provider and facade system.

✏️ Contributing

We welcome contributions! If you'd like to contribute:

  1. Create a new branch.
  2. Add your helper function.
  3. ✅ Make sure to include:
    • Proper docblocks for your functions.
    • Return types for all methods.
    • Follow PSR-12 coding standards for formatting and structure.
    • PHPUnit test cases for your function.
  4. Submit a pull request.

Example requirement:

/**
 * Check if a string is palindrome.
 *
 * @param string $string
 * @return bool
 */
public static function isPalindrome(string $string): bool

✅ Testing

Run the test suite using PHPUnit:

vendor/bin/phpunit tests/
vendor/bin/phpunit --testdox

Ensure all test cases pass before submitting your PR.

🚀 Roadmap

  • String helper methods
  • Array helper methods
  • Date/time utilities
  • More facades & Laravel integrations

✨ License

MIT License. Feel free to use, modify, and distribute.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固