Download the PHP package journeygroup/elmo without Composer

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

Elmo

Why

Simplicity. Elmo is a super lightweight, single-file, scaffold for creating static web features. You don't need to install any special tools (LAMP stack is fine), don't need to learn a templating language, and you're free encouraged to hack it. Elmo is less than 200 lines that can be run dynamically for rapid development, and produce static files for production.

The name comes from the natural static electricity phenomenon, St. Elmo's Fire.

Usage

Installation

The easiest and quickest way to install Elmo is via composer:

composer create-project journeygroup/elmo your-project-name

Installing an existing project

If you’re cloning an existing Elmo project, any dependencies will be ignored. Run composer install from within the project’s directory to install dependencies according to the composer.lock file (or composer.json if no composer.lock file is present).

Routes

Unpack Elmo, and point an Apache server at the Public directory. Add routes (pages) to your project by simply creating php files inside the Routes directory. All files are resolved to clean urls. Example:

Routes/
 - index.php
 - about.php
 - products/
    - index.php
    - flashlight.php
    - candle.php

The above structure would resolve to the following URLs:

/
/about
/products
/products/flashlight
/products/candle

Layouts

Layouts are simply html templates. Route files are nested inside layouts, no, there's no silly templating language, turns out PHP is capable of outputting strings too! Here's an example of a basic layout:

Only one layout may be used per route. Any php variables defined in a layout are accessible within the route file as well. As a bonus, route files can define what layout they should be rendered with.

The above code sample would render the route using Layouts/products.php layout file.

Output

Once you're development is complete, pop open a terminal, navigate to your project and execute:

php elmo ~/your_output_directory

Done.

Wishlist

Layout nesting is the next feature on the docket.

Notes

Pull requests gladly accepted.


All versions of elmo with dependencies

PHP Build Version
Package Version
Requires php Version >=5.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 journeygroup/elmo contains the following files

Loading the files please wait ....