PHPackages                             giacomomasseron/php-fire-and-forget - 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. giacomomasseron/php-fire-and-forget

ActiveLibrary[HTTP &amp; Networking](/categories/http)

giacomomasseron/php-fire-and-forget
===================================

Send PHP Fire and Forget requests

v0.0.3(9mo ago)01MITPHPCI passing

Since Jul 15Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/giacomomasseron/php-fire-and-forget)[ Packagist](https://packagist.org/packages/giacomomasseron/php-fire-and-forget)[ Docs](https://github.com/giacomomasseron/php-fire-and-forget)[ GitHub Sponsors]()[ RSS](/packages/giacomomasseron-php-fire-and-forget/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (9)Versions (7)Used By (0)

Execute Fire and Forget requests with PHP
=========================================

[](#execute-fire-and-forget-requests-with-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/90cc0b4533194064e03e7f86ba36ef9ecfc4222258700439d5007c6b370f72ae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676961636f6d6f6d61737365726f6e2f7068702d666972652d616e642d666f726765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/giacomomasseron/php-fire-and-forget)[![GitHub Tests Action Status](https://camo.githubusercontent.com/cd3dc1db4b5c86f340a74e18eef3f41a4b91686b4f5229b151fcd4c4da03ea46/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f676961636f6d6f6d61737365726f6e2f7068702d666972652d616e642d666f726765742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/giacomomasseron/php-fire-and-forget/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d5dcddf902688027e4f7da58d3f33cf43380fc02e9f9db6c0a21cb3a101cb7c7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f676961636f6d6f6d61737365726f6e2f7068702d666972652d616e642d666f726765742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/giacomomasseron/php-fire-and-forget/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/e0f93eff34b7d715a8b7305dc26db95a84c3f1140821a6bd5bd082019d57a384/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676961636f6d6f6d61737365726f6e2f7068702d666972652d616e642d666f726765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/giacomomasseron/php-fire-and-forget)

Execute fire and forget requests.

It handles:

- Get, Post, Put, Delete requests
- Custom headers
- Bearer token authentication

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

[](#installation)

You can install the package via composer:

```
composer require giacomomasseron/php-fire-and-forget
```

Usage
-----

[](#usage)

```
\GiacomoMasseroni\FireAndForget\FireAndForget::get($url);
```

If you want to send a POST request, you can use the `post` method:

```
\GiacomoMasseroni\FireAndForget\FireAndForget::withHeaders([
        'X-Header' => 'Test',
        'X-Header2' => 'Test2',
    ])->post($url);
```

If you need to use a Bearer token for authentication, you can do it like this:

```
\GiacomoMasseroni\FireAndForget\FireAndForget::withBearerToken('your_token')->post($url);
```

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)

- [Giacomo Masseroni](https://github.com/giacomomasseron)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance77

Regular maintenance activity

Popularity1

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 78.9% 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 ~13 days

Total

3

Last Release

272d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/504902576948b6d89fe41cd186b483afa89cc9de1b238005a5b7dcc51d33997e?d=identicon)[giacomomasseron](/maintainers/giacomomasseron)

---

Top Contributors

[![giacomomasseron](https://avatars.githubusercontent.com/u/16156317?v=4)](https://github.com/giacomomasseron "giacomomasseron (30 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

asynchronoushttp-clientphprequestsGiacomo Masseronifire-and-forget

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/giacomomasseron-php-fire-and-forget/health.svg)

```
[![Health](https://phpackages.com/badges/giacomomasseron-php-fire-and-forget/health.svg)](https://phpackages.com/packages/giacomomasseron-php-fire-and-forget)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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