Download the PHP package ernestdefoe/google-fonts without Composer

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

Google Fonts for Flarum

License Latest Stable Version

Use any Google Font on your Flarum 2 forum — or upload and self-host your own. Pick a body font and a heading font, applied site-wide, with a live preview right in the admin panel.

Features

Installation

Then enable Google Fonts in your admin panel.

Usage

  1. Go to Admin → Google Fonts.
  2. Set a Body font and (optionally) a Heading font.
  3. Start typing to search, or paste an exact family name from fonts.google.com.
  4. Click Save. The fonts apply to your forum immediately.

Leave a field blank to fall back to your theme's default font.

Self-hosting a font (works where Google is blocked)

  1. Under a font, click Upload your own font.
  2. Give the font a name (this is just the family label used internally).
  3. For each weight you want (Regular, Bold, â€Ķ), pick the weight and upload a .woff2 file. A variable .woff2 covers every weight in a single file; a static file gets browser-synthesized bold for weights you don't upload.
  4. Uploads save immediately — no Save click needed for the files.

Only .woff2 is accepted (it's the smallest, universally-supported web font format). If you have a .ttf/.otf, convert it once with any free online woff2 converter. To go back to a Google font, click Use a Google font instead (this removes the uploaded files).

Updating

Support

License

MIT


All versions of google-fonts with dependencies

PHP Build Version
Package Version
Requires flarum/core Version ^2.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 ernestdefoe/google-fonts contains the following files

Loading the files please wait ...