Download the PHP package unitedasian/encode-sans without Composer

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

EncodeSans Font Bundle

The EncodeSansBundle loads the EncodeSans font families into your symfony project.

If your project uses the AsseticBundle, the fonts are made available as assetic named assets.

Installation

Update the project's composer.json file as follows:

Configuration

Define the bundle's mode via its configuration. The default value is individual.

Usage

families mode

In families mode, 5 Encode Sans font families are defined, each available in 9 different weights.

Each font family is defined in a separate stylesheet and is represented by a different assetic named asset:

Include the relevant stylesheet(s) in your page template using one of the 3 methods below. In this example we load the Encode Sans, Encode Sans Narrow and Encode Sans Wide font families:

Direct include

Use assetic's javascripts twig tag

Use assetic's javascripts twig tag with the bundle's formula

In your stylesheet, apply the font to the elements of you choice via the font-* CSS rules, as per the example below:

individual mode

In individual mode, seperate fonts are loaded for each combination of widget and weight. In most cases, your app will only use a subset of all the available font's weights. Rather than load them all, this mode allows you to load only what you require. This is the bundle's default mode.

Each combination of font width and font weight represents a different font and is defined in a separate stylesheet; each is represented by a different assetic named asset.

Include the relevant stylesheets into your template as per the example below. In this case we are loading the Encode Sans, Encode Sans Bold and Encode Sans Wide Black fonts.

Direct include

Use assetic's javascripts twig tag

Use assetic's javascripts twig tag with the bundle's formula

In your stylesheet, apply the font to the elements of you choice via the font-* CSS rules, as per the example below. Make sure to use the appropriate font name for each weight. There is no need to specify the font-weight, since it is already part of the font definition.


All versions of encode-sans with dependencies

PHP Build Version
Package Version
Requires symfony/http-kernel Version ~2.8|~3.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 unitedasian/encode-sans contains the following files

Loading the files please wait ....