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↓85.4%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 2w 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODU1NjgzODIsIm5iZiI6MTc4NTU2ODA4MiwicGF0aCI6Ii85MTc0ODU5OC8zMzIxOTMwODEtNTNhZmJkO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0MGQ3YjdhYTNiM2ZkNTk5M2NkYTVmNmM5ZTJkNmJhMjQ1MzU3MDExNmNiOWEzODk3ZTU4NDdkOTRiOGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRmpwZWcifQ.vSn_pjmIiD8XRoPS5_LAyr6t-Px5aXReflMkf0_f-Rk)

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

Maintenance45

Moderate activity, may be stable

Popularity40

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 71.2% 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

433d 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 (37 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

[illuminate/pagination

The Illuminate Pagination package.

12234.6M1.1k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9350.2M310](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.8M410](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

224.7M146](/packages/illuminate-cookie)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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