定制 roshandelpoor/super-tools 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

roshandelpoor/super-tools

Composer 安装命令:

composer require roshandelpoor/super-tools

包简介

super tools is practical function in Laravel

README 文档

README

Super Tools is a Laravel package that provides practical functions to make your coding life easier. It includes a variety of tools that can be used in any Laravel project.

Installation

You can install Super Tools using Composer. Simply run the following command:

1- composer require "roshandelpoor/super-tools"

2- composer dump-autoload

3- add this line in config/app.php -> in part 'providers' => []
   Super\SuperToolsServiceProvider::class,

Usage

To use Super Tools in your project, simply include the autoload file and start using the functions. Here's an example:

<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Super\Tools;

class TestPackageController extends Controller
{
    public function package () {
        $superToolsPackage = new Tools();
        echo $superToolsPackage->persianToEnglishNumber('۱۴۰۲');
    }
}

Functions

Super Tools includes the following functions:

- persianToEnglishNumber
- englishToPersianNumber
- base64ToImage
- getExtensionFileFromBase64
- checkKeyRedisIsLock
- removeKeyRedisIsLock
- removeCountryNumberPhoneForIran
- set_queryStringRedis
- get_queryStringRedis
- delete_queryStringRedis
- validateNationalCode
- generateRandomToken
- openssl_encrypt_project
- openssl_decrypt_project
- helper_strToHex
- helper_hexToStr
- isMobile
- isShaba
- deviceIsMobile
- dateCheckBetweenTwoDates
- nameDayEnglishToPersian
- generateSecurePassword
- stringSearch
- getIP
- checkCountryIP
- getServerInfo
- getFileInfo

Contributing

If you find any bugs or have suggestions for new features, feel free to open an issue or submit a pull request on GitHub.

License

Super Tools is open-source software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固