Download the PHP package xiaosongshu/bags without Composer

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

打包php为可执行文件

簡介

將動畫項目打包成可執行文件

用法

打开本项目的./Demo.php文件,里面有一个run()方法,这个是入口函数,你可以将你的业务代码放到这里面,下面是一个示例:

打包命令

运行可执行文件

打包完成后,在windows环境下会生成可执行文件./build/songshu.exe,双击即可执行,也可以命令行执行,直接在命令行键入./build/songshu.exe 即可运行。
如果是linux环境,打包会生成./build/songshu.bin可执行文件,直接命令行键入./build/songshu.bin即可执行。

关闭可执行文件

在命令行窗口键入ctrl + c即可关闭。

php靜態文件下載

https://github.com/dixyes/lwmbs/actions

参考文献

https://www.workerman.net/a/1635 https://www.workerman.net/a/1637

实现原理

先将业务代码打包成phar文件,写入引导文件。然后将php静态文件写入到可执行文件头,将phar压缩文件追加到可执行文件后面,最后给可执行文件追加执行权限。 在实际业务场景中,业务可能需要很多不同的扩展,那么请下载对应的php静态文件,或者自己编译。另外,可能业务代码被编译进去后会出现bug,那么需要你自己去 检验并修正。

其它

本项目,你只可以修改./Demo.php的代码,其它文件请不要修改,除非你真的明白项目的运行原理。


All versions of bags with dependencies

PHP Build Version
Package Version
Requires xiaosongshu/animation Version ^0.0.5
php Version >=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 xiaosongshu/bags contains the following files

Loading the files please wait ....