Gamification platform (badges and levels) based on Laravel https://pacoorozco.info/gamify-laravel/
  • PHP 75.8%
  • Blade 23.1%
  • Shell 0.5%
  • JavaScript 0.5%
  • CSS 0.1%
Find a file
2025-11-04 16:16:35 +01:00
.github Merge pull request #548 from pacoorozco/dependabot/github_actions/aglipanci/laravel-pint-action-2.6 2025-10-27 15:16:26 +00:00
app Fix player pages 2025-04-18 16:31:48 +02:00
bootstrap Update copyright in all files 2021-02-18 10:21:51 +01:00
config Bump version 4.1.4 -> 5.0.0 2025-04-19 12:35:51 +02:00
database refactor BadgeActuators enum to PHP native enum 2025-04-01 10:44:20 +02:00
docs Comfigure jekyll theme 2025-04-19 13:34:49 +02:00
lang/en Fix admin pages 2025-04-18 15:43:04 +02:00
public Fix bug in BS4 not showing invalid-feedback in input-groups 2025-04-15 14:43:07 +02:00
resources Fix id some component bugs 2025-04-18 17:55:20 +02:00
routes refactor Roles enum to PHP native enum 2025-04-01 09:04:27 +02:00
storage WIP - Laravel 5.5 update 2018-11-11 17:31:32 +01:00
tests Fix id some component bugs 2025-04-18 17:55:20 +02:00
utils Add a filter to commit messages 2025-04-19 11:05:59 +02:00
.editorconfig Enable StyleCI to deal with PHP Code Style fixes 2018-11-18 16:24:34 +01:00
.env.example Set default queue driver to sync 2025-03-30 21:26:03 +02:00
.env.testing Set default queue driver to sync 2025-03-30 21:26:03 +02:00
.gitattributes Add blade configuration in .gitattributes 2025-03-29 06:36:20 +01:00
.gitignore Merge with main branch 2023-02-25 16:54:44 +01:00
artisan WIP - Laravel 5.5 update 2018-11-11 17:31:32 +01:00
CHANGELOG.md Bump version 4.1.4 -> 5.0.0 2025-04-19 12:35:51 +02:00
CODE_OF_CONDUCT.md Add Code of Conduct 2020-02-29 06:15:54 +01:00
composer.json Bump predis/predis from 2.3.0 to 3.2.0 2025-10-01 11:02:50 +00:00
composer.lock Merge pull request #561 from pacoorozco/dependabot/composer/laravel/pint-1.25.1 2025-11-04 16:16:35 +01:00
CONTRIBUTE.md Fix broken link in CONTRIBUTING guide 2023-05-16 17:13:27 +02:00
docker-compose.yml Add mailhog docker to sail 2025-03-30 22:16:22 +02:00
HOWTO.md Add documentation about how to customize views 2022-09-06 08:58:26 +02:00
LICENSE WIP - Laravel 5.5 update 2018-11-11 17:31:32 +01:00
package.json Add the date-time-picker blade component 2025-04-10 16:44:31 +02:00
phpstan.neon Fix larastan errors 2025-03-30 08:29:52 +02:00
phpunit.xml Adapt phpunit.xml to new versions 2025-03-29 06:37:09 +01:00
README.md Fix some typos in the documentation 2025-04-19 13:30:21 +02:00
server.php Style our code with laravel Pint 2022-07-22 10:20:37 +02:00
webpack.mix.js Fix bug in BS4 not showing invalid-feedback in input-groups 2025-04-15 14:43:07 +02:00

gamify - A gamification platform to implement any serious game mechanic

Testing with MySQL codecov License Laravel Version GitHub release

Presentation

Game of Work, aka GoW!, was a gamification platform created by Emilio Ampudia (eampudia at gmail.com) and * Paco Orozco* (paco at pacoorozco.info).

We wanted to teach, learn and share some fun with our colleagues, so we created a game based on questions about our organization (process, services, teams...). This was the birth of gamify, a platform implementing a levels & badge game at UPCnet.

As much as possible, I've tried to keep a clean code to work everywhere out of the box. You are not obliged to use my tools and you are free to change the code in order to use it at your own feeling.

Documentation

The documentation is accessible here.

How to run gamify

Laravel Sail is a light-weight command-line interface for interacting with Laravel's default Docker development environment. This will create several containers to implement the application needs. An application server and a database server.

Prior to this installation, you need to have installed this software:

  1. Clone the repository locally

    git clone https://github.com/pacoorozco/gamify-laravel.git gamify
    cd gamify
    
  2. Copy .env.example to .env.

    NOTE: You don't need to touch anything from this file. It works with default settings.

  3. Install PHP dependencies with:

    NOTE: You don't need to install neither PHP nor Composer, we are going to use a Composer image instead.

    docker run --rm \                  
    -u "$(id -u):$(id -g)" \
    -v $(pwd):/var/www/html \
    -w /var/www/html \
    laravelsail/php82-composer:latest \
    composer install --ignore-platform-reqs
    
  4. Start all containers with the sail command.

    ./vendor/bin/sail up -d
    
  5. Seed database in order to play with some data

    php artisan key:generate 
    php artisan migrate --seed
    

    If you are using Sail, you should execute those commands using Sail:

    # Running Artisan commands within Laravel Sail...
    sail artisan key:generate 
    sail artisan migrate --seed
    
  6. Point your browser to http://localhost. Enjoy!

    NOTE: Default credentials are [email protected]/admin or [email protected]/player

Reporting issues

If you have issues with gamify, you can report them with the GitHub issues module.

Contributing

Please see CONTRIBUTE for details.

License

gamify is released as free software under GNU GPL v3.0 or later

Authors

gamify was originally developed by Emilio Ampudia and Paco Orozco as part of a game in UPCnet. Later, the original version was migrated to Laravel.

See contributor list for a complete list of contributors.