infuse/infuse

Modular framework for building modern applications

1.4.1 2016-10-05 04:42 UTC

README

Latest Stable Version Software License Build Status Coverage Status Scrutinizer Code Quality Total Downloads HHVM Status

Modular framework for building modern applications in PHP

Introduction

Infuse is a framework to help you build awesome web applications at scale (in terms of LoC and traffic). Minimalism is the primary design goal of this project that is acheived through strong use of modularity. The core framework is a simple set of patterns for gluing together PHP applications.

A minimal amount of components are included with Infuse. Just enough to bootstrap your application, provide routing, requests/responses, dependency injection, and an extensible console application. Any other components completely depends on the needs of your application and can be added through modules available on Packagist. Need an ORM? Then add Pulsar or Doctrine. What about processing scheduled tasks? There's a module for that. If a module that you need is not available then it's easy to write your own.

You will find a minimum amount of opinion in this framework. It's targeted at seasoned PHPers who have their own opinions on what components they want to build their application with. Infuse tries to stay as lightweight as possible while being extendable.

Features

Requirements

  • PHP 5.4+, PHP 7, or HHVM 3.3+

Installation

Install the package with composer:

composer require infuse/infuse

Available Modules

Databases

Authentication

Payments

  • infuse/billing: Implementation of a subscription membership system powered by Stripe

Services

  • infuse/cron: Process scheduled tasks in the background for your app
  • infuse/email: Provides a mailer to queue and sending email templates using Swiftmailer
  • infuse/iron-mq: Adds Iron.io push queues to the Infuse queue system

Administration

  • infuse/admin: Generates an admin panel for managing your application and Pulsar models
  • infuse/statistics: Statistics addon to the admin dashboard

Contributing

Please feel free to contribute by participating in the issues or by submitting a pull request. :-)

Tests

Use phpunit to run the included tests:

phpunit

License

The MIT License (MIT)

Copyright © 2015 Jared King

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.