2017 © Pedro Peláez
 

library minimvc

Cuctom mvc framework for very small web apps

image

minimvc/minimvc

Cuctom mvc framework for very small web apps

  • Tuesday, January 2, 2018
  • by TraianAlex
  • Repository
  • 1 Watchers
  • 1 Stars
  • 5 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The 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)., (*1)

Installation

Cloning or download from this repository or:, (*2)

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., (*3)

The Versions