PHPackages                             anton-shevchuk/jquery-php - 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. anton-shevchuk/jquery-php

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

anton-shevchuk/jquery-php
=========================

jQuery-PHP is a PHP library that seamlessly integrates jQuery with PHP

1.0.1(2y ago)1293[4 issues](https://github.com/AntonShevchuk/jquery-php/issues)MITPHPPHP &gt;=7.4

Since Mar 17Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/AntonShevchuk/jquery-php)[ Packagist](https://packagist.org/packages/anton-shevchuk/jquery-php)[ RSS](/packages/anton-shevchuk-jquery-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

jQuery PHP
==========

[](#jquery-php)

This library facilitates working with the jQuery framework from the server-side.

> However, it's important to note that this approach is considered an antipattern. Server-side code typically shouldn't have knowledge of HTML structure or manipulate the DOM in this manner.

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

[](#requirements)

- PHP 7.4.0 or higher (with JSON extension)
- jQuery 1.10 / 2.2 / 3.3 or higher

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

[](#documentation)

### Installation

[](#installation)

Install Composer in Your Project.

Run this in your command line:

```
curl -sS https://getcomposer.org/installer | php
```

Or [download composer.phar](https://getcomposer.org/composer.phar) into your project root.

Execute this in your project root.

```
php composer.phar install
```

### Usage

[](#usage)

Add the autoloader to your PHP file.:

```
require 'vendor/autoload.php';
```

After this, you can use this jQuery-PHP library in your PHP code, for example, this is `index.php`:

```
use function AntonShevchuk\jQuery\jQuery;
use function AntonShevchuk\jQuery\jQueryContainer;

// create jQuery-way queries
jQuery('#demo')
    ->html('Server time: ' . date('H:i:s'))
    ->css('backgroundColor', '#ffffdd')
    ->animate(['opacity' => 'show'], 3000)
    ->animate(['opacity' => 'hide'], 3000)
;

// return JSON
print json_encode(jQueryContainer());
```

Include jQuery and jQuery-PHP library:

```

```

Add a call in your HTML page:

```

Run demo snippet

...
```

### Examples

[](#examples)

You can find more examples on the site:

Author
------

[](#author)

The project is developed by [Anton Shevchuk](https://anton.shevchuk.name/), and distributed under [MIT LICENSE](https://raw.githubusercontent.com/AntonShevchuk/jquery-php/master/LICENSE)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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

792d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/142057?v=4)[Anton Shevchuk](/maintainers/AntonShevchuk)[@AntonShevchuk](https://github.com/AntonShevchuk)

---

Top Contributors

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

---

Tags

jqueryjquery-ajaxphpphp-library

### Embed Badge

![Health badge](/badges/anton-shevchuk-jquery-php/health.svg)

```
[![Health](https://phpackages.com/badges/anton-shevchuk-jquery-php/health.svg)](https://phpackages.com/packages/anton-shevchuk-jquery-php)
```

###  Alternatives

[slack-php/slack-block-kit

OOP interface for writing Slack Block Kit messages and modals

55754.2k6](/packages/slack-php-slack-block-kit)[symfony/ux-map

Easily embed interactive maps in your Symfony application

18178.5k4](/packages/symfony-ux-map)

PHPackages © 2026

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