{"repo":"arthurkushman/pgo","free":true,"listed":false,"github":"https://github.com/arthurkushman/pgo","clone":"git clone https://github.com/arthurkushman/pgo.git","description":"Go library for PHP community with convenient functions","language":"Go","stars":88,"topics":["golang","go","php","functions","api","date","files","strings","html","array"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"pgo Go library for PHP community with convenient functions Installation Core Serialize/Unserialize Date Milli/Micro Strings StrReplace/StrIReplace HTTPBuildQuery StripTags Files FileGetContents FilePutContents MoveUploadedFile FileExists IsFile/IsDir/IsLink Arrays InArray ArrayChunk ArrayCombine ArrayCountValues ArrayMap ArrayFilter ArrayDiff ArrayUdiff ArraySum ArrayIntersect ArrayMin/ArrayMax ArrayUnique ArrayValues ArrayReverse Range EqualSlices Collections PriorityQueue Network IP2Long/Long2Ip GetMxrr Math Rand Crypto Md5 Sha1 Sha2 HashFile HashHmac IsValidMac Installation Via go get command: Imagine that you need to write Go code every day and also have a convenient functions in memory from PHP experience Core Serialize/Unserialize For instance, to store Go code data in storage engines like rdbms, no-sql, key-value etc, you can use serialization functions to serialize Go code to string and unserialize it back from string to Go code: Date You can use date function with similar formatting for PHP e.g.: Milli/Micro Strings StrReplace replace sub-strings with StrReplace: HTTPBuildQuery Building a http query string: StripTags Strip tags with exclusion rules: UPD: As had been stated here - https://github.com/golang/go/issues/22639 There is a very handy \"stripTags\" function in html/template, then guys from official team as fast as they got dislike on their negative comment, closed the thread. That is why libs like pgo is appearing and will be move forward/evolve, bypassing stri","default_branch":null,"files":null,"tree":[],"storefront":"/r/arthurkushman","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/arthurkushman/pgo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}