承接 alphalabs/common 相关项目开发

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

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

alphalabs/common

Composer 安装命令:

composer require alphalabs/common

包简介

Toolbox which let's you play with ease with primitive types and common objects

README 文档

README

Latest Stable Version Latest Unstable Version SensioLabsInsight

Toolbox which let's you play with ease with primitive types and common objects

This library offers some tools to deal with some primitives and/or some common objects.

For the moment, few tools are provided for the following types:

  • Numbers: Intergers, floats...
  • Strings: Detect slug patterns...

Installation

Adds the library in your composer.json file:

"require": {
    "alphalabs/common": "1.0@dev"
}

Don't forget to update your dependencies with composer update

Usage

Adds the use statement for the tools you want to use, and call the static methods directly:

<?php

namespace Foo\Bar;

use AlphaLabs\Common\Number\Number;

class MyClass
{
    public function foo()
    {
        $number = "-3";

        Number::isStrictlyPositiveInteger($number) // False
    }
}

To come

  • Collections
  • (propose your ideas)

Credits

  • Sylvain Mauduit (@Swop)

License

MIT

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固