Download the PHP package eklausme/saaze-mobility without Composer

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

Latest Stable Version License

Simplified Saaze is the static site generator, which is used to generate this blog. So far, there are four example themes for Simplified Saaze.

  1. Saaze Example: By choice, this design is very simple.
  2. Saaze J-Pilot: This design contains top-menus with sub-menus, pages in English and German, a blog, responsive elements. Demo.
  3. Saaze Koehntopp: Based on Bootstrap CSS, modeled after Type on Strap. Demo.
  4. Saaze NukeKlaus: Based on Twenty Sixteen/WordPress, multicolumn, hero image, light+dark mode. Demo.

Here is another theme, called Mobility, modeled after the website open-e-mobility.io from SAP Labs France. That website was built using Avada Website Builder. Some characteristics of open-e-mobility.io:

  1. Responsive design with three, two, or only one column for index page
  2. Blog with hero image for each blog post
  3. Multi-lingual: English, German, and French
  4. Various effects on pages: drop-shaped images, buttons for hyperlinks, lists with icons for numbering, hovering and opacity change for images
  5. RSS feed
  6. Hamburger menu, hoverable menu
  7. Scroll-to-top button ("chevronButton")

My aim was to look roughly similar to the original website but dropping some of the effects, dropping contact-form (as e-mail is already provided), dropping accordeon effect for FAQ-page (deemed difficult to read for end user).

The source code for this theme is here: saaze-mobility. The demo-site is here: mobility.

Using Simplified Saaze will further provide MathJax, Twitter, CodePen, image galleries, sitemap, and all the other goodies. In particular it is quite easy to add

  1. Search functionality, if you have PHP on the web-server
  2. Light and dark mode

1. Comparison. In Analysis of Website Performance #2 I measured performance of the original open-e-mobility.io website. Measurement was done by using pingdom. The performance of the original site is not too bad, but not really fast. Accessing the home page from Frankfurt is ca. two seconds. The new site is a tenth of that.

Feature Original Simplified Saaze
Performance grade C 72 A 91
Load time 1.78 s 0.179 s
Number of requests 69 16
Page size 2.3 MB 266.2 KB

Another comparison regarding the blog index: The Open E-Mobility blog vs. Simplified Saaze version.

Feature Original Simplified Saaze
Performance grade C 75 A 97
Load time 1.36 s 0.183 s
Number of requests 63 11
Page size 1.8 MB 186.8 KB

It was an explicit goal to be fast.

2. Installation. Run

This will copy the files of this Git repository, it will also install Simplified Saaze. To run Simplified Saaze you still need to compile one C program, install one PECL (PHP extension), and configure one PHP file. This is something you have to do only once. These steps are described in Installation.

  1. install php-yaml extension, see PECL's Yaml Way Faster Than Symfony's Yaml
  2. compile php_md4c_toHtml.c

Once everything is installed, switch to the directory and run

Runtime should be a fraction of a second. The options used:

  1. -m is used to generate an XML sitemap
  2. -o is used to generate an HTML sitemap, i.e., an overview
  3. -r generates RSS XML feed

Assuming you installed everything in ~/saaze-mobility, then for deployment on my local web-server I use below command line:

The post Installing Simplified Saaze on Windows 10 #2 contains a description how to install Simplified Saaze on Windows.

3. Conversion. For the conversion of open-e-mobility.io to Markdown I simply used copy-and-paste from browser page directly. This approach is feasible here, as the original website only contains very few pages, and each pages contain few text. I converted only 31 pages.

4. Templates and configuration. There are two so called collections, blog.yml and auxil.yml. Both set rss: true, and set entry_route: /{slug}. So blog posts and auxiliary pages "mix" at the top directory.

Many Markdown files contain three additional entries in frontmatter managing multi-lingual. For example:

Entry lang sets the language, in which the entry is shown. In above example the language is English. The German translation is to be found in de/de-home. The French translation is found in fr/accueil. If there is no translation available you drop the entry in the yaml-file.

The blog entries contain another yaml entry for the hero image. For example:

This denotes where to find the hero image. The entry-template checks whether a hero image is present.

Templates are pretty standard:

Care has been taken in the templates to keep everything relative, i.e., the site can be moved up or down in the file hierarchy. One aid here is the use of the $rbase (relative base) variable.


All versions of saaze-mobility with dependencies

PHP Build Version
Package Version
Requires eklausme/saaze Version >=1.22
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 eklausme/saaze-mobility contains the following files

Loading the files please wait ....