---
title: Documentation for Update Pilot Server
date: 2024-11-20T10:21:43+00:00
modified: 2024-11-20T10:29:40+00:00
permalink: https://wpelevator.com/plugins/update-pilot-server/docs
post_type: page
author:
  name: Kaspars
  avatar: https://secure.gravatar.com/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=robohash&r=g
---

# Documentation for Update Pilot Server

[Update Pilot Server](https://wpelevator.com/plugins/update-pilot-server) provides an API endpoint for WordPress plugin and theme updates through native REST API.

## Package Origins

### GitHub Repository

This feature is currently in development. Please [contact us](https://wpelevator.com/contact) to learn more about the current status.



### Composer Repository

Add any Composer repository as an origin for your plugins and themes:

```
<?php

use WPElevator\Update_Pilot_Server\Composer_Repository;

add_filter(
	'update_server__repositories',
	function ( $repositories ) {
		$composer = new Composer_Repository( 'https://satis.example.com' );
		$composer->set_http_credentials( 'username', 'password' ); // Optional.

		$repositories[] = $composer;

		return $repositories;
	}
);
```

Only the packages that have the `type` set to either `wordpress-plugin` or `wordpress-theme` are made available.