Download the PHP package saturn/hyperion without Composer

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

Hyperion Latest Stable Version License

Hyperion is the lightweight MVC framework that puts the FUN back in progrFUNamming! Or, you know, whatever. Hyperion makes it super-easy to create MVC applications.

BONUS FEATURE: No sibling incest (which can't be said about the greek deity that stole our name).

Requirements

Installation

Add a .htaccess file to your root directory and create your rewrite rules. The requests should be redirected to the file index.php inside the public directory, for example:

Using Composer (recommended)

Hyperion is designed as a Composer library package. So the by far easiest, but maybe not cleanest, way to install Hyperion is by using Composer. This will add the framework to the vendor directory, which will hide away the not-so-ugly but boring-shitty core files and help you focus on creating your SUPER HAPPY AWESOME FUN (henceforth, SHAF) application without any incestuous gods being all up in your file-structure-business. Just run the following command in the root directory of your project.

Source code

Of course, you can also download the source files or clone the git repository and manually add it to folder of your choice. It is recommended that you put in a separate folder at the root level, for example hyperion.

Setup

Using Composer

Manual installation

Bootstrapping

Usage

All controllers must be placed inside the folder application/controllers. The controllers must also abide to a specific naming convention, where the file and class name must start with a capital letter and end with Controller. Let's say we want to create a controller called SHAF. The file would then be called SHAFController.php, while class is named SHAFController. The controller classes must also extend the base controller, Controller.

ExampleController.php

Models follow the same naming convention as do Controllers and View classes.

ExampleModel.php
example/main.tpl

Database support

Want to use a database? You got it. Wouldn't be SHAF apping otherwise. Hyperion comes with a simple Database class (using PDO), which supports MySQL. To make it super-easy and EXTREMELY WSSHAF (let's call it EWSSHAF) for you, the base model, that all your model classes extend, comes with a bunch of method for accessing simple and basic PDO commands. Below follows a list of methods you can use when creating your EWSSHAF app.

Confused? Me too. But hey, let's see an example on how to use this to make CUTE EWSSHAF (Yup, you guessed it, CEWSSHAF! Okay, I need to stop...) applications.

What is a DELICIOUS CEWSSHAF (Oh you know it, DCEWSSHAF. Seriously, I can't stop, I have serious mental issues, help me...) application without statements with -- PARAMETERS?!

Author


All versions of hyperion 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 saturn/hyperion contains the following files

Loading the files please wait ....