Download the PHP package phpinside/mymvc without Composer

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

mymvc 基于Composer的轻量级PHP应用框架

基本使用

  1. composer create-project phpinside/mymvc mymvc
  2. 编辑 Apache下的httpd-vhost.conf文件,添加如下内容:

    注意以下的目录改成自己对应的本地目录!

  1. 启动Apache和MySQL
  2. 在MySQL中创建一个数据库mydb,用户名:mymvc, 密码:123456。 当然了,如果本地已经有能用的数据库,那么可以去修改config/base.php中的配置即可。

    注意:mymvc这个用户需要有全部的数据库操作权限!

  3. 访问:http://my.mvc.com/home/migrate 执行初始化,生成todo数据表。
  4. 访问:http://my.mvc.com/todo/index 可以执行CRUD的各种操作。

补充

  1. 系统自带默认路由,一般情况不需要去配置路由,自定义路由请查看config目录下的routes.php的示例。 配置参考 http://altorouter.com/usage/mapping-routes.html
  2. 模版引擎参考 https://latte.nette.org/
  3. ORM的使用参考 https://github.com/lox/pheasant

All versions of mymvc with dependencies

PHP Build Version
Package Version
Requires altorouter/altorouter Version ^1.2
latte/latte Version ^2.4
lox/pheasant Version dev-master
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 phpinside/mymvc contains the following files

Loading the files please wait ....