PHPackages                             rmunate/php2js - 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. rmunate/php2js

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

rmunate/php2js
==============

Effortlessly share PHP Laravel values with external JavaScript files using just one command, thanks to the seamless integration of PHP2JS.

v4.6.0(1y ago)2058.3k↓86.7%17[1 issues](https://github.com/rmunate/PHP2JS/issues)MITPHPPHP ^8.1CI passing

Since May 11Pushed 1y ago2 watchersCompare

[ Source](https://github.com/rmunate/PHP2JS)[ Packagist](https://packagist.org/packages/rmunate/php2js)[ Docs](https://github.com/rmunate/PHP2JS)[ RSS](/packages/rmunate-php2js/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (3)Versions (31)Used By (0)

PHP2JS
======

[](#php2js)

🚀 Seamless Integration: PHP2JS 🚀
--------------------------------

[](#-seamless-integration-php2js-)

Share PHP Laravel values effortlessly with external JavaScript files using just one command, thanks to the seamless integration of PHP2JS.

Developing Laravel monoliths has never been easier and more efficient! 💻✨

The Library that Made Handling Monoliths in Laravel Simple - LARAVEL PHP Framework
----------------------------------------------------------------------------------

[](#the-library-that-made-handling-monoliths-in-laravel-simple---laravel-php-framework)

[![LOGO-PHP2JS](https://private-user-images.githubusercontent.com/91748598/332193081-53afbd9c-0ffc-414c-aa14-b53663f5621e.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODI5NjA0NTksIm5iZiI6MTc4Mjk2MDE1OSwicGF0aCI6Ii85MTc0ODU5OC8zMzIxOTMwODEtNTNhZmJk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ViODhlZDIxM2Y0MmUyZmE1MWM1OWQ1OTVlMTMzYTgxMWVjNWU5M2I5NDAxMzgzNTI2NDNjZDk4YzJlYTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRmpwZWcifQ.HAUQjFtEVyfc46yUeAkVxzhr8XpSCGA5tGjKpXoHyLE)

Documentation
-------------

[](#documentation)

[![📖📖📖 FULL DOCUMENTATION 📖📖📖](https://camo.githubusercontent.com/6f36b5a4553c4ba008312196913d26ef9049875070a19e40c56b61005f7f578f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46554c4c253230444f43554d454e544154494f4e2d5669736974253230486572652d626c75653f7374796c653d666f722d7468652d6261646765)](https://rmunate.github.io/PHP2JS/)

Installation PHP2JS
-------------------

[](#installation-php2js)

To install the dependency via Composer.

```
composer require rmunate/php2js
```

License
-------

[](#license)

This project is under the [MIT License](https://choosealicense.com/licenses/mit/).

🌟 Support My Projects! 🚀

[![Become a Sponsor](https://camo.githubusercontent.com/409183a5cd4c3dcbc4c876d9706710324995ba6125c99f118651a0db05185fc6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4265636f6d652532306125323053706f6e736f722d626c75653f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)](https://github.com/sponsors/rmunate)

Make any contributions you see fit; the code is entirely yours. Together, we can do amazing things and improve the world of development. Your support is invaluable. ✨

If you have ideas, suggestions, or just want to collaborate, we are open to everything! Join our community and be part of our journey to success! 🌐👩‍💻👨‍💻

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance48

Moderate activity, may be stable

Popularity39

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 64.3% 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 ~27 days

Recently: every ~136 days

Total

29

Last Release

388d ago

Major Versions

v2.6.4 → v3.5.12023-06-24

v3.8.14 → v4.0.02023-11-17

PHP version history (4 changes)v2.6.0PHP ^7.4 || ^8.0

v3.5.1PHP ^7.4|^8.0

v4.5.0PHP ^8.0

v4.5.1PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/91748598?v=4)[Raúl Mauricio Uñate Castro](/maintainers/rmunate)[@rmunate](https://github.com/rmunate)

---

Top Contributors

[![rmunate](https://avatars.githubusercontent.com/u/91748598?v=4)](https://github.com/rmunate "rmunate (27 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (12 commits)")[![alejandrodiazpinilla](https://avatars.githubusercontent.com/u/51100789?v=4)](https://github.com/alejandrodiazpinilla "alejandrodiazpinilla (2 commits)")[![GoodWave2020](https://avatars.githubusercontent.com/u/65487142?v=4)](https://github.com/GoodWave2020 "GoodWave2020 (1 commits)")

---

Tags

laravel-frameworklibraryphpphp2jsphp2jstojstoStrictJS

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rmunate-php2js/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M375](/packages/illuminate-redis)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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