jacmac/string-uppercase
最新稳定版本:v1.0.1
Composer 安装命令:
composer require jacmac/string-uppercase
包简介
demo package
README 文档
README
Convert any string to uppercase easily using this simple Laravel package.
🚀 Installation
You can install the package via Composer:
composer require jacmac/string-uppercase
Usage
Use the facade to convert any string to uppercase:
use Jacmac\StringUppercase\Facades\Uppercase; Uppercase::make('hello world'); // returns "HELLO WORLD"
If you're using Laravel's auto-discovery, you can even skip the 'use' statement:
Uppercase::make('laravel rules'); // returns "LARAVEL RULES"
Auto-Discovery
This package supports Laravel auto-discovery. No manual registration required.
Example Route
Route::get('/uppercase/{text}', function ($text) { return Uppercase::make($text); });
Visit: /uppercase/hello → will return HELLO
Configuration
No configuration required. Just plug and play 🎉
Licence
The MIT License (MIT). Please see the LICENSE file for more information.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-19