2017 © Pedro Peláez
 

library ddv-url

ddv-url php library

image

ddvphp/ddv-url

ddv-url php library

  • Monday, March 12, 2018
  • by yuchonghua
  • Repository
  • 4 Watchers
  • 0 Stars
  • 337 Installations
  • PHP
  • 7 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 9 % Grown

The README.md

ddv-url

Installation - 安装

composer require ddvphp/ddv-url

Usage - 使用

1、urlEncode


\DdvPhp\DdvUrl::urlEncode();

2、urlEncodeExceptSlash

在uri编码中不能对'/'编码, (*1)


\DdvPhp\DdvUrl::urlEncodeExceptSlash();

3、urlDecode


\DdvPhp\DdvUrl::urlDecode();

4、parse url解码[parse_url]


\DdvPhp\DdvUrl::parse();

5、build url编码[http_build_url]


\DdvPhp\DdvUrl::build();

6、parseQuery query解码[parse_str]


\DdvPhp\DdvUrl::parseQuery();

7、buildQuery query编码[http_build_query]


\DdvPhp\DdvUrl::buildQuery();

8、formatPath path格式化,去除多余/


\DdvPhp\DdvUrl::formatPath();

The Versions

12/03 2018

dev-master

9999999-dev

ddv-url php library

  Sources   Download

MIT LGP-2.1

The Requires

 

by Avatar yuchonghua

12/03 2018

0.0.1

0.0.1.0

ddv-url php library

  Sources   Download

MIT LGP-2.1

The Requires

 

by Avatar yuchonghua