PHPackages                             devskyfly/megaplan - 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. devskyfly/megaplan

ActiveLibrary[API Development](/categories/api)

devskyfly/megaplan
==================

Provide simple Megaplan api client.

133PHP

Since Sep 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/devskyfly/megaplan)[ Packagist](https://packagist.org/packages/devskyfly/megaplan)[ RSS](/packages/devskyfly-megaplan/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Megaplan client
---------------

[](#megaplan-client)

This library realize megaplan api client and entities managers.

### Client use sample

[](#client-use-sample)

```
// Client create
$client = new MegaplanClient("https://host",
"Login",
"Password",
"proxy"); // optional

// Client push
$params = [
    'Model[TypePerson]' => "human",
    'Model[FirstName]' => "Петр",
    'Model[LastName]' => "Петров",
    'Model[MiddleName]' => "Петрович",
    'Model[AdvertisingWay]' => 1,
    'Model[Locations][location]' => ['home'=>'_']
];
$ar = $client->post("/BumsCrmApiV01/Contractor/save.api", $params);

// List tasks query
$ar = $client->get("/BumsTaskApiV01/Task/list.api");

// List clients query
$params = [
    "Offset" => 0,
    "qs" => "Петр Петрович Петров"
];

$ar = $client->get("/BumsCrmApiV01/Contractor/list.api", $params);
```

### Builders use sample

[](#builders-use-sample)

```
$client = new MegaplanClient("https://host",
"Login",
"Password",
"proxy"); // optional

$builder = new ClientModelBuilder();
$builder->firstName("Иван")
    ->lastName("Иванов")
    ->middleName("Иванович")
    ->locations(["n1"=>["Address"=>"Саратов"]])
    ->adversingWay(1);
$result = $manager->create($builder);

$builder->lastName("Петров");
$result = $manager->edit(1000024, $builder);
print_r($result);

$builder = new ClientsListQueryBuilder();
$builder->queryString("Петров");
$manager = new ClientsManager($client);
$result = $manager->getList($builder);
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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/1a32509ce5b5b83514f30f64e6df7431a157b53dd22e3b6af5339e45b618f1ee?d=identicon)[devskyfly](/maintainers/devskyfly)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/devskyfly-megaplan/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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