Download the PHP package statenweb/cryptocurrency without Composer

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

=== Cryptocurrency Portfolio Tracker === Contributors: matstars, statenweb Donate link: https://statenweb.com/donate Tags: cryptocurrency, bitcoin, litecoin, ethereum, bitcoin cash, ripple Requires at least: 4.0 Tested up to: 4.9.5 Stable tag: 0.0.15 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html

Calculate and output your cryptocurrency portfolio's performance

== Description ==

Adds an admin screen to enter in your cryptocurrency purchases and then exposes a simple to use shortcode and simple API to output your cryptocurrency portfolio's performance on the frontend.

Please note that this plugin makes use of a 3rd party service to retrieve cryptocurrency prices. This means that a request is made to third party servers (coinmarketcap.com) requesting current cryptocurrency prices. See https://coinmarketcap.com/api/ for more information.

Simple usage:

Adding your portfolio

Outputting the data

Shortcode

[cryptocurrency_table]

PHP API

cryptocurrency_table();

Filters

For the sake of brevity, by default, the table outputs (1) the current price of each currency and does NOT output the last time the price was retrieved (see API section below), both of which can be toggled by adding the following:

Hiding the current price:

add_filter( 'cryptocurrency/show_current_price', '__return_false’ );

Showing the last updated:

add_filter( 'cryptocurrency/show_last_updated', '__return_true' );

API

This plugin uses the public API made available by coinmarketcap.com. It is built to cache responses for 60 seconds so as to not flood the API. The plugin injects the last updated date/time as part of the response object which can be exposed via a filter (see Filters above). Please make sure to follow their API rules. See https://coinmarketcap.com/api/ for more information.

Release Notes

Roadmap

Things I'd like to add in the future

== Installation ==

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/cryptocurrency directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Use the Settings->Cryptocurrency screen to add your cryptocurrency portfolio
  4. Use the shortcode or API (examples for both above) to output your portfolio data

All versions of cryptocurrency with dependencies

PHP Build Version
Package Version
No informations.
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 statenweb/cryptocurrency contains the following files

Loading the files please wait ...