Download the PHP package raphievila/basicsubscription without Composer

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

BasicSubscription

This is an extremely basic and unofficial Mailgun component for subscription management. Specifically coded to create ajax base subscription method on a website. Do not include mail management capabilities.

Only include tools to subscribe, unsubscribe, verify structure or check status from a given email in an specified mailing list. As I said before, basic user based mailing list management to be installed on a website. Build for those whose code conflicts with Composer autoload and are not able to use the excellent Mailguns's own PHP SDK.

Setup

Install using terminal or powershell $> composer require raphievila/basicsubscription when finished, create the setting file copying basicsubscription/src/config/mg-example.ini and rename it mg.ini.

On the newly created mg.ini file, setup your values specified on your Mailgun account. If you are in a hosting that do not allows you file system access to the root of your hosting, you need to take all precautions available to secure this file, since holds important and sensitive information.

NO COMPOSER SET UP

The main reason I created this code was to implement Mailgun to a huge website I manage, built originally with PHP 3, now PHP 5.7, but the Composer autoload conflicted with an autoload I created years ago, before even namespace was implemented on php objects, object oriented language was a beta option for php back then. For this reason I was unable to use the Mailgun SDK.

If you are an old timer like me, you probably have a bunch of applications with your own autoload system that might conflict with Composer autoload. In that case, copy the class to your class folder, and if by the time you created your autoload namespace was not available, remove the namespace on line #2, this if you still have conflicts. I suggest, as I'm doing, restructure your code to fit Composer autoload, which is a great includes manager or to any other code manager you prefer.

After saving your class, then save basicsubscription/src/config directory on the root of your PHP includes directory or on same directory from where you load your classes, or change basicsubscription/raphievila/BasicSubsbription::__construct to fit your needs and specify other location.

SUPPORT

This is an as-is Class, but if you have any issue or request you can do so by contacting me through Designer's Gate or Revolution Visual Arts website.

If you need to use Mailgun for sending emails use SwiftMailer instead.


All versions of basicsubscription with dependencies

PHP Build Version
Package Version
Requires php Version ^5.3 || ^7.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 raphievila/basicsubscription contains the following files

Loading the files please wait ....