Download the PHP package rivervanrain/activitypub without Composer

On this page you can find all versions of the php package rivervanrain/activitypub. 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 activitypub

ActivityPub

Elgg 6.1

ActivityPub integration for Elgg

About

Implements the ActivityPub protocol 1, 2, 3 for your Elgg app, allowing members to communicate with each other. Users will be able to follow content on Mastodon and other federated platforms that support ActivityPub.

With the ActivityPub plugin installed, your Elgg app itself function as a federated server in Fediverse 1, 2, along with profiles for each user and/or group.

For instance, if your Elgg app is app.url, then the app-wide profile can be found at @[email protected], and users like Jane and Bob would have their individual profiles at @[email protected] and @[email protected], respectively.

Inspired by ActivityPub Drupal plugin by Kristof De Jaeger aka swentel and Minds ActivityPub

Features

Supported Activity types

... more to come

Supported Actor types

... more to come

Supported Object types

... more to come

Supported Link types

The plugin has been tested with the following federated platforms:

Open an issue if you have successfully interacted with another platform.

Requirements Elgg plugins

You need to activate the following bundled Elgg plugins:

Suggested Elgg plugins

Installation

Note: Don't forget to setup cron!

For Apache

Change this rule in .htaccess:

On these rules:

For Nginx

Add these rules at the end of your config:

See examples in the /install/config folder of this plugin.

Configure plugin

Basic config

Go to the plugin's settings /admin/plugin_settings/activitypub

Configure permissions:

At this point, when a user has enabled ActivityPub at /settings/plugins/username/activitypub, they should be discoverable.

Test enabled ActivityPub by user on Elgg:

If you follow this user, Follow activity will arrive in the inbox and an Accept outbox activity will be created automatically.

Configure global settings to select how to process ActivityPub activities:

This way you can configure your Elgg app as Client-to-Server or Server-to-Server interaction.

Control domains:

Server parameters:

Configure your ActivityPub instance.

Read documentation to learn more about Server instance configuration.

Types

On /admin/activitypub/types you get an overview of all ActivityPub types configuration entities.

Core types are enabled when enabling the bundled Elgg plugin and have locked ActivityPub types.

Dynamic types are not enabled yet since this depends on your setup.

Public and Private keys

Public and private keys are saved in /data/1/1/activitypub/keys/, where data is your Elgg data folder.

Caching

For incoming or outgoing requests, images needs to be fetched to get the Inbox endpoint for example.

This is saved in /data/activitypub/cache/, where data is your Elgg data folder.

Logs

Enable logs in Development section at /admin/plugin_settings/activitypub to check how the plugin works.

Logs are saved in /data/activitypub/log/, where data is your Elgg data folder.

Inbox and outbox

Every user and group has an inbox and outbox where activities from remote users are stored and outgoing posts to your followers, unless it's an unlisted or private post.

Administrators can control all ActivityPub activities on /admin/activitypub/activities page.

Support

Frequently Asked Questions

Donate


All versions of activitypub with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-json Version *
rivervanrain/activityphp Version dev-wzm
rivervanrain/http-signatures-php Version dev-wzm
pfefferle/openwebicons Version ^1.6.3
laminas/laminas-diactoros Version ^3.5.0
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 rivervanrain/activitypub contains the following files

Loading the files please wait ....