Stripped down libraries
Posted: Tue Apr 29, 2014 04:19 UTC
I committed a change to Original tonight that adds a post-update script to composer that has it remove the portions of adodb and htmlpurifier that we do not need.
Grab the latest SVN, and then..
$ php composer.phar update
And you will get the latest versions of the libraries AND it will remove all the extra bits -- especially the .git directories, which were 20+ mb each for htmlpurifier and adodb.
A nice space savings.
I also added in ircmaxell's password_hash compat library. I'll be switching the password portions of the game to use it, eliminating phpass. Its a 48k library versus an 8k library, but it won't be used if the game is running on php-5.5+ (as there is a native password_hash function there).
Grab the latest SVN, and then..
$ php composer.phar update
And you will get the latest versions of the libraries AND it will remove all the extra bits -- especially the .git directories, which were 20+ mb each for htmlpurifier and adodb.
A nice space savings.
I also added in ircmaxell's password_hash compat library. I'll be switching the password portions of the game to use it, eliminating phpass. Its a 48k library versus an 8k library, but it won't be used if the game is running on php-5.5+ (as there is a native password_hash function there).