vswteam / laravel-hashed-naming
A trait to hashed naming methods to a class
1.0.0
2020-08-02 04:03 UTC
Requires
- php: ^7.4
Requires (Dev)
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2026-03-06 16:49:20 UTC
README
本套件將常用的雜湊命名函式加入你的 Laravel 專案. 你可以使用下述範例取得一個哈希目錄結構.
$input = 'value'; $this->testClass->generateHashedDirectoryPath($input);
Installation
You can install the package via composer:
composer require vswteam/laravel-hashed-naming
Usage
use VSWTeam\LaravelHashedNaming\HashedNamingTrait; class TestClass { use HashedNamingTrait; }
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.