Just a simple user authentication solution inside a super-simple MVC framework skeleton that works out-of-the-box. HUGE uses the future-proof official bcrypt password hashing/salting implementation of PHP 5.5+, plus has some nice features that will dramatically speed up the time from idea to first usable prototype application. That's all. This project has its focus on hardcore simplicity. Everything is as simple as possible, made for smaller projects, typical agency work and quick pitch drafts. If you want to build massive corporate applications with all the features modern frameworks have, then have a look at Laravel, Symfony or Yii, but if you just want to quickly create something that just works, then this script might be interesting for you.
HUGE's simple-as-possible architecture was inspired by several conference talks, slides and articles about huge applications that - surprisingly and intentionally - go back to the basics of programming, using procedural programming, static classes, extremely simple constructs, not-totally-DRY code etc. while keeping the code extremely readable (StackOverflow[](, Wikipedia, SoundCloud)).

Copy the example configuration file from github.com/knickers/huge and make any changes you need.
$ docker run -d -e MYSQL_ROOT_PASSWORD="example_password" --name huge-db knickers/huge-db
$ docker run -it --link huge-db:mysql -p 8080:80 -v "$PWD/config.php:/var/www/html/application/config/config.development.php" knickers/huge
knickers/huge-db is a MariaDB database pre-seeded with the users table needed by the HUGE framework, here is the docker image source.
In order to mount development files in the container without overwriting any core framework files, each source code folder must be mounted individually. Rename your config file to config.development.php, and move it into the application/config directory.
$ docker run -it --link huge-db:mysql -p 8080:80 \
-v "$PWD/src/application/config:/var/www/html/application/config" \
-v "$PWD/src/application/controller:/var/www/html/application/controller" \
-v "$PWD/src/application/model:/var/www/html/application/model" \
-v "$PWD/src/application/view:/var/www/html/application/view" \
-v "$PWD/src/public/css:/var/www/html/public/css" \
-v "$PWD/src/public/img:/var/www/html/public/img" \
-v "$PWD/src/public/js:/var/www/html/public/js" \
knickers/huge
Compile your own image. The COPY command does a merge, so the core framework files are not overwritten. Rename your config file config.production.php.
FROM knickers/huge
COPY src:/var/www/html/
Content type
Image
Digest
Size
176.6 MB
Last updated
over 10 years ago
docker pull knickers/huge