Download the PHP
package jameron/invitations without Composer
On this page you can find all versions of the php package
jameron/invitations. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor jameron Package invitations Short Description Email invitations for bringing on new users to your applications. License
MIT Homepage http://cjmacfarlane.com
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.
This package is designed to enable web applications the feature of sending tokenized email invitations to potential new users. The invitation is a record on a invitations table, and once claimed is removed and a new user is added to the users table. This package was designed to work the the Admin Package and the Regulator Package
Setup instructions
1) Add the package to yuor composer.json file
NOTE: Laravel 5.5 users can skip steps 2 and 3
2) Add to your providers:
3) Add to your Facades:
4) Publish the migrations and config
5) Run migrations
6) If you want to tie related model data to your invitations you can set that in your config/invitations.php config file.
Make sure to add the Invitable Trait to the model you are relating to your invitations:
then in the class add that Trait
If for example say you are inviting an user to manage a page you created for them. You have a table called pages, with foreign_key user_id currently set to null. You want the page user_id (nullable) set to the invited user once they claim their invite.
Your config would look like this:
When the invitation is claimed the page associated to the invitation will be updated with the users id.
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 jameron/invitations contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.