Download the PHP package carawebs/address without Composer

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

Address WordPress Plugin

Work in Progress. Use at your own risk.

Adds an option page to add Physical address data to the options table of the database.

Builds the address data into a HTML block that is properly marked up according to schema.org.

Uses the WP Plugin Boilerplate.

Installation

  1. Clone this repo to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Add address data to your site: Dashboard >> Settings >> Address & Contact
  4. Place `` in your templates
  5. Use the shortcode [address] in the content area

Available Filters

Filter Hook Value Variables
'carawebs_address_open_div' '<div class="address" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">' -
'carawebs_address_business_name' '<h3><span itemprop="name">' . $business_name . '</span></h3>' $business_name
'carawebs_address_line_1' '<span itemprop="streetAddress">' . $address_line_1 . '</span><br />' $address_line_1
'carawebs_address_line_2' '<span itemprop="streetAddress">' . $address_line_2 . '</span><br />' $address_line_2
'carawebs_address_town' '<span itemprop="addressLocality">' . $town . '</span><br />' $town
'carawebs_address_county' '<span itemprop="addressLocality">' . $address['county'] . '</span><br />' $county
'carawebs_address_country' '<span itemprop="addressCountry">' . $country . '</span><br />' $country
'carawebs_address_postcode' '<span itemprop="postalCode">' . $postcode . '</span>' $postcode
'carawebs_address_close_div' '</div>' -

Example Filter

The 'carawebs_address_business_name' filter receives two parameters:

An sample use of this filter within a theme would be:

Changelog

1.0


All versions of address with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
composer/installers Version ~1.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 carawebs/address contains the following files

Loading the files please wait ....