Download the PHP package sciactive/tilmeld-server without Composer

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

Tilmeld {#mainpage}

Nymph user and group management with access controls.

Deprecation Notice

The PHP implementation of Nymph/Tilmeld has been deprecated. It will no longer have any new features added. Instead, a new version of Nymph running on Node.js, written entirely in TypeScript will replace the PHP implementation. You can find it over at the Nymph.js repo.

Installation

Automatic Setup

The fastest way to start building a Nymph app is with the Nymph App Template.

Manual Installation

How It Works

Tilmeld uses Nymph entities to store users and groups. It allows users to register and log in using the Nymph REST endpoint.

Tilmeld methods are available on the Tilmeld\Tilmeld class. (They are all static methods.)

Users

User accounts can be created either in the setup app or by registering through the register function in PHP or the $register function in JS. There is a TilmeldLogin component in the tilmeld-components package that will build you a login/register form. The first user account registered in Tilmeld will be granted admin priveleges with the system/admin ability.

Users are available as the Tilmeld\Entities\User class.

Groups

Groups are available as the Tilmeld\Entities\Group class.

Primary Groups

Users can have only one primary group. It becomes the group of any entities they create. By default, Tilmeld will create a new primary group for every user.

Secondary Groups

Secondary groups are used to grant users additional abilities or give access to entities.

Access Controls

Tilmeld filters all calls to Nymph to allow users to only see and modify the entities they have access to. When a user creates an entity, their user becomes the user property of that entity, and their primary group becomes the group property. By default, entites will allow read/write/delete access to their user, read access to their group, and no access to other users.

You can use these constants for access control:

The following properties are used on entities to control who has access:

Abilities

Abilities can be granted to users and/or their groups. When you call gatekeeper, it will check for the given ability.

The system/admin ability is special, and will cause gatekeeper to always return true for users with this ability. It will also let the user see, modify, and delete all entities, as if they had Tilmeld::FULL_ACCESS.

The tilmeld/admin ability allows the user to see the setup app and modify all users/groups except ones with the system/admin ability. Changes to a user's email by a Tilmeld admin do not require verification. A Tilmeld admin can't grant system/admin to a user or group, but they can assign groups, so don't grant a group the system/admin ability.

Generated Primary Groups

Tilmeld, by default, is configured to generate a primary group for every new user. When the user is changed, that information is propagated to the group.

API Docs

See the full API docs at https://tilmeld.org/api/server/latest


All versions of tilmeld-server with dependencies

PHP Build Version
Package Version
Requires sciactive/hookphp Version ^2.0
sciactive/nymph-server Version ^3.3
sciactive/umailphp Version ^2.4
respect/validation Version ^1.1
lcobucci/jwt Version ^3.2
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 sciactive/tilmeld-server contains the following files

Loading the files please wait ....