Download the PHP package zyan/beautiful without Composer

On this page you can find all versions of the php package zyan/beautiful. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package beautiful

zyan/beautiful

这是一个通用靓号检测,手机靓号正则规则
可用于检测手机号,座机号,QQ号等数字类账号

内置规则

要求

  1. php >= 7.2
  2. Composer

安装

使用

配置

匹配靓号

返回命中规则 多个返回多个 未命中返回空数组

实现自已的规则

您需要继承 Zyan\Beautiful\RulesInterface
实现 public static function go(string $str): bool 方法
示例如下:

可使用 Beautiful::setRules(string $name,RulesInterface $value) 方法进行配置

接下来您就可以使用了

参与贡献

  1. fork 当前库到你的名下
  2. 在你的本地修改完成审阅过后提交到你的仓库
  3. 提交 PR 并描述你的修改,等待合并

License

MIT license


All versions of beautiful with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zyan/beautiful contains the following files

Loading the files please wait ....