A simple and lightweight web framework
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
external
framework
log
plugins
templates
upload
.htaccess
index.php
readme.md
web.config

readme.md

Hummingbird Lite

Lightweight, extensible web framework.

Visit official website

Current version: 3.0.1 (April 10, 2018)

Important note

This is a major release and as such, some things have changed. Please refer to the documentation to learn about the new functionality included

Requirements

  • PHP 5.x
  • Apache 2.x with mod_rewrite enabled OR IIS 7+ with Rewrite module installed and enabled

Note: Some plugins may have additional requirements

Installation

Just unzip the distribution package and you're done.

Configuration

To configure your hummingbird instance just edit the config.inc.php file inside the /framework folder by setting the appropiate parameters on the $settings array. There are three major sections by default:

  • development - Set development-specific options here (most likely local host/db).
  • production - Set production-specific options here, e.g. the real thing.
  • shared - Set global options here.

First make sure to set the correct url under the site_url key for the routing engine to work.

Next, choose your database driver and fill the required parameters.

Finally, set your site's name and generate the random salt values under the shared section.

Aditionally you may activate any extra plugins by adding them to the plugins key, just add its slug.

Troubleshooting

500 errors

Due to the increased security measures, you may get this kind of error from your server. Just make sure to comment the php_flag and php_value directives on the following files:

  • .htaccess
  • plugins/.htaccess
  • upload/.htaccess

Note that by doing that, you are effectively disabling these security measures (that is, allowing direct PHP execution from these folders).

Also, the default .htaccess disables direct PHP execution but depending on your server configuration, you may need also the other two .htaccess files to correctly block it.

404 errors

Sometimes the routing engine will not work out of the box even if you set site_url, so you must also set the RewriteBase directive on the .htaccess file.

301 redirections

Pay special attention to the site_url parameter: the default .htaccess strips www. from the URLs and this causes a 301 redirect. You may disable this by editing the .htaccess file.

Credits

Lead coder: biohzrdmx <github.com/biohzrdmx>

License

Copyright © 2017 biohzrdmx

MIT License for non-commercial use

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Please quote me for more details on commercial use