Download the PHP package corwindev/paymenter-discordlink without Composer

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

Paymenter - Discord linked roles

What is this?

This extension allows you to give your customers a role after they have paid for a product. This is done by linking their Discord account to their account on your website. This extension is made for the Paymenter.

Screenshots:

User in chat:

image

Linking Paymenter -> Discord

(To grant a user the role, they must click on "Linked Roles" from the server's context menu in Discord.)

image

How to install

1. Download using composer:

composer require corwindev/paymenter-discordlink

ATTENTION! If you already have Discord login set up in your panel, skip steps 4 and 5.

2. Go to https://discord.com/developers/applications/ and create a new application.

3. Access the newly created application, go to the Bot tab, and create a new bot. Copy the received token and save it in a secure place.

4. Navigate to the OAuth2 tab and add a new "Redirect" with the value https://yourDashboardDomainHere.example/linkedroles/callback.

5. After confirming the changes, open the General Information tab, scroll down, and paste https://yourDashboardDomainHere.example/linkedroles into the LINKED ROLES VERIFICATION URL field.

6. Add your bot to your server using the Url Generator from the OAuth2 tab.

7. Run the following command in the terminal:

Then follow the instructions in the terminal.

8. Create a role on your server and go to the "Links" section to add a new requirement. You will see a list of social platforms followed by Your Application. Choose Your Application and select the requirements you prefer.

image

To display a badge next to a person's nickname as shown in the screenshot below, you need to add the role in the permissions of the chosen Discord channel.

image

To grant a user the role, they must click on "Linked Roles" from the server's context menu in Discord.

image

9. Done!

10. Leave a star on the GitHub repository if you like this extension!


All versions of paymenter-discordlink with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
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 corwindev/paymenter-discordlink contains the following files

Loading the files please wait ....