Download the PHP package infuse/framework without Composer
On this page you can find all versions of the php package infuse/framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package framework
Infuse Framework
Modular PHP framework built with infuse/libs
What is Infuse Framework?
Infuse Framework is a tool for building modern web applications. It is built on top of infuse/libs. The goal of this framework is scalability and an increase in developer productivity through a simple modular design.
Features
- Modular
- MVC style
- Dependency Injection
- Database agnostic and migrations with phinx
- Flexible URL routing
- Templating with Smarty or pure PHP
- Logging with monolog
Requirements
Optional
- redis: Alternative for sessions and model caching
- memcached: Alternative for model caching
- grunt: Compiles front-end assets
Available Modules
Authentication
- Auth: Adds user authentication to the framework
- OAuth2: Adds support for OAuth2 and JWT access tokens
- Facebook: Adds Facebook as an authentication method
- Twitter: Adds Twitter as an authentication method
- Instagram: Adds Instagram as an authentication method
Services
- API: RESTful API scaffolding for models
- Cron: Processes scheduled tasks in the background
- Email: Provides a mailer dependency for queueing and sending email templates
- IronMQ: Use iron.io push queues
Admin
- Admin: Generates an admin panel CRUD operations on models
- Statistics: Statistics collection with admin dashboard
Demo
A demo has been setup at infuse.jaredtking.com.
Getting Started
1. Install with composer
Infuse Framework is served through the public
directory to prevent the framework files from being served. This requires a small amount of configuration for the web server to work properly.
2. Nginx
Here is a sample configuration:
2. Apache
A .htaccess file is already included in the /public
directory for url rewrites. You must also make sure that DocumentRoot
points to {FRAMEWORK_PATH}/public
.
3. config.php
Copy the contents of config-example.php
into config.php
and update the settings to match your app's configuration.
4. Database Migrations
Once you have setup the config and have a working connection to the database you are ready to install the schema. Run:
5. Compile Static Assets
If you will be using grunt for managing your static assets then you first need to ensure that all the proper packages are installed:
You can use grunt
to recompile all assets and grunt watch
to watch for changes to the asset source files.
Why another PHP framework?
Infuse Framework has served me well on many projects in the past. My hope by open sourcing it is that others may benefit. If something does not look right, I would love to hear about it in the issues.
Documentation
Learn more about Infuse Framework in the wiki.
Contributing
Please feel free to contribute by participating in the issues or by submitting a pull request. :-)
License
The MIT License (MIT)
Copyright © 2014 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.
All versions of framework with dependencies
idealistsoft/framework-bootstrap Version ~1.0
idealistsoft/framework-auth Version ~1.0
idealistsoft/framework-admin Version ~1.0
idealistsoft/framework-rest-api Version ~1.0
idealistsoft/framework-cron Version ~1.0
idealistsoft/framework-email Version ~1.0
idealistsoft/framework-statistics Version ~1.0
robmorgan/phinx Version ~0.3