Download the PHP package bitexpert/additeasy without Composer

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

bitexpert/additeasy

addItEasy is a PSR-7 compatible flat-file CMS and static site generator written in PHP.

Installation

The preferred way of installing bitexpert/additeasy is through Composer. Simply add bitexpert/additeasy as a dependency:

To initialize a new project simply call the init command of the provided addItEasy cli tool:

Add a template

addItEasy uses Twig as templating engine. Create a template named "default.twig" in the templates folder like this:

Adding content

Content files need to placed in the content directory. Content files are basically Twig files which provide the blocks required by the template.

Every page of your site is represented by a subfolder in the content directory. The folder names build the URL structure for your site, nested subfolders are allowed. Each folder needs to be prefixed with a number which is used to indicate the sorting order. Each folder needs to contain one twig template file containing the content to display.

The content folder could look like this:

Twig helper functions

The current page object gets exposed as a variable named "page" in the template, the $EASY_CONF["site"] configuration array gets exposed as variable named "site". In addition to that addItEasy exposes 3 helper functions to "interact" with the content pages.

The children($pagename) function takes a page name as an argument and returns the child pages.

The siblings($pagename) function takes a page name as an argument and returns all sibling pages including the current page.

The pageblock($page, $blockname) function takes a page object as first argument and the name of the block to render as a second argument.

Running addItEasy

Running addItEasy as a flat-file CMS

In case you want to run addItEasy locally the following command needs to be executed in the project directory:

Open a web browser and point it to http://localhost:8080 so see addItEasy in action.

Running addItEasy as a static site generator

To export static HTML pages run the export command od the provided addItEasy cli tool:

The HTML files as well as the assets will get exported to the folder specified in the project configuration.

License

addItEasy is released under the Apache 2.0 license.


All versions of additeasy with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
bitexpert/adrenaline Version ^0.4.0
bitexpert/disco Version ^0.9.0
bitexpert/slf4psrlog Version ^0.1.3
monolog/monolog Version ^1.14.0
symfony/console Version ^2.8.6
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 bitexpert/additeasy contains the following files

Loading the files please wait ...