PHPackages                             sil2/vidflex - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. sil2/vidflex

ActiveLibrary[Testing &amp; Quality](/categories/testing)

sil2/vidflex
============

FidFlex API Test

v1.0.2(4y ago)06MITPHP

Since Dec 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sil2/vidflex)[ Packagist](https://packagist.org/packages/sil2/vidflex)[ RSS](/packages/sil2-vidflex/feed)WikiDiscussions master Synced 1w ago

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

VidFlex API Test
----------------

[](#vidflex-api-test)

### Requirements

[](#requirements)

- Laravel ^8.0
- PHP ^8.0

### Installation

[](#installation)

[Install Laravel](https://laravel.com/docs/8.x/installation)

add composer package

```
composer require sil2/vidflex
```

Configure DB connection in .env file

```
DB_CONNECTION=mysql
DB_HOST=
DB_PORT=3306
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
```

run to create tables:

```
php artisan migrate
```

run to seed test data

```
php artisan db:seed --class="Sil2\Vidflex\Database\Seeds\VidflexSeeder"
```

Start the server

```
php artisan serve
```

### API

[](#api)

Auth Token
----------

[](#auth-token)

```
POST /token/create?email=test@test.com&password=test
```

use test user or any valid user email &amp; password to get the token

API commands
------------

[](#api-commands)

All API requests must contains a valid Bearer token in the headers

Example:

```
curl --location --request GET 'http://vidflex.local/api/order/1' \
--header 'Authorization: Bearer #########'
```

To add products to the cart

```
POST /api/cart/products/{product-id}
```

To retrieve a list of products in the cart

```
GET /api/cart
```

To create an order from the cart

```
POST /api/order
```

To retrieve a list of products in the order

```
GET /api/order/{order-id}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

3

Last Release

1621d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a3217c1c143fd303c4a2c1b9ba144032cd0f8c7a5b645fc984b0a2ef8fcdc3c?d=identicon)[sil2](/maintainers/sil2)

---

Top Contributors

[![sil2](https://avatars.githubusercontent.com/u/2306730?v=4)](https://github.com/sil2 "sil2 (1 commits)")

---

Tags

laravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sil2-vidflex/health.svg)

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

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[hotmeteor/spectator

Testing helpers for your OpenAPI spec

3021.4M1](/packages/hotmeteor-spectator)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8017.0M43](/packages/orchestra-workbench)[guanguans/laravel-soar

SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。

2227.8k](/packages/guanguans-laravel-soar)[spurwork/spectator

Testing helpers for your OpenAPI spec

3021.5k](/packages/spurwork-spectator)[mnabialek/laravel-quick-migrations

Run Laravel tests quicker

2210.9k](/packages/mnabialek-laravel-quick-migrations)

PHPackages © 2026

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