Download the PHP package sandwave-io/office-365-php without Composer

On this page you can find all versions of the php package sandwave-io/office-365-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package office-365-php

Office 365 API - PHP SDK

GitHub Workflow Status Packagist PHP Version Support Packagist PHP Version Support Packagist Downloads

This is a package for the Microsoft 365 implementation of KPN.

SERVER COMMUNICATION

RoutIT

This package will not communicate directly with KPN but with an intermediate party called RoutIT. RoutIT handles every other request detail.

Authentication

Each request must contain a header for basic authentication

PACKAGE

OfficeClient

The office client is the API for this package. Example setup

Testing with the OfficeClient

The OfficeClient accepts an array as fourth parameter. This array will be merged together with the default GuzzleClient parameters. This gives the benefit of setting a handler for mocking for example.

Default GuzzleHttp options:

Instantiate the OfficeClient with a MockHandler

Available components and their methods

Customer

Create

Accepts

Asynchronous requests

Subscribed events

Not every request will be synchronous and will give back a resource immediately. RoutIT will call our webhook with the particular object that has been created. This will cause that the Office365 package dispatches an event. Each subscriber that is attached to that particular event will receive the notification.

Subscribe to an event

For example: a customer create request is sent. RoutIT will not give back the resource immediately but will send this later through the webhook. In order to subscribe for this particular event, a new class must be created that implements the CustomerObserverInterface. Each component holds his own observers. The interface name will always look like this {ComponentName}ObserverInterface.

In the above class, the CustomerObserverInterface is created and the execute method is implemented. It can now be attached together with an event it should listen to. In this case OfficeEvent::CUSTOMER_CREATE.

Available requests

The following requests are available in this package:

MicrosoftTenantDomainOwnershipCheckRequest_V1

The MicrosoftTenantDomainOwnershipCheckRequest can be used to check whether an IRMA client has access to an existing Microsoft tenant. A customer has access if:

1) There is 'delegated management' active on this tenant. This can be arranged in the Microsoft Partner Center. 2) There is a correct TXT record on the domain. 3) There is an active Microsoft Customer Agreement.

MicrosoftTenantExistsCheckRequest_V1

The MicrosoftTenantExistsCheckRequest can be used to check whether the tenant exists.

NewCustomerRequest_V3

Creating a new customer in the backend system Irma.

ModifyCustomerRequest_V3

Modify a existing customer in the backend system Irma.

NewCloudLicenseOrderRequest_V2

Place a order for the new cloud license including possible add-ons.

ModifyOrderQuantityRequest_V1

Adjust the item amount of an order.

NewCloudLicenseAddOnOrderRequest_V1

Adding an add-on to an existing cloud license order.

TerminateOrderRequest_V2

The TerminateOrderRequest_V2 can be used to cancel an active order.

OrderSummaryRequest_V1

With the request you can get a summary of the orders of a customer. Maximum 2500 order for each call. If you want to see more orders, a next set can be retrieved using the 'skip' option.


All versions of office-365-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-dom Version *
ext-json Version *
ext-libxml Version *
ext-simplexml Version *
guzzlehttp/guzzle Version ^7.5.0
jms/serializer Version ^3.23.0
symfony/yaml Version ^6.2.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sandwave-io/office-365-php contains the following files

Loading the files please wait ....