PHPackages                             ocdladefense/appserver-file-service - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. ocdladefense/appserver-file-service

ActiveWordpress-theme[File &amp; Storage](/categories/file-storage)

ocdladefense/appserver-file-service
===================================

A module for uploading and listng files from the Salesforce platform.

v1.2(3y ago)0311MITPHP

Since Jun 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ocdladefense/appserver-file-service)[ Packagist](https://packagist.org/packages/ocdladefense/appserver-file-service)[ RSS](/packages/ocdladefense-appserver-file-service/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (15)Used By (1)

appserver-file-upload
=====================

[](#appserver-file-upload)

Upload a file as an \[blank\].

Previously referred to as sObject Attachment sObject Documents.

Test routes
-----------

[](#test-routes)

[Test route URL](/file/upload/form/a2C05000000qFiyEAE) includes the Salesforce record Id to use when *updating* a ContentDocument for a given Salesforce record.

Related Salesforce SObjects
---------------------------

[](#related-salesforce-sobjects)

### ContentDocument

[](#contentdocument)

- [https://developer.salesforce.com/docs/atlas.en-us.object\_reference.meta/object\_reference/sforce\_api\_objects\_contentdocument.htm](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentdocument.htm)

### ContentDocumentLink

[](#contentdocumentlink)

- [https://developer.salesforce.com/docs/atlas.en-us.object\_reference.meta/object\_reference/sforce\_api\_objects\_contentdocumentlink.htm](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentdocumentlink.htm)

### ContentVersion

[](#contentversion)

- [https://developer.salesforce.com/docs/atlas.en-us.object\_reference.meta/object\_reference/sforce\_api\_objects\_contentversion.htm](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentversion.htm)

#### Testing Script

[](#testing-script)

1. While not logged in click on the "Upload Files" and "My Shared Files" and make sure you are getting the access denied message.
2. After logging in, click on the links again to make sure you have access.
3. Upload a file using the file upload form with none of the sharing options selected, and make sure that the "ContentDocumentLink" for the file has the current contact's ContactId for the LinkedEntityId field.
4. Upload another file with the sharing options selected. Make sure that the ContentDocumentLink(s) have the correct LinkedEnityIds.

### Testing Script Part 2

[](#testing-script-part-2)

1. The expectation is that if I upload a file while sharing with my contact and a committee I will see two ContentDocumentLinks with the same ContentDocumentId, and the same LinkedEntityId. I expect to see one ContentDocumentLink with matching ContentDocumentId and LinkedEntityId for each entity I shared it with.
2.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

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

Recently: every ~18 days

Total

12

Last Release

1385d ago

Major Versions

v0.9 → v1.02022-09-02

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6232180?v=4)[ocdladefense](/maintainers/ocdladefense)[@ocdladefense](https://github.com/ocdladefense)

---

Top Contributors

[![jbernal](https://avatars.githubusercontent.com/u/2598974?v=4)](https://github.com/jbernal "jbernal (33 commits)")[![ocdladefense](https://avatars.githubusercontent.com/u/6232180?v=4)](https://github.com/ocdladefense "ocdladefense (2 commits)")

### Embed Badge

![Health badge](/badges/ocdladefense-appserver-file-service/health.svg)

```
[![Health](https://phpackages.com/badges/ocdladefense-appserver-file-service/health.svg)](https://phpackages.com/packages/ocdladefense-appserver-file-service)
```

PHPackages © 2026

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