PHPackages                             faslatam/jsphp - 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. faslatam/jsphp

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

faslatam/jsphp
==============

Give your PHP projects a touch of JavaScript with JSPHP! 🚀

v0.5(1y ago)311MITPHPPHP ^7.1 || ^8CI passing

Since Jan 6Pushed 7mo agoCompare

[ Source](https://github.com/fadrian06/JSPHP)[ Packagist](https://packagist.org/packages/faslatam/jsphp)[ Docs](https://github.com/fadrian06/JSPHP)[ RSS](/packages/faslatam-jsphp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (11)Versions (7)Used By (0)

Wait... JS and PHP? How's that?
===============================

[](#wait-js-and-php-hows-that)

> Nota: Esta documentación está siendo traducida: [&gt; Ver en español](https://github.com/fadrian06/JSPHP/blob/docs/LEAME.md)

📚 JSPHP is a powerful PHP library that provides a set of classes designed to mimic the behavior of **JavaScript's primitive classes** such as Number, String, and more.

🎯 With JSPHP, PHP developers can leverage familiar JavaScript concepts and functionalities in their PHP projects. 🌈

This library aims to bridge the gap between JavaScript and PHP, allowing developers to write cleaner and more efficient code.

> **✨ Whether you're a PHP developer looking to explore JavaScript-like features or a JavaScript developer working with PHP, JSPHP is the perfect tool to enhance your development experience. 💪**
>
> **Give your PHP projects a touch of JavaScript with JSPHP! 🚀**

Requirements
------------

[](#requirements)

- [PHP version 7 or greater](https://php.net)

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

[](#installation)

🚀 Getting started with using JSPHP is super easy! Just follow these simple steps:

**1- First, install JSPHP using composer:**

```
composer require faslatam/jsphp
```

**2. Include the composer autoloader:**

```
