Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

pietrobe03/php-against-humanity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Php against Humanity

What is Php against Humanity?

PaH is a clone of the Cards against Humanity™ card game. It is written as a web app and uses Codeigniter 4 and Bootstrap 4 as well as Font Awesome Free 5.

Installation

Server Requirements

  1. Apache Webserver with rewrite and php modules

  2. PHP version 7.2 or higher is required, with the following extensions installed and enabled:

    • intl
    • json (enabled by default - don't turn it off)
    • xml (enabled by default - don't turn it off)
    • mbstring
    • mysqlnd
  3. MySQL or compatible database server

The server was developed and tested on a Raspberry Pi 3B.

Installation steps

  1. Download the master branch's zip package. (Alternatively you can clone this repo.)
  2. Extract the package's contents to your web server directory (e.g. /var/www/html/cah).
  3. Create a mysql database for the game.
  4. Import install/base.sql to the database. This will create the table structure and store all the cards in the db.
  5. Copy or rename file .env_example to .env.
  6. Edit .env and fill in the missing data.

If everything is configured correctly, you should now be able to play the game.

Special Thanks

Special thanks for testing and bug reporting to: M.B., M.E., B.G., S.L., J.S., L.S., A.W.

Developed by R.J.P.

About

A clone of Cards against Humanity(tm) written in PHP7.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published