vswteam/laravel-hashed-naming

A trait to hashed naming methods to a class

1.0.0 2020-08-02 04:03 UTC

This package is auto-updated.

Last update: 2024-06-06 13:18:07 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.