PHPackages                             4-g/4-g-specs-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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. 4-g/4-g-specs-sdk

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

4-g/4-g-specs-sdk
=================

Just for Validating

1.3.0(2y ago)04MITPHPPHP ^7.2 || ^8.0

Since Mar 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/itsAdee/4-g-specs-php-sdk)[ Packagist](https://packagist.org/packages/4-g/4-g-specs-sdk)[ Docs](https://www.dawn.com/)[ RSS](/packages/4-g-4-g-specs-sdk/feed)WikiDiscussions main Synced 3d ago

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

Getting Started with Verizon
============================

[](#getting-started-with-verizon)

Introduction
------------

[](#introduction)

The Verizon Edge Discovery Service API can direct your application clients to connect to the optimal service endpoints for your Multi-access Edge Computing (MEC) applications for every session. The Edge Discovery Service takes into account the current location of a device, its IP anchor location, current network traffic and other factors to determine which 5G Edge platform a device should connect to.

Verizon Terms of Service:

Install the Package
-------------------

[](#install-the-package)

Run the following command to install the package and automatically add the dependency to your composer.json file:

```
composer require "4-g/4-g-specs-sdk:1.3.0"
```

Or add it to the composer.json file manually as given below:

```
"require": {
    "4-g/4-g-specs-sdk": "1.3.0"
}
```

You can also view the package at:

Initialize the API Client
-------------------------

[](#initialize-the-api-client)

***Note:*** Documentation for the client can be found [here.](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/client.md)

The following parameters are configurable for the API Client:

ParameterTypeDescription`vZM2mToken``string`M2M Session Token (How to generate an M2M session token?)`environment``Environment`The API environment.
 **Default: `Environment.PRODUCTION`**`timeout``int`Timeout for API calls in seconds.
*Default*: `0``enableRetries``bool`Whether to enable retries and backoff feature.
*Default*: `false``numberOfRetries``int`The number of retries to make.
*Default*: `0``retryInterval``float`The retry time interval between the endpoint calls.
*Default*: `1``backOffFactor``float`Exponential backoff factor to increase interval between retries.
*Default*: `2``maximumRetryWaitTime``int`The maximum wait time in seconds for overall retrying requests.
*Default*: `0``retryOnTimeout``bool`Whether to retry on request timeout.
*Default*: `true``httpStatusCodesToRetry``array`Http status codes to retry against.
*Default*: `408, 413, 429, 500, 502, 503, 504, 521, 522, 524``httpMethodsToRetry``array`Http methods to retry against.
*Default*: `'GET', 'PUT'``oauth2Credentials`[`Oauth2Credentials`](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/$a/https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/oauth-2-client-credentials-grant.md)The Credentials Setter for OAuth 2 Client Credentials Grant`thingspaceOauthCredentials`[`ThingspaceOauthCredentials`](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/$a/https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/oauth-2-client-credentials-grant-1.md)The Credentials Setter for OAuth 2 Client Credentials GrantThe API client can be initialized as follows:

```
$client = VerizonClientBuilder::init()
    ->oauth2Credentials(
        OAuth2CredentialsBuilder::init(
            'OAuthClientId',
            'OAuthClientSecret'
        )
            ->oauthScopes(
                [
                    OauthScopeOauth2Enum::DISCOVERYREAD,
                    OauthScopeOauth2Enum::SERVICEPROFILEREAD
                ]
            )
    )
    ->thingspaceOauthCredentials(
        ThingspaceOauthCredentialsBuilder::init(
            'OAuthClientId',
            'OAuthClientSecret'
        )
    )
    ->vZM2mToken('VZ-M2M-Token')
    ->environment('Production')
    ->build();
```

API calls return an `ApiResponse` object that includes the following fields:

FieldDescription`getStatusCode`Status code of the HTTP response`getHeaders`Headers of the HTTP response as a Hash`getResult`The deserialized body of the HTTP response as a StringAuthorization
-------------

[](#authorization)

This API uses the following authentication schemes.

- [`oAuth2 (OAuth 2 Client Credentials Grant)`](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/$a/https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/oauth-2-client-credentials-grant.md)
- [`thingspace_oauth (OAuth 2 Client Credentials Grant)`](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/$a/https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/oauth-2-client-credentials-grant-1.md)

List of APIs
------------

[](#list-of-apis)

- [5G Edge Platforms](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/5g-edge-platforms.md)
- [Service Endpoints](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/service-endpoints.md)
- [Service Profiles](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/service-profiles.md)
- [Device Management](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/device-management.md)
- [Device Groups](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/device-groups.md)
- [Session Management](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/session-management.md)
- [Connectivity Callbacks](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/connectivity-callbacks.md)
- [Account Requests](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/account-requests.md)
- [Service Plans](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/service-plans.md)
- [Device Diagnostics](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/device-diagnostics.md)
- [Device Profile Management](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/device-profile-management.md)
- [Device Monitoring](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/device-monitoring.md)
- [E UICC Device Profile Management](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/e-uicc-device-profile-management.md)
- [Devices Locations](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/devices-locations.md)
- [Devices Location Subscriptions](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/devices-location-subscriptions.md)
- [Device Location Callbacks](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/device-location-callbacks.md)
- [Usage Trigger Management](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/usage-trigger-management.md)
- [Software Management Subscriptions V1](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-subscriptions-v1.md)
- [Software Management Licenses V1](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-licenses-v1.md)
- [Firmware V1](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/firmware-v1.md)
- [Software Management Callbacks V1](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-callbacks-v1.md)
- [Software Management Reports V1](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-reports-v1.md)
- [Software Management Subscriptions V2](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-subscriptions-v2.md)
- [Software Management Licenses V2](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-licenses-v2.md)
- [Campaigns V2](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/campaigns-v2.md)
- [Software Management Callbacks V2](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-callbacks-v2.md)
- [Software Management Reports V2](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-reports-v2.md)
- [Client Logging](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/client-logging.md)
- [Server Logging](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/server-logging.md)
- [Configuration Files](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/configuration-files.md)
- [Software Management Subscriptions V3](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-subscriptions-v3.md)
- [Software Management Licenses V3](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-licenses-v3.md)
- [Campaigns V3](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/campaigns-v3.md)
- [Software Management Reports V3](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-reports-v3.md)
- [Firmware V3](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/firmware-v3.md)
- [Account Devices](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/account-devices.md)
- [Software Management Callbacks V3](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/software-management-callbacks-v3.md)
- [SIM Securefor Io T Licenses](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/sim-securefor-io-t-licenses.md)
- [Account Subscriptions](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/account-subscriptions.md)
- [Performance Metrics](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/performance-metrics.md)
- [Diagnostics Subscriptions](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/diagnostics-subscriptions.md)
- [Diagnostics Observations](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/diagnostics-observations.md)
- [Diagnostics History](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/diagnostics-history.md)
- [Diagnostics Settings](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/diagnostics-settings.md)
- [Diagnostics Callbacks](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/diagnostics-callbacks.md)
- [Diagnostics Factory Reset](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/diagnostics-factory-reset.md)
- [Cloud Connector Subscriptions](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/cloud-connector-subscriptions.md)
- [Cloud Connector Devices](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/cloud-connector-devices.md)
- [Device Service Management](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/device-service-management.md)
- [Device Reports](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/device-reports.md)
- [Hyper Precise Location Callbacks](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/hyper-precise-location-callbacks.md)
- [Anomaly Settings](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/anomaly-settings.md)
- [Anomaly Triggers](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/anomaly-triggers.md)
- [Anomaly Triggers V2](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/anomaly-triggers-v2.md)
- [Wireless Network Performance](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/wireless-network-performance.md)
- [Fixed Wireless Qualification](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/fixed-wireless-qualification.md)
- [Managinge SIM Profiles](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/managinge-sim-profiles.md)
- [Device SMS Messaging](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/device-sms-messaging.md)
- [Device Actions](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/device-actions.md)
- [Thing Space Qualityof Service API Actions](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/thing-space-qualityof-service-api-actions.md)
- [Promotion Period Information](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/promotion-period-information.md)
- [Retrievethe Triggers](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/retrievethe-triggers.md)
- [Update Triggers](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/update-triggers.md)
- [SIM Actions](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/sim-actions.md)
- [Global Reporting](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/global-reporting.md)
- [OAuth Authorization](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/oauth-authorization.md)
- [Accounts](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/accounts.md)
- [SMS](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/sms.md)
- [Exclusions](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/exclusions.md)
- [Billing](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/billing.md)
- [Targets](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/targets.md)
- [MEC](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/controllers/mec.md)

Classes Documentation
---------------------

[](#classes-documentation)

- [Utility Classes](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/utility-classes.md)
- [ApiException](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/api-exception.md)
- [HttpRequest](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/http-request.md)
- [HttpResponse](https://www.github.com/itsAdee/4-g-specs-php-sdk/tree/1.3.0/doc/http-response.md)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

839d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/104891437?v=4)[Adeel Ahmed Qureshi](/maintainers/itsAdee)[@itsAdee](https://github.com/itsAdee)

---

Top Contributors

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

---

Tags

tutorials

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/4-g-4-g-specs-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/4-g-4-g-specs-sdk/health.svg)](https://phpackages.com/packages/4-g-4-g-specs-sdk)
```

###  Alternatives

[square/square

Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.

773.9M29](/packages/square-square)[paypal/paypal-server-sdk

PayPal's SDK for interacting with the REST APIs

62833.4k14](/packages/paypal-paypal-server-sdk)

PHPackages © 2026

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