PHPackages                             padosoft/laravel-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. [File &amp; Storage](/categories/file-storage)
4. /
5. padosoft/laravel-request

ActiveLibrary[File &amp; Storage](/categories/file-storage)

padosoft/laravel-request
========================

Laravel Package to interact with Illuminate Request and Files Upload.

2.3.0(4y ago)2914[1 PRs](https://github.com/padosoft/laravel-request/pulls)MITPHPPHP &gt;=7.1

Since Aug 28Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/padosoft/laravel-request)[ Packagist](https://packagist.org/packages/padosoft/laravel-request)[ Docs](https://github.com/padosoft/laravel-request)[ RSS](/packages/padosoft-laravel-request/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (9)Dependencies (8)Versions (12)Used By (0)

Laravel Package to interact with Illuminate Request and Files Upload.
=====================================================================

[](#laravel-package-to-interact-with-illuminate-request-and-files-upload)

[![Latest Version on Packagist](https://camo.githubusercontent.com/90bacc2641cb5656824fab81ef9c9441be28102b662396793ae1399843ea2a8d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7061646f736f66742f6c61726176656c2d726571756573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/padosoft/laravel-request)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/e75a21cdb922558d69bdc75f1e4f60d8b0214b589c39f53d11bf4352c738e304/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7061646f736f66742f6c61726176656c2d726571756573742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/padosoft/laravel-request)[![Quality Score](https://camo.githubusercontent.com/ee009243905979abf8e1af7adfbf9b3e6062f03ea1631ddd08fa004901d424ae/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7061646f736f66742f6c61726176656c2d726571756573742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/padosoft/laravel-request)[![Total Downloads](https://camo.githubusercontent.com/044e72f12ce86f7be52312e87da1189c7c8e341609a8a8be0f83222f8d73de42/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7061646f736f66742f6c61726176656c2d726571756573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/padosoft/laravel-request)[![SensioLabsInsight](https://camo.githubusercontent.com/52950eb959e8d991a8a833179496e42a3e2e2c5d0167d1cf71ddf6d4f9dafa35/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f39343832353034632d656432642d343233662d393462622d3163663361366261626666302e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/9482504c-ed2d-423f-94bb-1cf3a6babff0)

This package provides a series of class to interact with Illuminate Request and Files Upload.

\##Requires

- php: &gt;=7.1
- illuminate/support: ^5.8
- illuminate/http: ^5.8
- padosoft/io: ^1.0

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

[](#installation)

You can install the package via composer:

```
$ composer require padosoft/laravel-request
```

Usage
-----

[](#usage)

```
use Padosoft\Laravel\Request\RequestHelper;

if(RequestHelper::currentRequestHasFiles()){
    echo 'current request has file uploaded!';
}

if(RequestHelper::isValidCurrentRequestUploadFile('items_image', ['image/jpg','image/png'])){
    echo 'current request has a valid file uploaded!';
}

$uploadedFile = RequestHelper::getCurrentRequestFileSafe('items_image');
var_dump($uploadedFile);
```

**NOTE:**

For all methods and helpers check the source code.

Change log
----------

[](#change-log)

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

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

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

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Lorenzo Padovani](https://github.com/lopadova)
- [All Contributors](../../contributors)

About Padosoft
--------------

[](#about-padosoft)

Padosoft () is a software house based in Florence, Italy. Specialized in E-commerce and web sites.

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~507 days

Total

10

Last Release

1547d ago

Major Versions

1.2.2 → 2.0.02018-10-23

PHP version history (2 changes)1.0.0PHP &gt;=7.0.0

2.3.0PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10467699?v=4)[Lorenzo](/maintainers/lopadova)[@lopadova](https://github.com/lopadova)

---

Top Contributors

[![lopadova](https://avatars.githubusercontent.com/u/10467699?v=4)](https://github.com/lopadova "lopadova (25 commits)")

---

Tags

laravellaravel-packagerequestrequestuploadpadosoftlaravel-request

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.1k3.4M81](/packages/unisharp-laravel-filemanager)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[sopamo/laravel-filepond

Laravel backend module for filepond uploads

215293.6k3](/packages/sopamo-laravel-filepond)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[illuminatech/multipart-middleware

'multipart/form-data' parser middleware for Laravel

35280.8k](/packages/illuminatech-multipart-middleware)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)

PHPackages © 2026

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