There is a small project that is entirely in the same folder.
How to collect all files in a folder in one php-file? How it is done in the Adminer project Can some utility be used?

  • 2
    the name of this wondrous utility is hands - Zowie

2 answers 2

Phar

Php file extension for php and php extension. In addition to providing this service, the phar extension provides a file format for the association, and the PDO provides you with a network interface. Unlike PDO, it can be used to make a list of different types of databases. see Phar :: convertToExecutable () for one example.

What is phar? There are several arch files. It is a phar archive archived file. Additionally, it is possible to complete the phpas archived archives, as well as from a web server. Phar php for php applications.

    Like that:

    for i in /home/zzzz/src/* do cat $i >> bigfile.php done