Skip to content
A custom framework with routing, php-mysql wrapper, view, validation.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cache
cache_url
controllers
core
model
public
tests
vendor
views
.DS_Store
.env.example
.gitignore
LICENSE
README.md
composer.json
composer.lock
phpunit.xml
router.php
router.sublime-project
router.sublime-workspace
test.sql

README.md

minimvc

A custom framework with routing, php-mysql wrapper, view, validation, url caching, pagination. It's just a small "weekend project" but to be a full framework must have more features like upload images, Email(use mail()), Middleware, Sessions, tokens, etc. The Model, Controller, router and env() looks like those from Laravel and the view is the same: Blade template engine. How to use blade here (https://laravel.com/docs/5.1/blade).

#Installation

Cloning or download from this repository or:

mkdir install-dir

cd install-dir

composer require minimvc/minimvc dev-master

cd ..

mv install-dir/vendor/minimvc/minimvc .

rm -rf install-dir

cd minimvc

composer update

cp .env.example .env (Write a .env file like .env.example and put your mysql database credentials if you use mysql).

chmod -R 777 cache

chmod -R 777 cache_url

php -S localhost:8080 -t public

Check the router.php, controllers and models for examples.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.