Download the PHP package genesis-php/genesis without Composer

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

Genesis

Build Status Build status Scrutinizer Code Quality Code Coverage Latest Stable Version License

Genesis is lightweight, smart and easy to use CLI tool, for building (mainly) PHP applications. Usage is similar to Phing, but Genesis is much easier. For configuration is used an .neon file, which is very similar to YAML.

Installation

Preferred installation is with Composer.

composer require genesis-php/genesis

Compatibility

This software is developed primarily for UNIX systems (Linux, OSX), but it works also on Windows.

Quick example

Look at the example which gives you quick introduction.
Don't worry, it will take only minute.

Getting started

Initialize build directory in your project: (path to your vendor directory may differ!)
../vendor/bin/genesis self-init

An 'build' directory will be created, with these files:

Look at the skeleton, how can build directory looks like.

CLI

This tool is intended to use via CLI only.

Run it by (path to your vendor directory may differ!):
../vendor/bin/genesis mytask

OR via shortcut, which creates self-init (you may need to edit path to vendor dir in file 'build/build'):
./build/build mytask

You can use any working directory with parameter "--working-dir":

Supported options:

All arguments are passed to build:

../vendor/bin/genesis mytask foo

Arguments mytask and foo will be available in your build class (property $arguments)

Commands

Commands are intended to use them in Tasks. In namespace Genesis\Commands are default commands and of course you can create and use your own commands.

Common

Assets

Filesystem

Test

This set of commands may be useful, if you want to check system some system requirements, usually at the beginning of the build.

Integration

An bootstrap.php in build directory can return instance of Genesis\Config\Container which will be merged into Container created from config.neon


All versions of genesis with dependencies

PHP Build Version
Package Version
Requires php Version >= 5.4
nette/neon Version *
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 genesis-php/genesis contains the following files

Loading the files please wait ...