PHPackages                             bfg/request - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. bfg/request

ActiveBfg-app[HTTP &amp; Networking](/categories/http)

bfg/request
===========

A slight addition to the Laravel Request

0.0.3(2y ago)1711MITPHPPHP &gt;=8.0.0

Since Jul 25Pushed 2y ago2 watchersCompare

[ Source](https://github.com/bfg-s/request)[ Packagist](https://packagist.org/packages/bfg/request)[ RSS](/packages/bfg-request/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

Extension request
=================

[](#extension-request)

A slight addition to the `Laravel Request`complementing it using the transformation method.

Make request
------------

[](#make-request)

Create the request as created, this package expands the `Laravel` command.

```
php artisan make:request UserRequest
```

You will be created the same file only inherited from `Bfg\Request\FormRequest`.

transformation
--------------

[](#transformation)

```
$request->transformation(array $validated);
```

Transformation callback for request validation result.

transform
---------

[](#transform)

Transform and get a request validation result.

save
----

[](#save)

```
$request->save(Model|Relation|Builder|string $model);
```

Send to preserving kernel [BlessModel](https://github.com/bfg-s/bless_model).

saveIf
------

[](#saveif)

```
$request->save(callable|bool $condition, Model|Relation|Builder|string $model);
```

Save any model with condition and request transform

Deactivate
----------

[](#deactivate)

```
php artisan uninstall bfg/request
```

Activate
--------

[](#activate)

```
php artisan install bfg/request
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

1029d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/59b2d162a30938ac2c3c56340ebea07a6778a3e1c86cb70b5bc28b69a1c3f04d?d=identicon)[bfg](/maintainers/bfg)

---

Top Contributors

[![Xsaven](https://avatars.githubusercontent.com/u/1726771?v=4)](https://github.com/Xsaven "Xsaven (3 commits)")

---

Tags

requestlaravelextension

### Embed Badge

![Health badge](/badges/bfg-request/health.svg)

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

###  Alternatives

[chelout/laravel-http-logger

A Laravel package to log HTTP requests, headers and sessions

272.0k](/packages/chelout-laravel-http-logger)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)

PHPackages © 2026

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