Merging multiple PHP script into a single file

前端 未结 6 2003
礼貌的吻别
礼貌的吻别 2021-02-05 07:59

I have a PHP script which includes one or two other libraries it depends on using the \'include\' statement. To make it more easily portable, I would like to someho

6条回答
  •  攒了一身酷
    2021-02-05 08:25

    The PHP packages ScriptJoiner or even better JuggleCode might help:

    • http://packagist.org/packages/codeless/scriptjoiner
    • http://packagist.org/packages/codeless/jugglecode

    Both are built upon PHP-Parser (http://packagist.org/packages/nikic/php-parser), which makes it very easy to join scriptfiles.

提交回复
热议问题