PHPackages                             sharestoryz/laravel-yourstoryz - 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. sharestoryz/laravel-yourstoryz

ActiveLibrary

sharestoryz/laravel-yourstoryz
==============================

This is my package laravel-yourstoryz

1.0.0(3mo ago)0965[1 PRs](https://github.com/sharestoryz/laravel-yourstoryz/pulls)1MITPHPPHP ^8.3CI passing

Since Jan 12Pushed 1w agoCompare

[ Source](https://github.com/sharestoryz/laravel-yourstoryz)[ Packagist](https://packagist.org/packages/sharestoryz/laravel-yourstoryz)[ Docs](https://github.com/sharestoryz/laravel-yourstoryz)[ GitHub Sponsors](https://github.com/ShareStoryz)[ RSS](/packages/sharestoryz-laravel-yourstoryz/feed)WikiDiscussions 1.x Synced today

READMEChangelog (3)Dependencies (26)Versions (7)Used By (1)

Integrate YourStoryz API into a Laravel app
===========================================

[](#integrate-yourstoryz-api-into-a-laravel-app)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0f538d4b56604f22108417c5be4da810d58763c0b09a7b756b754fd137d7cb13/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736861726573746f72797a2f6c61726176656c2d796f757273746f72797a2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sharestoryz/laravel-yourstoryz)[![GitHub Tests Action Status](https://camo.githubusercontent.com/5bfc5224facb13f00b6309387376ed66fd2fc3ca8fd9c7e7e5f685c869f8f0ca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736861726573746f72797a2f6c61726176656c2d796f757273746f72797a2f72756e2d74657374732e796d6c3f6272616e63683d302e78266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/sharestoryz/laravel-yourstoryz/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/cc687d2a3c9a5bdb4b7ca711dc0c6ff9b96999b679e89d633fa3850f56ed7206/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736861726573746f72797a2f6c61726176656c2d796f757273746f72797a2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d302e78266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/sharestoryz/laravel-yourstoryz/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/7e6f7954e6fb5f4bfe517af1e2274abfb09ebc08ff3db2bdfb7261f07e517ac4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736861726573746f72797a2f6c61726176656c2d796f757273746f72797a2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sharestoryz/laravel-yourstoryz)

A Laravel package that provides a convenient wrapper around the [YourStoryz PHP SDK](https://github.com/sharestoryz/yourstoryz-php-sdk). It handles authentication and service registration out of the box, so you can start interacting with the YourStoryz API right away.

```
use YourStoryz\LaravelYourStoryz\Facades\YourStoryz;

$companies = YourStoryz::companies()->all();
$me = YourStoryz::users()->me();
```

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

[](#installation)

You can install the package via composer:

```
composer require sharestoryz/laravel-yourstoryz
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-yourstoryz-config"
```

This is the contents of the published config file:

```
return [

    'api_token' => env('YOURSTORYZ_API_TOKEN', ''),

    'base_url' => env('YOURSTORYZ_API_URL', 'https://dashboard.yourstoryz.com'),

];
```

Usage
-----

[](#usage)

```
use YourStoryz\LaravelYourStoryz\Facades\YourStoryz;

// Companies
$companies = YourStoryz::companies()->all();
$company = YourStoryz::companies()->get($companyId);
$stories = YourStoryz::companies()->stories($companyId);
$videos = YourStoryz::companies()->publishedVideos($companyId);

// Departments
$departments = YourStoryz::departments()->all();
$department = YourStoryz::departments()->get($departmentId);

// Stories
$stories = YourStoryz::stories()->all();
$story = YourStoryz::stories()->get($storyId);

// Users
$me = YourStoryz::users()->me();
$userStories = YourStoryz::users()->stories($userId);

// Published Videos
$video = YourStoryz::publishedVideos()->get($videoId);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

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

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

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Jan Henk Hazelaar](https://github.com/sharestoryz)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance91

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.5% 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 ~24 days

Total

5

Last Release

75d ago

Major Versions

0.x-dev → 1.0.02026-04-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c8436fa940b097bc16a3da74b6d85a4070816e19070a5bdc1a6f733a61f75fc?d=identicon)[concept7](/maintainers/concept7)

---

Top Contributors

[![jhhazelaar](https://avatars.githubusercontent.com/u/215711?v=4)](https://github.com/jhhazelaar "jhhazelaar (33 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

laravelShareStoryzlaravel-yourstoryz

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/sharestoryz-laravel-yourstoryz/health.svg)

```
[![Health](https://phpackages.com/badges/sharestoryz-laravel-yourstoryz/health.svg)](https://phpackages.com/packages/sharestoryz-laravel-yourstoryz)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.8k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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