PHPackages                             shgysk8zer0/core - 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. shgysk8zer0/core

ActiveLibrary

shgysk8zer0/core
================

Core Super User classes

08[8 issues](https://github.com/shgysk8zer0/core/issues)PHP

Since Apr 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/shgysk8zer0/core)[ Packagist](https://packagist.org/packages/shgysk8zer0/core)[ RSS](/packages/shgysk8zer0-core/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

[Super User Core](https://github.com/shgysk8zer0/core) [![Build Status](https://camo.githubusercontent.com/9039baa35388b333ff353332ebd911069eee2a8b8ff6c865383d6ad673c17ccc/68747470733a2f2f7472617669732d63692e6f72672f73686779736b387a6572302f636f72652e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/9039baa35388b333ff353332ebd911069eee2a8b8ff6c865383d6ad673c17ccc/68747470733a2f2f7472617669732d63692e6f72672f73686779736b387a6572302f636f72652e7376673f6272616e63683d6d6173746572)
====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#super-user-core-)

Core classes for Super User and others (for use as submodule)

> A collection of classes for common PHP tasks such as:

- Database queries (*using PDO*)
- Creating `JSON` encoded responses to `XMLHttp` requests
- Handling `$_SESSION`s &amp; `$_COOKIE`s
- Parsing a variety of file MIME types
- Managing logins
- Logging PHP errors
- etc.

Installation instructions
=========================

[](#installation-instructions)

There are a variety of ways to include these classes in your project, such as downloading them as in an archived format and extracting them where desired, directly cloning into your project, or adding as a submodule in your projects repository.

To add as a submodule:
----------------------

[](#to-add-as-a-submodule)

- Copy the repository URI or for it and copy the URI of your fork
- `cd` into your project directory
- `git submodule add {repository URI} {path/to/destination}`
- **Note that submodules are not updated in a regular `git pull`**
- To pull updates in submodules, use `git submodule update`

Using
=====

[](#using)

Super User Core classes are designed to be easy to use with PHP's built-in auto-loading

- Make sure that the parent directory is in your `include_path`
- `set_include_path({core_parent_directory} . PATH_SEPARATOR . get_include_path());`
- Configure file extensions to use
- `spl_autoload_extensions('.class.php');`
- Set the auto-loader
- `spl_autoload_register();`
- Create a new instance of a class including path/namespace
- `$my_class = new \shgysk8zer0\Core\my_class($args)`
- Or `$my_class = \shgysk8zer0\Core\my_class::static_method($args)`

Updating
========

[](#updating)

If installed as a submodule in Git, updating is relatively easy

- To update to the latest version: `git submodule update --remote`
- To update to the version in your repository:
- `git pull` to pull changes from your repository
- `git submodule update` to checkout the commit used in the project's repository

**Git treats submodules as single files, and submodules have a `DETACHED HEAD` unless you checkout a branch**

Contributing
============

[](#contributing)

Report a bug or request a feature
---------------------------------

[](#report-a-bug-or-request-a-feature)

Issues may be reported on GitHub via my [Issues Page](https://github.com/shgysk8zer0/core/issues/new)

Create a pull request
---------------------

[](#create-a-pull-request)

Pull requests can be made either on GitHub or via [email](mailto:shgysk8zer0@gmail.com)For best results, you should fork this repo and add the main repo as a remote `git remote add shgysk8zer0 git://github.com/shgysk8zer0/core.git`

- Create a [Pull Request](https://github.com/shgysk8zer0/core/compare) on GitHub
- To send a pull request via email:
- Email me the output of `git request-pull shgysk8zer0/master origin > {path/to/destination.diff}`
- Or send me a patch (along with a pull-request or diff)
- `git format-patch -o {/path/to/patches} shgysk8zer0/master`

Donate
------

[](#donate)

Donations may be made using Bitcoin (*paypal coming soon*)

[![Bitcoin QR](https://camo.githubusercontent.com/9e891a985d14ad66a8a9c6f6bc525da17577adb9efda382f76c108a0a46624af/687474703a2f2f63687269737a756265722e636f6d2f696d616765732f636f696e626173655f71722e706e67)](https://camo.githubusercontent.com/9e891a985d14ad66a8a9c6f6bc525da17577adb9efda382f76c108a0a46624af/687474703a2f2f63687269737a756265722e636f6d2f696d616765732f636f696e626173655f71722e706e67)12WunGFBrDTRkAdgU6fbiZyyM4WSaAZeHD

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a3ddf1716484567ca3624c4f38ce5d19348432c35895c372efb759c05d0944f?d=identicon)[shgysk8zer0](/maintainers/shgysk8zer0)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/shgysk8zer0-core/health.svg)

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

PHPackages © 2026

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