PHPackages                             jahid/autodesk-forge - 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. jahid/autodesk-forge

ActiveLibrary[API Development](/categories/api)

jahid/autodesk-forge
====================

this is a package for autodesk forge process management

0.2(3y ago)08MITPHP

Since May 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Jahidhasan3323/autodesk-forge)[ Packagist](https://packagist.org/packages/jahid/autodesk-forge)[ RSS](/packages/jahid-autodesk-forge/feed)WikiDiscussions master Synced today

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Forge PHP SDK
=============

[](#forge-php-sdk)

*Forge API*: [![oAuth2](https://camo.githubusercontent.com/f30ac084fd6e5320e51b0d22920d8297e61d7fe3f4c8e850c71a6138efc3d6b5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f41757468322d76312d677265656e2e737667)](http://autodesk-forge.github.io/)[![Data-Management](https://camo.githubusercontent.com/ec87a5669abfa0cacb74f89bc43378443c8ab32676538590badd31daaef1b097/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446174612532304d616e6167656d656e742d76312d677265656e2e737667)](http://autodesk-forge.github.io/)[![OSS](https://camo.githubusercontent.com/c7bed7ba5938716c20759ba631cec543b2a1d5594bb40ea9f7b1c98b6abaa3c4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f53532d76322d677265656e2e737667)](http://autodesk-forge.github.io/)[![Model-Derivative](https://camo.githubusercontent.com/56b4e4a4c58b5eafc5f3070f75df15f7ae26450759a6b53aea9301621c3ef054/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6f64656c253230446572697661746976652d76322d677265656e2e737667)](http://autodesk-forge.github.io/)

Overview
--------

[](#overview)

This [PHP](http://php.net/) SDK enables you to easily integrate the Forge REST APIs into your application, including [OAuth](https://developer.autodesk.com/en/docs/oauth/v2/overview/), [Data Management](https://developer.autodesk.com/en/docs/data/v2/overview/), [Model Derivative](https://developer.autodesk.com/en/docs/model-derivative/v2/overview/), and [Design Automation](https://developer.autodesk.com/en/docs/design-automation/v2/overview/).

### Requirements

[](#requirements)

- PHP version 8.1 and above.
- A registered app on the [Forge Developer portal](https://developer.autodesk.com/myapps).

### Installation

[](#installation)

#### Composer

[](#composer)

To install the bindings via [Composer](http://getcomposer.org/), run:

```
composer require jahid/autodesk-forge

```

#### Vendor publish

[](#vendor-publish)

Run command

```
php artisan vendor:publish
```

Then publish the `AutodeskForgeService` service.

#### Add those variable in .env

[](#add-those-variable-in-env)

```
AUTODESK_FORGE_CLIENT_ID=
AUTODESK_FORGE_CLIENT_SECRET=
AUTODESK_PROJECT=        #need only for Autodesk 360
AUTODESK_SCOPE=           #i.e. "bucket:read,bucket:create,bucket:delete,data:create,account:read,account:write,data:write,data:read,code:all"
```

Tutorial
--------

[](#tutorial)

Follow this tutorial to see a step-by-step authentication guide, and examples of how to use the Forge APIs.

### Create an App

[](#create-an-app)

Create an app on the [Forge Developer portal](https://developer.autodesk.com/myapps). Note the client ID and client secret.

### Authentication

[](#authentication)

This SDK comes with an [OAuth 2.0](https://developer.autodesk.com/en/docs/oauth/v2/overview/) client that allows you to retrieve 2-legged tokens. The tutorial uses 2-legged tokens for calling different Data Management endpoints.

#### 2-Legged Token

[](#2-legged-token)

This type of token is given directly to the application.

To get a 2-legged token run the following code. There have an optional parameter (bool $isSetSession) also. If you send `true` then it save the token in session. If you do not send any parameter or send `false` parameter then it not store the token in session.

```
(new AutodeskForge\service\AutodeskForgeService)->getToken()
```

`Note:` If you set the token then you can also access to token as like this `Session::get('autodeskForgeToken')`. But we recommend to use `(new AutodeskForge\service\AutodeskForgeService)->getToken(true)` this process;

API Documentation
-----------------

[](#api-documentation)

You can get the full documentation for the API on the [Developer Portal](https://developer.autodesk.com/)

### Documentation for API Endpoints

[](#documentation-for-api-endpoints)

All URIs are relative to . For example, the *createActivity* URI is ''.

MethodParameterDescription[**getToken**](docs/Authentication/Token.md#getToken)`optional` $isSetSession =&gt; boolGet authentication token. If you `send` $isSetSession parameter value `true`, then it store the token in session. So application not sent api request for every time for token.[**createBucket**](docs/Bucket/Bucket.md#createBucket)`optional` $policyKey =&gt; string (persistent, transient, temporary)

 `optional` $bucketKey =&gt; stringCreate a bucket[**getBuckets**](docs/Bucket/Bucket.md#getBuckets)get bucket list[**getBucketDetails**](docs/Bucket/Bucket.md#getBucketDetails)bucketKeyget bucket details[**deleteBucket**](docs/Bucket/Bucket.md#deleteBucket)bucketKeydelete bucket details[**upload**](docs/S3File/S3File.md#upload)path=&gt; string, fileName =&gt; stringupload file in s3 bucket. here `path` is file source path and `fileName` is which name is use in s3[**translate**](docs/Manifest/Manifest.md#translate)urn =&gt; string, fileName =&gt; string,
type =&gt; string (default value `svf2`),
 views =&gt; array (default value `["2d", "3d"]`),
 compressedUrn =&gt; bool (default value `false`), region =&gt; string (default value `us`)You find the `objectId` in upload file response, this is urn. You can translate file for `2d` views only, as well `3d` views only also you can translate both `2d & 3d` [**...**](docs/Manifest/Manifest.md#translate)[**encodeUrn**](docs/Manifest/Manifest.md#encodeUrn)$urn=&gt; stringthis method is used for encode `urn`[**getManifest**](docs/Manifest/Manifest.md#getManifest) (check translate status)$encodedUrn=&gt; string (`objectId` is urn, you must encode the urn)this method is used for check translate status[**deleteManifest**](docs/Manifest/Manifest.md#deleteManifest) (delete translated file)$encodedUrn=&gt; string (`objectId` is urn, you must encode the urn)this method is used for delete translated file[**checkTranslateStatus**](docs/Manifest/Manifest.md#getManifest) (check translate status)$encodedUrn=&gt; string (`objectId` is urn, you must encode the urn)this method is used for check translate statusFuture Feature
--------------

[](#future-feature)

- Upload file in Autodesk 3600

Support
-------

[](#support)

[Please open an issue on GitHub](https://github.com/Jahidhasan3323/autodesk-forge)

License
-------

[](#license)

Create CRUD operation for Laravel application under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

1156d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74797afb279c704be7ce1dcff4510c8d7a6e11208f485f5900f13f353c420cc8?d=identicon)[jahidhasan3323](/maintainers/jahidhasan3323)

---

Top Contributors

[![Jahidhasan3323](https://avatars.githubusercontent.com/u/30716686?v=4)](https://github.com/Jahidhasan3323 "Jahidhasan3323 (2 commits)")

### Embed Badge

![Health badge](/badges/jahid-autodesk-forge/health.svg)

```
[![Health](https://phpackages.com/badges/jahid-autodesk-forge/health.svg)](https://phpackages.com/packages/jahid-autodesk-forge)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

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

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/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)
