PHPackages                             dcplibrary/papiaccount - 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. dcplibrary/papiaccount

ActiveLibrary

dcplibrary/papiaccount
======================

Laravel package for PAPIAccount

v1.7.0(7mo ago)09[8 PRs](https://github.com/dcplibrary/papiaccount/pulls)MITBladePHP ^8.3CI passing

Since Sep 20Pushed 3mo agoCompare

[ Source](https://github.com/dcplibrary/papiaccount)[ Packagist](https://packagist.org/packages/dcplibrary/papiaccount)[ Docs](https://www.dcplibrary.org)[ RSS](/packages/dcplibrary-papiaccount/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (43)Used By (0)

PAPIAccount
===========

[](#papiaccount)

[![Lint Code Base](https://github.com/dcplibrary/papiaccount/actions/workflows/super-linter.yml/badge.svg)](https://github.com/dcplibrary/papiaccount/actions/workflows/super-linter.yml)[![Code Quality](https://github.com/dcplibrary/papiaccount/actions/workflows/code-quality.yml/badge.svg)](https://github.com/dcplibrary/papiaccount/actions/workflows/code-quality.yml)[![Semantic-Release](https://github.com/dcplibrary/papiaccount/actions/workflows/release.yml/badge.svg)](https://github.com/dcplibrary/papiaccount/actions/workflows/release.yml)[![StyleCI](https://camo.githubusercontent.com/cd8fa666d1721a43044cc0608514bbb90d6fb84ddd3756cbd4f4b08a3829a6bb/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f313036303838303635372f736869656c643f6272616e63683d6d61696e)](https://github.styleci.io/repos/1060880657?branch=main)[![Latest Stable Version](https://camo.githubusercontent.com/3e8837c0a9127681913ae64ee5e17ff3f9330d568e0ade3a3ec5f4903d0b86a9/68747470733a2f2f706f7365722e707567782e6f72672f6463706c6962726172792f706170696163636f756e742f762f737461626c65)](https://packagist.org/packages/dcplibrary/papiaccount)[![License](https://camo.githubusercontent.com/754767c2c6f68321219b330fd4ad33cf1483ed15e0fb00fc784f3a8baa05cd7a/68747470733a2f2f706f7365722e707567782e6f72672f6463706c6962726172792f706170696163636f756e742f6c6963656e7365)](https://packagist.org/packages/dcplibrary/papiaccount)

A Laravel package for PAPIAccount functionality.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require dcplibrary/papiaccount
```

**IMPORTANT**

The included views require a [Flux UI Pro License](https://fluxui.dev). However, you can remove the requirement for livewire/flux from composer.json and edit the views to use Tailwind CSS or any other UI framework.

Configuration
-------------

[](#configuration)

Add Middleware to bootstrap/app.php

```
    ->withMiddleware(function (Middleware $middleware): void {
        $middleware->alias([
            'access.secret' => Dcplibrary\PAPIAccount\App\Http\Middleware\AccessSecret::class,
        ]);
        $middleware->trustProxies(
            at:'*',
            headers: Request::HEADER_X_FORWARDED_FOR |
            Request::HEADER_X_FORWARDED_HOST |
            Request::HEADER_X_FORWARDED_PORT |
            Request::HEADER_X_FORWARDED_PROTO
        );
    })
```

Publish the configuration file:

```
php artisan vendor:publish --tag="papiaccount-config"
```

This will publish the configuration file to `config/papiaccount.php`.

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

```
use Dcplibrary\PAPIAccount\PAPIAccount;

$instance = new PAPIAccount();
echo $instance->name(); // PAPIAccount
echo $instance->version(); // 1.0.0
```

### Using the Facade

[](#using-the-facade)

```
use Dcplibrary\PAPIAccount\Facades\PAPIAccount;

PAPIAccount::name(); // PAPIAccount
PAPIAccount::version(); // 1.0.0
```

### Service Provider Registration

[](#service-provider-registration)

The service provider is automatically registered. The package provides:

- Routes at `/papiaccount`
- Views under the `papiaccount` namespace
- Configuration merging
- Database migrations

Testing
-------

[](#testing)

Run the tests with:

```
composer test
```

Code Quality
------------

[](#code-quality)

Run code formatting:

```
composer format
```

Run static analysis:

```
composer analyse
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Credits
-------

[](#credits)

- [Brian Lashbrook](https://github.com/blashbrook)
- [All Contributors](../../contributors)

About DC Public Library
-----------------------

[](#about-dc-public-library)

This package is developed and maintained by the DC Public Library development team.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance73

Regular maintenance activity

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~0 days

Total

33

Last Release

225d ago

PHP version history (2 changes)v1.0.0PHP ^8.1

v1.6.7PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/757facf4fdcbae7fcc0f3c4ab0cf0df2f070d193f06d623dac8dc95ce877bef6?d=identicon)[dcpl-blashbrook](/maintainers/dcpl-blashbrook)

---

Top Contributors

[![dcpl-blashbrook](https://avatars.githubusercontent.com/u/7748106?v=4)](https://github.com/dcpl-blashbrook "dcpl-blashbrook (43 commits)")[![blashbrook](https://avatars.githubusercontent.com/u/660539?v=4)](https://github.com/blashbrook "blashbrook (34 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (33 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

laravelpackageaccountPAPI

###  Code Quality

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/dcplibrary-papiaccount/health.svg)

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

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)

PHPackages © 2026

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