Skip to content

TheWebChimp/hummingbird-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hummingbird Lite

Lightweight, extensible web framework.

Current version: 2.0.1 (September 18, 2014)

Requirements

  • PHP 5.x
  • Apache 2.x with mod_rewrite 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 /include 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

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 © 2014 biohzrdmx

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.