PHP Classes

PHP 2 Install: Generate PHP script archives for site installation

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 4,192 All time: 722 This week: 52Up
Version License Categories
php2install 1.0GNU General Publi...Databases, Tools, Files and Folders, C...
Description 

Author

This class can generate PHP scripts that, when executed, they extract information built-in the scripts to install files and MySQL databases.

This class can be used to install all the files and databases of a site or an application. It is recommended when you need to distribute an application or even a whole site that is going to be installed by other people.

The class can collect all the site files recursively from a given directory.

It can also query a MySQL database and generate an SQL statements to create the database schema and the information in the rows of the base installation database.

In Portuguese:

Esta classe pode pegar todos os arquivos que compõem um site ou um aplicativo e se necessário um banco de dados MySQL associado, e o transformam em um único arquivo de instalação.

Esse arquivo de instalação é na verdade um script de PHP com toda a informação a instalar. Esse script deve ser executado no servidor para instalar automaticament o site ou aplicativo.

Esta classe é recomendada para quando a instalação de um site ou aplicativo é feita por terceiros.

Innovation Award
PHP Programming Innovation award winner
February 2005
Winner


Prize: One downloadable copy of Roadsend PHP Compiler
When a developer needs to distribute a site or an application that is going to be installed in production servers by other people, he must supply all the documentation and data to be installed in a convenient format.

The documentation must be clear and the steps necessary to install the application must be simple to understand and brief to execute.

Furthermore, the installation process may have to take care with eventual restrictions of the production environment. Sometimes, the person that will install the application cannot have physical access to the production server nor remote shell access.

This class provides a solution that consists on creating a PHP script that can be run as a Web server page. When it is run on the server it can automatically execute several types of actions to perform common installation steps like copying text or binary files and even installing databases and their contents.

This way, the most common steps of installing an application can executed smoothly and without the need of the presence of the original application developer.

Manuel Lemos
Picture of helmut kemper
Name: helmut kemper <contact>
Classes: 1 package by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files (6)  
File Role Description
Plain text file php2install.class.php Class Class file
Accessible without login Plain text file sample.php Example Sample file
Accessible without login Plain text file sample1.php Example sample file
Accessible without login Plain text file sample2.php Example sample 2
Accessible without login Plain text file sample3.php Example sample 3
Accessible without login Plain text file sample_otuput_demo.php Output sample output file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,192
This week:0
All time:722
This week:52Up
User Ratings User Comments (1)
 All time
Utility:73%StarStarStarStar
Consistency:73%StarStarStarStar
Documentation:-
Examples:71%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2570
 
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar