All Projects → AxiosLeo → php-tools

AxiosLeo / php-tools

Licence: MIT License
Some code snippets that are often used in PHP

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to php-tools

vscode-gcode-syntax
G Code Language Extension for Visual Studio Code. Turn VSCode into a fully capable G-Code editor, including language support & more.
Stars: ✭ 59 (+136%)
Mutual labels:  snippets, tree
ee-code-snippet-library
EE Code Snippet Library
Stars: ✭ 27 (+8%)
Mutual labels:  snippets
eav-bundle
A Symfony bundle for basic EAV management
Stars: ✭ 19 (-24%)
Mutual labels:  uuid
vscode-fortran-support
Fortran language support for Visual Studio Code
Stars: ✭ 49 (+96%)
Mutual labels:  snippets
vue-snippets
Visual Studio Code Syntax Highlighting For Vue3 And Vue2
Stars: ✭ 25 (+0%)
Mutual labels:  snippets
AhaAlgorithms
《啊哈算法》书上代码
Stars: ✭ 47 (+88%)
Mutual labels:  tree
Bijou.js
Bijou.js: Useful JavaScript snippets in one simple library
Stars: ✭ 30 (+20%)
Mutual labels:  snippets
code-examples
Short code snippets written by our open source community!
Stars: ✭ 60 (+140%)
Mutual labels:  snippets
vscode-csharp-snippets
Extension of C# Snippets for Visual Studio Code
Stars: ✭ 22 (-12%)
Mutual labels:  snippets
AdTree
Accurate, Detailed, and Automatic Modelling of Laser-Scanned Trees
Stars: ✭ 88 (+252%)
Mutual labels:  tree
vim-es2015-snippets
✂️ ES2015 code snippets for vim
Stars: ✭ 39 (+56%)
Mutual labels:  snippets
geeks-for-geeks-solutions
✅ My own Amazon, Microsoft and Google SDE Coding challenge Solutions (offered by GeeksForGeeks).
Stars: ✭ 246 (+884%)
Mutual labels:  tree
xmas-tree
XMAS Tree from stacked ws2812 rings driven by a Digispark
Stars: ✭ 22 (-12%)
Mutual labels:  tree
vscode-react-javascript-snippets
Extension for React/Javascript snippets with search supporting ES7+ and babel features
Stars: ✭ 782 (+3028%)
Mutual labels:  snippets
kakoune-snippets
Snippet support for kakoune
Stars: ✭ 35 (+40%)
Mutual labels:  snippets
go-inet
A Go library for reading, formatting, sorting, lookup and converting IP-addresses and IP-blocks
Stars: ✭ 14 (-44%)
Mutual labels:  tree
atom-file-bookmark
Bookmark files in your project for quick access
Stars: ✭ 16 (-36%)
Mutual labels:  tree
30-seconds-of-angular
Curated collection of Angular snippets that you can understand in 30 seconds or less
Stars: ✭ 24 (-4%)
Mutual labels:  snippets
gitree
Print a directory tree that shows Git status and ignores files dictated by .gitignore.
Stars: ✭ 32 (+28%)
Mutual labels:  tree
vscode-github-md-like-notion
write github readme like notion
Stars: ✭ 13 (-48%)
Mutual labels:  snippets

PHP Tools

CI Build Status Latest Stable Version MIT

Some code snippets that are often used in PHP.

Need PHP 7.4/8.0 and above.

  • Util Class
Class Name Feature Description
SM3 SM3 crypt tool
HMac support custom algorithm with HMac
UUID generate uuid string
Path path operator
Files files operator
CRC64 tool for crc64 arithmetic
ArrayMap tool for array and map data
RSACrypt RSA crypt tool
Datetime tool for date time operation
XMLParser the parser for XML string
MimeTypes tool for MimeTypes
ListToTree convert list to tree
TreeToList convert tree to list
ForkProcess multi-process demo
PharOperator tool for build phar file
BHDConverter tool for binary conversions
CDKEYProducer tool for produce CDKEY
  • Util Functions
Function Name Description
sm3 encode string with sm3 algorithm
sm3_file encode file with sm3 algorithm
hmac encode string with hmac algorithm
halt dump some information and exit process
xml_encode convert array to xml string
xml_decode convert xml string to array
uuid generate uuid string
path_join join path string
client_ip get client ip
render_str render string with params

Install

composer require axios/tools

Usage

see Unit Test Case

License

The project is open-sourced software licensed under the MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].