Hello.
I want to present you my small development, which will facilitate the installation of scripts on another PHPInstaller hosting.
It is enough to specify on the local computer what files are needed for packaging, register the package name, version, author and
build the package into 1 php file!How does it work?
The script uses the PclZip class for packing and unpacking the archive.
In the process, the script creates a similarity of XML. The packaged archive is encoded with base64_encode, this increases the archive by 33%, but deprives the user of necessarily filling in the binary form, and there are problems in the content of the archive in XML.
For this Base64 ... :)
')
After the script works, 1 script appears, which contains the archive and the shell for unpacking.
From words to example
I will show an example in more detail on the build package
phpMyAdmin .
Step 1
Run the script and immediately enter the name of the package, the author, and also indicate the location of the files.
(pictures are clickable)

Step2
Click on the button "Assemble the package."
The script will pack everything into 1 file and give its name:

Step3:
Copy the file to a separate folder for testing.

Step4
Go to the folder, as we see only 1 file.

Step5 - what it looks like
Run the script

Step6.
Result

Step7
Go to index.php and voa la.
Download.TODO:1. SQL support. So that the installer also installs in the database.
2. When creating, make export of the necessary tables from the database.
3.? your options.
Thank.
PS: a
couple of packages to try out locally.