Download the PHP package mitydigital/supportamic without Composer

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

Supportamic

Statamic 4.0+ Statamic 5.0+ Supportamic on Packagist


Supportamic is an very opinionated support add-on for Statamic 4 and 5 including HubSpot chat support and a Dashboard Widget.

Configuration

You will need to have some .env variables added to take full advantage of what the addon can do.

Make sure you have these set and ready to go:

Advanced configuration

The Chat component of this add-on uses identification based on the logged in Statamic user. If you need to make changes beyond what the default configuration is doing, don't forget to publish the config file:

For most sites, this won't be necessary.

Chat

Supportamic is configured to work with one chat engine, HubSpot's chat (conversations) widget.

SUPPORTAMIC_CHAT should be "hubspot" - anything else will throw a wobbly.

SUPPORTAMIC_CHAT_ENDPOINT is the endpoint URL provided by HubSpot for embedding your chat widget to your page.

Chat Identification

By default, Supportamic will try to get the logged in user's Name and Email Address and pass these to the chat widget for a smoother UX for users.

These are set to look for the email and name fields of the User, and most likely won't need to change.

If you have a custom User Blueprint, you can override these in the config/supportamic.php config file.

Widget

The Dashboard Widget can be added to your site by adding supportamic to your config/statamic/cp.php widgets configuration:

There are two key sections - Admin Guide and Support.

Admin Guide

The Admin Guide allows you to have a link to your site's support documentation. This is pulled from Statamic's STATAMIC_SUPPORT_URL environment variable (statamic.cp.support_url).

Setting SUPPORTAMIC_WIDGET_SHOW_GUIDE to false will always hide the Admin Guide section, even when the URL is set.

Keeping SUPPORTAMIC_WIDGET_SHOW_GUIDE as true will show the Admin Guide section when the Support URL is not Statamic's URL.

Support: Start a conversation

If you have Chat correctly configured, the "Start a Conversation" button will appear.

When loaded, this will be disabled, but will be enabled when the Chat widget is ready.

Support: Email support

Set SUPPORTAMIC_EMAIL to a valid email address to enable the "Email Support" option.

This will create a button with a mailto: link.

Support: Visit support website

Set SUPPORTAMIC_WEBSITE to a valid website to enable the "Visit support website" option.

This will open in a new window.

Add-on Support

We've made this for our projects really... some may find it useful, but it's not something we're looking to support beyond what is useful for our projects too.

But hey, you could always ask - you may have a brilliant idea that we'd love to implement and use too. Say hello.

Credits

License

This addon is licensed under the MIT license.


All versions of supportamic with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
statamic/cms Version ^4.0 || ^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 mitydigital/supportamic contains the following files

Loading the files please wait ....