Download the PHP package andreimosman/mvczitto without Composer

On this page you can find all versions of the php package andreimosman/mvczitto. 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 mvczitto

MVCzitto

Latest Stable Version Minimum PHP Version

MVCzitto is a framework for PHP that allows you to build web applications in a simple and easy way.

Instead of traditional OO Based MVC, we decided to implement MVC using File System Routing.

The idea behing this is to write code using PHP as pure as possible, but providing some patterns and organization.

Two things motivated me to do it:

HOWTO

Add via composer

Please refer to the Composer website for instructions on how to install it on your platform if you don't have it. Alternatively, you may also download Frameworkitto from the releases page and export it to your project's main folder.

Docker development environment

At the folder docker-dev-environment you can call firstrun.sh to create the development environment using docker compose.

Please refer to the Docker website for instructions on how to install it on your platform if you don't have it.

Getting Started with MVCzitto

The app folder contain more instructions and also few samples

Routing verbs

The verb set by default is GET but you can specify the verb at the begining of the filename inside @(), such as @(post)new.php

Authentication

The folders authenticated and open means that the route is valid on user is authenticated or not respectively.

The super simple authentication schema is:

By doing this will return true;

You can logout by calling

Check app/controllers/open/user/@(post)login.php and app/controllers/authenticated/user/logout.php

File system models

To access then on controllers you can just call $models->nameOfTheController. Check app/controllers/open/user/@(post)login.php:

It executes the snippet located at app/models/users/read.php.

The main index.php

app/index.php contains the entry point of the application and the dependency injector.

File System CLI Scripts

In the same way controllers and models works, you can create CLI commands, accessible through ./app/cli.

A few dummy examples where added to app:

Usage:


All versions of mvczitto with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4.0
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 andreimosman/mvczitto contains the following files

Loading the files please wait ...