2017 © Pedro Peláez
 

library icanboogie

High-performance micro-framework for PHP

image

icanboogie/icanboogie

High-performance micro-framework for PHP

  • Sunday, March 18, 2018
  • by olvlvl
  • Repository
  • 2 Watchers
  • 29 Stars
  • 3,999 Installations
  • PHP
  • 28 Dependents
  • 0 Suggesters
  • 5 Forks
  • 3 Open issues
  • 19 Versions
  • 0 % Grown

The README.md

ICanBoogie, (*1)

Release Packagist, (*2)

ICanBoogie is a high-performance micro-framework. It is written with speed, flexibility, and lightness in mind. ICanBoogie doesn't try to be an all-in-one do-it-all solution but provides the essential features to quickly and easily build web applications. It is easily extensible, and a variety of packages are available to complement its features with rendering, views, routing, operations, internationalization, translation, ActiveRecord, facets, mailer…, (*3)

What does micro mean?

"Micro" means that the core features of ICanBoogie are kept to the essential; the core is simple but greatly extensible. For instance, ICanBoogie won't force an ORM on you, although its ActiveRecord implementation is pretty nice. In the same fashion, its routing mechanisms are quite agnostic and let you use your very own dispatcher if you want to., (*4)

Configuration and conventions

ICanBoogie and its components are usually very configurable and come with sensible defaults and a few conventions. Configurations are usually located in "config" folders, while locale messages are usually located in "locale" folders. Components configure themselves thanks to ICanBoogie's Autoconfig feature, and often don't require more that a line in your composer.json file., (*5)

Acknowledgement

MooTools, Ruby on Rails, and, of course, Bacara., (*6)

Summary

Routes

The package provides a controller for the /api/ping route, which may be used to renew a session, if one existed in the first place. When the timer query parameter is present, the controller gives timing information as well., (*7)

<?php

/** @var \ICanBoogie\Application $app */

use ICanBoogie\HTTP\Request;

$request = Request::from('/api/ping?timer');

$app->run($request);

// pong, in 4.875 ms (ready in 3.172 ms)

Helpers

The following helper functions are defined:, (*8)


Installation

composer require icanboogie/icanboogie

The following packages are required, you might want to check them out:, (*9)

The following packages can also be installed for additional features:, (*10)

The following bindings are available to help in integrating components:, (*11)

Continuous Integration

The project is continuously tested by GitHub actions., (*12)

Tests Static Analysis Code Style, (*13)

Code of Conduct

This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code., (*14)

Contributing

Please see CONTRIBUTING for details., (*15)

The Versions

14/03 2015