PHPackages                             mnshankar/civics - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mnshankar/civics

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mnshankar/civics
================

US Citizenship Test Easy Prep

v1.0(9y ago)027MITPHP

Since Jul 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mnshankar/civics)[ Packagist](https://packagist.org/packages/mnshankar/civics)[ RSS](/packages/mnshankar-civics/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

[![Build Status](https://camo.githubusercontent.com/a879dd2a6d858c0ad7ac44cd754cc05f1fc433805f4c22c952ad0cf4114d22fc/68747470733a2f2f7472617669732d63692e6f72672f6d6e7368616e6b61722f6369766963732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mnshankar/civics)

civics
======

[](#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
------------

[](#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
--------

[](#optional)

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

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

```

Features
--------

[](#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

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Total

2

Last Release

3621d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec7d6db9c6a284d9ca1fb934910bb11c1eb3aaab1d9fc9daa5e92f98a43a37d6?d=identicon)[mnshankar](/maintainers/mnshankar)

---

Top Contributors

[![mnshankar](https://avatars.githubusercontent.com/u/2873887?v=4)](https://github.com/mnshankar "mnshankar (15 commits)")

---

Tags

laravelCivicsN400Naturalization

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mnshankar-civics/health.svg)

```
[![Health](https://phpackages.com/badges/mnshankar-civics/health.svg)](https://phpackages.com/packages/mnshankar-civics)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90128.1k](/packages/emargareten-inertia-modal)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3614.9k](/packages/linkxtr-laravel-qrcode)[wearepixel/laravel-cart

A cart implementation for Laravel

1355.6k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
