PHPackages                             getpop/resources - 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. [API Development](/categories/api)
4. /
5. getpop/resources

ActiveLibrary[API Development](/categories/api)

getpop/resources
================

Resources for the website (CSS, JS files)

1.0.6(2y ago)23931GPL-2.0-or-laterPHPPHP ^8.1

Since Jan 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/getpop/resources)[ Packagist](https://packagist.org/packages/getpop/resources)[ Docs](https://github.com/getpop/resources)[ RSS](/packages/getpop-resources/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (39)Used By (1)

Resources
=========

[](#resources)

Resources for the website (CSS, JS files)

Install
-------

[](#install)

Via Composer

```
composer require getpop/resources
```

Development
-----------

[](#development)

The source code is hosted on the [GatoGraphQL monorepo](https://github.com/GatoGraphQL/GatoGraphQL), under [`SiteBuilder/packages/resources`](https://github.com/GatoGraphQL/GatoGraphQL/tree/master/layers/SiteBuilder/packages/resources).

Usage
-----

[](#usage)

Initialize the component:

```
\PoP\Root\App::stockAndInitializeModuleClasses([([
    \PoP\Resources\Module::class,
]);
```

Architecture foundations
------------------------

[](#architecture-foundations)

Layouts are rendered through custom-built reactivity, based on observing a unique JavaScript object (which contains database and configuration data).

The view is implemented through [Handlebars](https://handlebarsjs.com/) templates, which can be loaded both in the client (through the Handlebars runtime) and in the server (through PHP library [LightnCandy](https://github.com/zordius/lightncandy)). This approach is isomorphic: the same code works on both environments.

Implementation coming soon.

Main Concepts
-------------

[](#main-concepts)

### Rendering through JavaScript templates

[](#rendering-through-javascript-templates)

Will be added soon...

### Isomorphic Server-Side Rendering

[](#isomorphic-server-side-rendering)

Will be added soon...

### Reactivity

[](#reactivity)

Will be added soon...

Architecture Design and Implementation
--------------------------------------

[](#architecture-design-and-implementation)

#### Dataloading

[](#dataloading)

#### Dataloading Modules

[](#dataloading-modules)

### Handlebars

[](#handlebars)

Will be added soon...

### LightnCandy

[](#lightncandy)

Will be added soon...

### Code Splitting

[](#code-splitting)

Will be added soon...

### Progressive-Web App

[](#progressive-web-app)

Will be added soon...

### Single-Page Application

[](#single-page-application)

Will be added soon...

### Content CDN

[](#content-cdn)

Will be added soon...

### A/B Testing

[](#ab-testing)

Will be added soon...

### Form Input Modules

[](#form-input-modules)

Will be added soon...

### Client-side Rendering

[](#client-side-rendering)

Will be added soon...

### JavaScript templates through Handlebars

[](#javascript-templates-through-handlebars)

Will be added soon...

### Executing JavaScript functions

[](#executing-javascript-functions)

Will be added soon...

### Resources

[](#resources-1)

Will be added soon...

### Asset-bundling

[](#asset-bundling)

Will be added soon...

### Progressive Booting

[](#progressive-booting)

Will be added soon...

### Links in body

[](#links-in-body)

Will be added soon...

### State Management

[](#state-management)

Will be added soon...

### Data Cache, Configuration Cache and Replication

[](#data-cache-configuration-cache-and-replication)

Will be added soon...

### Reactivity

[](#reactivity-1)

Will be added soon...

Server-Side Rendering
---------------------

[](#server-side-rendering)

Will be added soon...

### Isomorphism

[](#isomorphism)

Will be added soon...

### JavaScript templates into PHP through LightnCandy

[](#javascript-templates-into-php-through-lightncandy)

Will be added soon...

### Rendering a Webpage as a Transactional Email

[](#rendering-a-webpage-as-a-transactional-email)

Will be added soon...

PHP versions
------------

[](#php-versions)

Requirements:

- PHP 8.1+ for development
- PHP 7.2+ for production

### Supported PHP features

[](#supported-php-features)

Check the list of [Supported PHP features in `GatoGraphQL/GatoGraphQL`](https://github.com/GatoGraphQL/GatoGraphQL/blob/master/docs/supported-php-features.md)

### Preview downgrade to PHP 7.2

[](#preview-downgrade-to-php-72)

Via [Rector](https://github.com/rectorphp/rector) (dry-run mode):

```
composer preview-code-downgrade
```

Standards
---------

[](#standards)

[PSR-1](https://www.php-fig.org/psr/psr-1), [PSR-4](https://www.php-fig.org/psr/psr-4) and [PSR-12](https://www.php-fig.org/psr/psr-12).

To check the coding standards via [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer), run:

```
composer check-style
```

To automatically fix issues, run:

```
composer fix-style
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

To execute [PHPUnit](https://phpunit.de/), run:

```
composer test
```

Static Analysis
---------------

[](#static-analysis)

To execute [PHPStan](https://github.com/phpstan/phpstan), run:

```
composer analyse
```

Report issues
-------------

[](#report-issues)

To report a bug or request a new feature please do it on the [GatoGraphQL monorepo issue tracker](https://github.com/GatoGraphQL/GatoGraphQL/issues).

Contributing
------------

[](#contributing)

We welcome contributions for this package on the [GatoGraphQL monorepo](https://github.com/GatoGraphQL/GatoGraphQL) (where the source code for this package is hosted).

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Leonardo Losoviz](https://github.com/leoloso)
- [All Contributors](../../../../../../contributors)

License
-------

[](#license)

GNU General Public License v2 (or later). Please see [License File](LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity74

Established project with proven stability

 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

Every ~26 days

Recently: every ~0 days

Total

38

Last Release

975d ago

Major Versions

0.10.2 → 1.0.02023-09-06

PHP version history (3 changes)0.7.6PHP ^7.4|^8.0

0.8.1PHP ^8.0

0.9.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1981996?v=4)[Leonardo Losoviz](/maintainers/leoloso)[@leoloso](https://github.com/leoloso)

![](https://www.gravatar.com/avatar/d5a0a064bae63a335ddd796bb69ab38e1d01420d14bfcc8e3d4e1550922ac60b?d=identicon)[getpop](/maintainers/getpop)

---

Top Contributors

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

---

Tags

phpgraphqlresourcesGatoGatoGraphQL

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/getpop-resources/health.svg)

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

PHPackages © 2026

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