PHPackages                             hawkiq/larapsn - 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. hawkiq/larapsn

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

hawkiq/larapsn
==============

Laravel Package to get Playstation player trophies stats plus few other infos

1.0.5(3y ago)010MITPHP

Since Mar 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hawkiq/Larapsn)[ Packagist](https://packagist.org/packages/hawkiq/larapsn)[ RSS](/packages/hawkiq-larapsn/feed)WikiDiscussions main Synced 1mo ago

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

[![](https://camo.githubusercontent.com/5b96d71f48c0a5741cf568674bc57403011de5b5d35eb4ec97ce7e1fc029df73/68747470733a2f2f74726f70687967756964652e6f73616d612e6170702f696d616765732f6173736574732f6c6f676f2e706e67)](https://trophyguide.osama.app/)

About LaraPSN
-------------

[](#about-larapsn)

getting player stats for Playstation trophies is easy task but required paid services around 20$ per month, so since I love gaming and coding I decided to make my own simple API to bring basic information for players such as number of trophies or their avatar and last game played etc..

if you looking for php class without using Laravel you can use this [PSNApi](https://github.com/hawkiq/PSNApi)

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

[](#installation)

import package into your project using composer

```
composer require hawkiq/larapsn

```

Usage
-----

[](#usage)

initial using PSN id

```
use Hawkiq\Larapsn\HawkiqPSN;
// rest of used classes

$psnID = "hawkiq";
$psnapi = new HawkiqPSN($psnID);

```

Now you can get All player info using one method

```
$playerInfo = $psnapi->getInfos();

```

Here is the final output from getInfos method

```
{
  "username": "hawkiq ",
  "about": "* Founder of Iraqi PlayStation Players Leaderboard&nbsp;&nbsp;•&nbsp;&nbsp;* instagram:hawkiq&nbsp;&nbsp;•&nbsp;&nbsp;oJJI IJI oJI IJ",
  "avatar": "https://i.psnprofiles.com/avatars/l/G4613a5e4c.png",
  "trophies": {
    "total": 5595,
    "platinum": 112,
    "gold": 404,
    "silver": 1090,
    "bronze": 3989
  },
  "level": "409",
  "lastgame": "A Plague Tale: Innocence",
  "played": "158",
  "completion": "73.62",
  "complgames": "78",
  "hiddentrophies": 0
}

```

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within Larapsn, please send an e-mail to OsaMa via . All security vulnerabilities will be promptly addressed.

Preview
-------

[](#preview)

this class used in following sites

- [Trophy Guide Website](https://trophyguide.osama.app).
- [Leaderboard Website](https://leaderboard.osama.app/).

feel free to contact me if you want to add your site.

License
-------

[](#license)

Larapsn is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

3

Last Release

1423d ago

### Community

Maintainers

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

---

Top Contributors

[![hawkiq](https://avatars.githubusercontent.com/u/7524502?v=4)](https://github.com/hawkiq "hawkiq (17 commits)")

### Embed Badge

![Health badge](/badges/hawkiq-larapsn/health.svg)

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

###  Alternatives

[web64/laravel-nlp

Laravel package for accessing NLP tools

5711.2k](/packages/web64-laravel-nlp)[heyday/silverstripe-wkhtml

Provides Wkhtml functionality in SilverStripe

1538.7k1](/packages/heyday-silverstripe-wkhtml)[sas/variant-switch

Show a variant switch within the listing and cart

181.2k](/packages/sas-variant-switch)

PHPackages © 2026

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