Code Monkey home page Code Monkey logo

framework's Introduction

Simple MVC Framework

Packagist

Software License Total Downloads Dependency Status GitHub license GitHub stars GitHub forks

The framework is now on packagist https://packagist.org/packages/simple-mvc-framework/v2

Install from terminal now by using:

composer create-project simple-mvc-framework/v2 foldername -s dev

The foldername is the desired folder to be created.

#V2.2 #What is Simple MVC Framework?

Simple MVC Framework is a PHP 5.4 MVC system. It's designed to be lightweight and modular, allowing developers to build better and easy to maintain code with PHP.

The base framework comes with a range of helper classes.

Documentation

Full docs & tutorials are available at simplemvcframework.com

##Requirements

The framework requirements are limited

  • Apache Web Server or equivalent with mod rewrite support.
  • PHP 5.4 or greater is required

Although a database is not required, if a database is to be used the system is designed to work with a MySQL database. The framework can be changed to work with another database type.

Installation

  1. Download the framework
  2. Unzip the package.
  3. To run composer, navigate to your project on a terminal/command prompt then run 'composer install' that will update the vendor folder. Or use the vendor folder as is (composer is not required for this step) Upload the framework files to your server. Normally the index.php file will be at your root.
  4. Open the index.php file with a text editor, setup your routes.
  5. Open app/Core/Config.example.php and set your base URL and database credentials (if a database is needed). Set the default theme. When you are done, rename the file to Core/Config.php
  6. Edit .htaccess file and save the base path. (if the framework is installed in a folder the base path should reflect the folder path /path/to/folder/ otherwise a single / will do.

Other Contributions

Have you found this library helpful? Why not take a minute to endorse my hard work on coderwall! Just click the badge below:

endorse

framework's People

Contributors

daveismynamecom avatar volter9 avatar secretd avatar acidvertigo avatar nekomajin avatar andre2 avatar shinjikou avatar dybo avatar viraj-khatavkar avatar halfhope avatar omarelgabry avatar m4rcdev avatar mallak avatar alexkvazos avatar fatihky avatar pixelspezi avatar nikatlas avatar oluwafemikorede avatar dan-sherwood avatar xesau avatar chandrahaslanka avatar jimgwhit avatar sommmen avatar

Watchers

James Cloos avatar Leon S Kenedy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.