承接 thealgoslingers/algoslingfileanew 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

thealgoslingers/algoslingfileanew

最新稳定版本:v1.0.0

Composer 安装命令:

composer require thealgoslingers/algoslingfileanew

包简介

Rename file in unique and pretty way.

README 文档

README

The package Algoslingfileanew allows you to give a unique name to your file. The mechanism is strong that no matter how many files you rename, even if they're millions they will still have their unique name preventing duplication of files. The package gives 4 options to rename file. (ie alphabets/numbers/hash/unique/alphanumeric) You can rename your file in unique way.

Contribution is allowed ❤️

How to install

-- composer require thealgoslingera/algoslingfileanew
HOW TO RENAME FILE AND/OR SAVE TO DIRECTORY
   <?php
   use Thealgoslingers\AlgoslingFileanew
   
   ## For file(s) being uploaded to server
   ## Please upload the file first
   ## Then use AlgoslingFileanew to rename it

   require "../vendor/autoload.php";
   
   $file = "path-to-your-file.extension";
   $AlgoslingFileanew = new AlgoslingFileanew;
   $newFile = $AlgoslingFileanew->renameFile($file,"Alnum");
   ## SAVE TO DIRECTORY (OPTIONAL) ##
   fopen("directory-path/$newFile","a");
   $AlgoslingFileanew = new AlgoslingFileanew();
   ?>

Tips

You may use strtolower($newFile) to rename in lowercase or strtoupper($newFile) to rename in uppercase

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-06