rest-full/utility

帮助您系统的工具。

1.0.0 2024-01-27 08:33 UTC

This package is auto-updated.

Last update: 2024-09-27 10:09:42 UTC


README

关于 Rest-full Utility

Rest-full Utility 是 Rest-Full 框架的一部分。

您可以在以下位置找到应用程序:rest-full/app,您也可以在以下位置看到框架骨架:rest-full/rest-full

安装

  • 下载 Composer 或更新 composer self-update
  • 运行 php composer.phar require rest-full/utility 或全局安装的 composer compser require rest-full/utility 或 composer.json 中的 "rest-full/utility": "1.0.0" 并安装或更新。

使用方法

此翻译器

require_once __DIR__.'/../vendor/autoload.php';
require_once __DIR__.'/../config/pathServer.php';

use Restfull\Utility\Translator;

$translator = new Translator();
echo $translator->singular('dog');

或此图标

require_once __DIR__.'/../vendor/autoload.php';
require_once __DIR__.'/../config/pathServer.php';

use Restfull\Utility\Icon;

$icons = new Icon('favicon.png');
echo $icons->addIco();

许可协议

rest-full 框架是开源软件,使用MIT 协议授权。