arx/utils 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

arx/utils

最新稳定版本:4.2.2

Composer 安装命令:

composer require arx/utils

包简介

Arx Utils classes to use in any kind of projects

README 文档

README

Latest Stable Version Total Downloads License

Features

  • Some usefull php class and methods (inspired by Laravel) to use in any kind of PHP projects

Getting started

Requirements

Installation

In the require key of composer.json file add the following

"arx/utils": "dev-master"
$ composer update
    require 'vendor/autoload.php'

How to use it

    require 'vendor/autoload.php';
    
    use Arx\Utils\Utils;
    
    # Debug method 
    
    Utils::pre(['test']);
    
    # Debug with die
    
    Utils::predie('test');
    
    # Make an alias helper
    
    Utils::alias('dd', 'Utils::predie');
    
    # Manipulate an array
    
    ## Merge recursively
    Arx\Utils\Arr::merge(['test' => ['foo1']], ['test' => ['foo2']]);
    
    # Manipulate an image
    ## Resize an image to best fix max width, max height
    Arx\Utils\Image::load('$$path$$')->best_fit(400, 400)->save($$dest_path$$);
    
    ## Resize an image to best fix max width, max height and output Base64 string
    Arx\Utils\Image::load('$$path$$')->fit_to_width(400)->outputBase64(); # output as base64 to load directly from img src

Release Notes

Version 4.2.0

  • use Laravel tagging version to simplify the version correspondance (so yes we jump directly to 4.2 instead of 1.0)

License

Arx Utils is free software distributed under the terms of the MIT license

Aditional information

Any questions, feel free to contact me or ask here

Any issues, please report here

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固