Download the PHP package tooooony/aes_rsa_tree_linked_node without Composer

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

制作 composer 包

0x01 初始化composer.json

composer init

填写包的各类信息,包括name、description、keywords、type、version、autoload、authors、license、require等。

composer.json 架构可参考 点击

0x02 编写代码文件

以本项目为例,在src目录下,创建两个子目录LibTest,分别放核心功能类库代码和测试代码。

src/Lib/TreeNode.php 为例,代码如下:

注意到namespaceTony\Mixed\Lib,这是因为composer.json里的authoload.psr-4,有设置命名空间对应的代码路径映射关系:"Tony\\Mixed\\" => "src/"

0x03 推送到github仓库

0x04 提交到packagist.org

首先需要注册一个账号,邮箱激活以后,登录账号,在这个地址 https://packagist.org/packages/submit 把github仓库地址复制进去,点击提交。不出意外,就能提交成功了。如有意外,比如名字和别已有的包重复啦,类似啦,那就改一下,更新到github,再提交到packagist。

0x05 使用

在你的项目里: composer require tooooony/aes_rsa_tree_linked_node、 然后在你的代码里这样引用:


All versions of aes_rsa_tree_linked_node with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2 | ^8.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 tooooony/aes_rsa_tree_linked_node contains the following files

Loading the files please wait ....