PHPackages                             orangeshadow/polls - 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. orangeshadow/polls

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

orangeshadow/polls
==================

A Laravel package to create your polls

0.0.1(8y ago)3571[1 issues](https://github.com/orangeShadow/polls/issues)MITPHPPHP &gt;=7.0

Since Apr 2Pushed 7y ago2 watchersCompare

[ Source](https://github.com/orangeShadow/polls)[ Packagist](https://packagist.org/packages/orangeshadow/polls)[ RSS](/packages/orangeshadow-polls/feed)WikiDiscussions master Synced 2d ago

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

Polls package for Laravel
=========================

[](#polls-package-for-laravel)

Install
-------

[](#install)

`composer require orangeshadow/polls:dev-master`

then copy config, migration and lang

`php artisan vendor:publish OrangeShadow\\Polls\\SeriviceProvider`

run migration

`php artisan migrate`

Config
------

[](#config)

polls.php

`routing` - enable or disable routing

`admin_route_prefix` - prefix for manage polls API route

`admin_route_middleware` - array middleware for manage polls route

`public_route_prefix` - prefix for public API route

`public_route_middleware` - array for manage polls route

`paginate` - count items returned from api

Objects
-------

[](#objects)

Routes
------

[](#routes)

admin route:

[Poll API](https://github.com/orangeShadow/polls/wiki/Poll--API)

```
GET: /admin/poll - Get poll list

POST: /admin/poll - Store Poll

GET: /admin/poll/{poll} - Show poll

PUT: /admin/poll/{poll} - Update poll

DELETE: /admin/poll/{poll} - Remove poll

POST: /admin/poll/{poll}/close - Close Poll

```

[Option API](https://github.com/orangeShadow/polls/wiki/Option-API)

```
GET: /admin/option - Get option list

POST: /admin/option - Store Option

GET: /admin/option/{option} - Show option

PUT: /admin/option/{option} - Update option

DELETE: /admin/option/{option}  Remove option

```

public route for get poll with options (and result if user did voted)

[Poll API](https://github.com/orangeShadow/polls/wiki/Poll--API)

```
POST: poll/{poll}

```

public route for voting (only for auth user)

[Poll API](https://github.com/orangeShadow/polls/wiki/Poll--API)

```
POST: poll/{poll}/vote
FORM-DATA: {
    options: array
}

```

Facade PollProxy
----------------

[](#facade-pollproxy)

```
$pollProxy = app('PollPropxy',['poll'=>$poll])

```

Save Vote:

```
$pollProxy->voting($user_id,$options);

```

Get Result Array:

```
$pollProxy->getResult();

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97% 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

Unknown

Total

1

Last Release

3012d ago

### Community

Maintainers

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

---

Top Contributors

[![orangeShadow](https://avatars.githubusercontent.com/u/1313470?v=4)](https://github.com/orangeShadow "orangeShadow (32 commits)")[![ikidnapmyself](https://avatars.githubusercontent.com/u/13779866?v=4)](https://github.com/ikidnapmyself "ikidnapmyself (1 commits)")

---

Tags

laravelvotepolls

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/orangeshadow-polls/health.svg)

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

###  Alternatives

[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.3k133.0M734](/packages/barryvdh-laravel-debugbar)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.3k2.3M59](/packages/fruitcake-laravel-debugbar)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M143](/packages/laravel-mcp)[anahkiasen/former

A powerful form builder

1.4k1.4M14](/packages/anahkiasen-former)[hasinhayder/tyro-login

Tyro Login - Beautiful, customizable authentication views for Laravel 12 &amp; 13

2464.9k6](/packages/hasinhayder-tyro-login)

PHPackages © 2026

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