CodeIgniter Forums
Native PHP installers - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3)
+--- Thread: Native PHP installers (/showthread.php?tid=67283)

Pages: 1 2


RE: Native PHP installers - PaulD - 02-04-2017

Ah, but from this graph you can see we are all focusing on the wrong market entirely. https://www.google.com/trends/explore?q=wordpress,porn,php


RE: Native PHP installers - Ivo Miranda - 02-04-2017

(02-04-2017, 06:22 PM)PaulD Wrote: Ah, but from this graph you can see we are all focusing on the wrong market entirely. https://www.google.com/trends/explore?q=wordpress,porn,php

haha I am kinda worried that PHP is more popular then porn in some regions of the world lol


RE: Native PHP installers - PaulD - 02-04-2017

lol :-)


RE: Native PHP installers - Diederik - 02-05-2017

By native PHP installer I think you mean a standalone version right? I have created such an alternative installer for Wordpress. I would upload that single file to an empty (sub)domain and access it thourgh the browser. The script will download latest version of WP, setup the database, installs a handfull of plugins we always use, create a user for everyone in my office and removes some default dummy Posts. Pretty handy and save some time on every WP project we (have to) do.

For Codeigniter projects I have included an installer directory to my setup. It's not native PHP as in a standalone file, but it's basicly a small CI project. The index.php referes to the same CI system folder as the real project so the installer project is just a handfull of controllers, models and views. The installer modifies the required config files, imports .sql file, adds some company details of the client to the database, adds the users etc.
Since CI is my tool of choise I find it handier and easier to create the installer as a CI project as to a standalone script.

These installers enable me to delegate some work to less technical staffmembers.


RE: Native PHP installers - ignitedcms - 02-05-2017

(02-05-2017, 12:13 AM)Diederik Wrote: By native PHP installer I think you mean a standalone version right? I have created such an alternative installer for Wordpress. I would upload that single file to an empty (sub)domain and access it thourgh the browser. The script will download latest version of WP, setup the database, installs a handfull of plugins we always use, create a user for everyone in my office and removes some default dummy Posts. Pretty handy and save some time on every WP project we (have to) do.

For Codeigniter projects I have included an installer directory to my setup. It's not native PHP as in a standalone file, but it's basicly a small CI project. The index.php referes to the same CI system folder as the real project so the installer project is just a handfull of controllers, models and views. The installer modifies the required config files, imports .sql file, adds some company details of the client to the database, adds the users etc.
Since CI is my tool of choise I find it handier and easier to create the installer as a CI project as to a standalone script.

These installers enable me to delegate some work to less technical staffmembers.

Yeah basically that was what I was doing, the installer was inside codeigniter (see my install demo)

http://recordit.co/qP0WPRPU6l

but I noticed some problems. That's why I wanted to do an 'install' folder with just pure PHP I've saw something on github.

It is true about CMS though there isn't a one fits all, as devs I don't think we'll ever find a cms useful, after all that is why codeigniter is a framework because you can do anything with it, so to speak.

That being said, my three contributions, igs cms ,igs pro and now igs crud which I'm desperately waiting on testers if anyone has a chance sets the bar much higher than anything else out there IMO.


https://forum.codeigniter.com/thread-67257.html


RE: Native PHP installers - InsiteFX - 02-05-2017

Stand alone PHP Installer:

ApPHP EasyInstaller


RE: Native PHP installers - ignitedcms - 02-05-2017

Thanks I saw this - although the repo looks a bit old - looks useful.

https://github.com/mikecrittenden/codeigniter-installer

So I'm going to work on it next week and in general tidy up all three of my products and get some landing page info about them. Especially my flagship igs pro one.


RE: Native PHP installers - InsiteFX - 02-07-2017

There was also a paid pro version unless they made it all free now, I purchased it way back.


RE: Native PHP installers - ignitedcms - 02-07-2017

^^ I like this thing, but I think it's a bit OTT for what I need plus it messes with the UX which I've painstaking gone through to keep consistent and tidy. It is something I'll look at in the future, for a more robust server side install. Most of the things I need come bundled with most server side set ups like php 5.4+ and the gd lib, so I'm not too worried about that.


RE: Native PHP installers - sv3tli0 - 03-05-2017

User friendly installer in a framework would be just one simple interface to run all migrations, add some configurations, check several requirements.
For many security reasons all config files should always deny web overrides.
At the same time those days Composer is used for any 3rd party relations and such installer should not be able to run it.

I agree that CI can be a lot easier for use and popular if it is more than framework (perhaps CMF). But it is completely different thing than the current CI idea.