Download the PHP package filarichard/mvc_micro_framework without Composer

On this page you can find all versions of the php package filarichard/mvc_micro_framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mvc_micro_framework

mvc_micro_framework

Simple MVC Micro Framework

mvc_micro_framework is simple and lightweight PHP micro framework, that allows you easy and fast build of MVC applications. It's simple and extensible!

Minimum requires

mvc_micro_framework requires PHP 7.1 or grater.

Installation

  1. Download

With Composer:
composer require filarichard/mvc_micro_framework

Without Composer:
Download files and extract them directly to web directory.

  1. Create App and call run function

  2. Create config.json file in /config directory

Possible config values are:

Routing

For fully working routing, use followed directory:

For Router setup, you can use on of the following choices:

  1. Define routes in config file

All routes, that aren't included in modules, create in config.json file.
All routes, that are in modules, create in modulname.config.json files.

Structure of route definition:

  1. Define own router with all routes

Template Engine

mvc_micro_framework have built-in Template Engine. Just follow these few steps:

  1. Set template

  2. Assign variables

  3. Use those variables in HTML code

  4. Render View

Function render can take second parameter that define if path is full or relative to /src/views.

Event Dispatcher

With following steps, you can use our Event Dispatcher:

  1. Create new Dispatcher

  2. Create new Event

  3. Attach him to Listener

Note: Listener can be any Callable object.

  1. Dispatch Event

You can also remove Event

or stop event propagation

Third Parties Components

mvc_micro_framework support following components from third parties:

License

Flight is released under the MIT license.


All versions of mvc_micro_framework with dependencies

PHP Build Version
Package Version
Requires illuminate/database Version ^5.8
pimple/pimple Version ^3.0
monolog/monolog Version ^1.24
symfony/http-foundation Version ^4.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package filarichard/mvc_micro_framework contains the following files

Loading the files please wait ....