mnshankar/civics

US Citizenship Test Easy Prep
27
Install
composer require mnshankar/civics
Latest Version:v1.0
Laravel:5
License:MIT
Last Updated:Jul 30, 2016
Links: GitHub  ·  Packagist
Maintainer: mnshankar

Build Status

civics

US Naturalization Test Flash Cards. Because.. ignorance is not cool :-)

This Laravel 5+ package provides an easy drop-in package to help you brush up on your (US) civic knowledge.

Installation

Within your laravel 5 project,

composer require "mnshankar/civics"

(Use Tag v0.9 for Laravel 5.0 and 5.1 and Use Tag v1.0 for Laravel 5.2)

Next, add the service provider to your providers array in app/config/app.php:

mnshankar\civics\CivicsServiceProvider::class,

The application can then be accessed by appending "/civics" after your base url:

http://{your-app-base-url}/civics

Optional

Publish your view file to change the look-and-feel of the displayed flashcards

php artisan vendor:publish --provider="mnshankar/civics/CivicsServiceProvider"

Features

  1. Randomized order of questions
  2. Uses a self-contained sqlite database installed along with the package
  3. Seed file for list of questions is provided. So, if/when answers to questions do change, updating the system is as easy as updating the seed file and reseeding like so:
php artisan db:seed --class=mnshankar\civics\seeds\QuestionSeeder

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released Laravel License
v1.0 ~5 MIT
v0.9 5.* MIT