PHPackages                             happyyyyyyyyy/ethereum-offline-raw-tx - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. happyyyyyyyyy/ethereum-offline-raw-tx

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

happyyyyyyyyy/ethereum-offline-raw-tx
=====================================

Pure PHP Ethereum Offline Raw Transaction Signer

1.0(3y ago)0234MITPHPPHP &gt;=7.1.0

Since Jun 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/happyyyyyyyyy/ethereum-offline-raw-tx)[ Packagist](https://packagist.org/packages/happyyyyyyyyy/ethereum-offline-raw-tx)[ RSS](/packages/happyyyyyyyyy-ethereum-offline-raw-tx/feed)WikiDiscussions main Synced 1mo ago

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

php-ethereum-offline-tx [![Build Status](https://camo.githubusercontent.com/13ea36ac5df3078dd60c6392f3cd27ae11a261a0a95af646ef0d9d54ba7c36f7/68747470733a2f2f7472617669732d63692e6f72672f6b6f726e72756e6e65722f7068702d657468657265756d2d6f66666c696e652d7261772d74782e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kornrunner/php-ethereum-offline-raw-tx) [![Coverage Status](https://camo.githubusercontent.com/b1769bba72e697938ec2c35b975157884b1768051537893887705f955a08b498/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6b6f726e72756e6e65722f7068702d657468657265756d2d6f66666c696e652d7261772d74782f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/kornrunner/php-ethereum-offline-raw-tx?branch=master)
======================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#php-ethereum-offline-tx--)

Pure PHP Ethereum Offline Raw Transaction Signer

Ethereum raw transaction hash offline in PHP

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

[](#installation)

```
$ composer require happyyyyyyyyy/ethereum-offline-raw-tx
```

Usage
-----

[](#usage)

```
use happyyyyyyyyy\Ethereum\Transaction;

$nonce    = '04';
$gasPrice = '03f5476a00';
$gasLimit = '027f4b';
$to       = '1a8c8adfbe1c59e8b58cc0d515f07b7225f51c72';
$value    = '2a45907d1bef7c00';

$privateKey = 'b2f2698dd7343fa5afc96626dee139cb92e58e5d04e855f4c712727bf198e898';

$transaction = new Transaction ($nonce, $gasPrice, $gasLimit, $to, $value);
$transaction->sign ($privateKey);
$transaction->getRaw ();
// f86d048503f5476a0083027f4b941a8c8adfbe1c59e8b58cc0d515f07b7225f51c72882a45907d1bef7c00801ba0e68be766b40702e6d9c419f53d5e053c937eda36f0e973074d174027439e2b5da0790df3e4d0294f92d69104454cd96005e21095efd5f2970c2829736ca39195d8
```

With different `chainId`

```
use happyyyyyyyyy\Ethereum\Transaction;

$nonce    = '04';
$gasPrice = '03f5476a00';
$gasLimit = '027f4b';
$to       = '1a8c8adfbe1c59e8b58cc0d515f07b7225f51c72';
$value    = '2a45907d1bef7c00';
$chainId  = 1;

$privateKey = 'b2f2698dd7343fa5afc96626dee139cb92e58e5d04e855f4c712727bf198e898';

$transaction = new Transaction ($nonce, $gasPrice, $gasLimit, $to, $value);
$transaction->sign ($privateKey, $chainId);
$transaction->getRaw ();
// f86d048503f5476a0083027f4b941a8c8adfbe1c59e8b58cc0d515f07b7225f51c72882a45907d1bef7c008025a0db4efcc22a7d9b2cab180ce37f81959412594798cb9af7c419abb6323763cdd5a0631a0c47d27e5b6e3906a419de2d732e290b73ead4172d8598ce4799c13bda69
```

Crypto
------

[](#crypto)

ETH 0x9c7b7a00972121fb843af7af74526d7eb585b171

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

1429d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a73648dff423f35dca0377e30696e26721bade85b6d23997534b844597443de?d=identicon)[buger](/maintainers/buger)

---

Top Contributors

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

---

Tags

transactionethereumethofflinetx

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/happyyyyyyyyy-ethereum-offline-raw-tx/health.svg)

```
[![Health](https://phpackages.com/badges/happyyyyyyyyy-ethereum-offline-raw-tx/health.svg)](https://phpackages.com/packages/happyyyyyyyyy-ethereum-offline-raw-tx)
```

###  Alternatives

[kornrunner/ethereum-offline-raw-tx

Pure PHP Ethereum Offline Raw Transaction Signer

63192.1k22](/packages/kornrunner-ethereum-offline-raw-tx)[kornrunner/ethereum-token

PHP Ethereum Token Utils

1412.9k1](/packages/kornrunner-ethereum-token)[drlecks/simple-web3-php

Web3 library in PHP

7641.6k2](/packages/drlecks-simple-web3-php)[kornrunner/solidity

Pure PHP implementation of Solidity

1940.5k11](/packages/kornrunner-solidity)[erag/laravel-pwa

A simple and easy-to-use PWA (Progressive Web App) package for Laravel applications.

16083.3k](/packages/erag-laravel-pwa)[devrabiul/laravel-pwa-kit

Laravel PWA Kit is a lightweight and flexible package to add Progressive Web App (PWA) support to your Laravel applications with ease.

571.4k](/packages/devrabiul-laravel-pwa-kit)

PHPackages © 2026

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