Download the PHP package tedmoyses/glomr-lib without Composer

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

Glomr Static Site Builder

Glomr-lib is the library implementation for Glomr

Glomr is yet another static site builder and has the following features:

instalation:

composer install tedmoyses/glomr-lib

usage

Glomr reads content from ./source directory in your project and outputs formatted HTML to ./build directory. These paths the are defaults but can be configured with the setPath method on the BuildContext class

The BladeBuilder class will look for templates in ./source/templates named *.blade.php It is recommended to places layouts, partials and shared elements in their own directory outside/above templates. Variables to be used in Blade templates can be passed in an associative array to the BuildService class method build. The templates path is a switchable context exposed by the BladeBuilder method setContext

Glomr has a choice of watchers that will watch the source directory for file changes. The InotifyEventsWatche is the best choice if your OS/environment supports Inotiy Events, if not - or you notice that changes to source files do not trigger a build - then use the PollerWatcher. This will hold the php process in a loop using a configurable interval - to interupt the process a SIG_INT or Ctrl + C will stop the process.

There is an internal service to serve up the built content - by default this service is bound to 0.0.0.0 on port 8080. To start the server, use the runServer method from the BuildService class - you can pass parameters here to configure the server bind address, port and document root. This will start a background process the should be closed down in response to a SIG_INT or Ctrl + C

configuration

Watcher intervals are measured in milliseconds and passed as the second param in the constructor or in the watch method on the build service as the first parameter.

You can enable debug level logging using Logr::setdebug(true)

To force the watcher used by BuildService to be the poller, use true as the second parameter to the watch method

To enable 'low' or 'high' compression for the Asset Builders either set the second parameter as a string value 'low' or 'high' in the constructor or use the setCompression method. Default is none


All versions of glomr-lib with dependencies

PHP Build Version
Package Version
Requires jenssegers/blade Version ^1.1
monolog/monolog Version ^1.23
bramus/monolog-colored-line-formatter Version ~2.0
symfony/process Version ~3.0
kriswallsmith/assetic Version ^1.4
patchwork/jsqueeze Version ^2.0
matthiasmullie/minify Version ^1.3
tedivm/jshrink Version ^1.3
illuminate/filesystem Version ^5.7
symfony/finder Version ^4.1
league/flysystem 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 tedmoyses/glomr-lib contains the following files

Loading the files please wait ....