Download the PHP package itplato/phpanalysis without Composer

On this page you can find all versions of the php package itplato/phpanalysis. 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 phpanalysis

PHPAnalysis php中文无组件分词类

一、最新变化

1、修改源文件结构支持composer
2、把切分同时优化的操作模式改为独立步骤操作(即是粗分、切分、优化三步完全独立)
3、修改类成员调用支持自身引用,即是 xx()->xx()->xx() 模式

二、一个基本的分词操作

use Tutu\PhpAnalysis;
header('content-type:text/html;charset=utf-8');
$result_str = PhpAnalysis::Instance()
              ->SetSource("composer的出现真是让人们眼前一亮,web开发从此变成了一件很『好玩』的事情。")
              ->Delimiter(' ')
              ->ExecSimpleAnalysis()
              ->ExecDeepAnalysis()
              ->Optimize( true );
echo $result_str;

如果用默认参数,上面也可以简化为:
$result_str = PhpAnalysis::Instance()
              ->SetSource("composer的出现真是让人们眼前一亮,web开发从此变成了一件很『好玩』的事情。")
              ->Exec();

三、常用设置及方法


All versions of phpanalysis with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
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 itplato/phpanalysis contains the following files

Loading the files please wait ....