PHPackages                             codegyan/php-compiler-sdk - 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. codegyan/php-compiler-sdk

ActiveLibrary[API Development](/categories/api)

codegyan/php-compiler-sdk
=========================

SDK for interacting with Codegyan PHP Compiler API

v1.0.2(2y ago)12MITPHPPHP ^8.1.0

Since Apr 17Pushed 2y agoCompare

[ Source](https://github.com/Codegyan-LLC/php-compiler-sdk)[ Packagist](https://packagist.org/packages/codegyan/php-compiler-sdk)[ RSS](/packages/codegyan-php-compiler-sdk/feed)WikiDiscussions main Synced 1mo ago

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

Codegyan PHP Compiler SDK
=========================

[](#codegyan-php-compiler-sdk)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE.txt)[![PHP](https://camo.githubusercontent.com/87bdada432555c3576d409f1a3abf33566449a69332ac067169fa7cc90ecdc3e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312e302d626c7565)](https://www.php.net/)[![Packagist](https://camo.githubusercontent.com/ea2f3a1cdd44449f66fe2c620bcfef34170b907fc4410050a3208e71e8f96409/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656779616e2f7068702d636f6d70696c65722d73646b)](https://packagist.org/packages/codegyan/php-compiler-sdk)[![Packagist](https://camo.githubusercontent.com/4eae0a1e7937fd25a7c1a39be5f74084f2d138420a2e08b7bc5817c1c724e4f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656779616e2f7068702d636f6d70696c65722d73646b)](https://packagist.org/packages/codegyan/php-compiler-sdk)

This SDK provides a convenient way to interact with the Codegyan PHP Compiler API, allowing you to compile PHP code programmatically.

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

[](#installation)

You can install the SDK via [Composer](https://getcomposer.org/). Run the following command:

```
composer require codegyan/php-compiler-sdk
```

Usages
------

[](#usages)

Before using the SDK, you need to obtain an API key and client ID from Codegyan. Follow these steps to get your API credentials:

1. **Sign Up/Login**: If you don't have an account, sign up for a [Codegyan account](https://www.codegyan.in/). If you already have an account, log in to your dashboard.
2. **Get Credentials**: Once logged in, navigate to the [Developer Console](https://developer.codegyan.in/) or API settings in your account dashboard. Here, you will find your API key and client ID. Copy these credentials and use them when initializing the SDK client in your code.

Here's an example of how to initialize the SDK client with your API key and client ID:

```

```

Features
--------

[](#features)

- Compile PHP Code: The SDK allows you to compile PHP code using the Codegyan PHP Compiler API.
- Error Handling: Proper error handling is implemented to catch and handle exceptions thrown during API requests.
- Customization: You can customize the SDK by passing different parameters to the constructor or by modifying the code to fit your specific requirements.

Testing
-------

[](#testing)

The SDK includes PHPUnit tests to ensure its functionality is working as expected. You can run the tests using the following command:

```
vendor/bin/phpunit
```

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

[](#contributing)

Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests to help improve this SDK.

License
-------

[](#license)

This Codegyan SDK is open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~0 days

Total

3

Last Release

762d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/648d0b98bdff35c80c1eae5ebd9e644e1966fcc1a11b651a1e148674e32eadcc?d=identicon)[codegyan](/maintainers/codegyan)

---

Top Contributors

[![codegyanin-cpu](https://avatars.githubusercontent.com/u/272617439?v=4)](https://github.com/codegyanin-cpu "codegyanin-cpu (6 commits)")[![prathmeshyelne](https://avatars.githubusercontent.com/u/88598499?v=4)](https://github.com/prathmeshyelne "prathmeshyelne (1 commits)")

---

Tags

apicodegyancodegyan-apicompilerphpphpsdkcodexcodegyan

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codegyan-php-compiler-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/codegyan-php-compiler-sdk/health.svg)](https://phpackages.com/packages/codegyan-php-compiler-sdk)
```

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[openai-php/symfony

Symfony Bundle for OpenAI

215715.5k3](/packages/openai-php-symfony)

PHPackages © 2026

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