Download the PHP package jasonweicn/miniframework without Composer

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

MiniFramework

MiniFramework 是一款遵循 Apache2 开源协议发布的,支持 MVC 和 RESTful 的超轻量级 PHP 开发框架。 MiniFramework 能够帮助开发者用最小的学习成本快速构建 Web 应用,在满足开发者最基础的分层开发、数据库和缓存访问等少量功能基础上,做到尽可能精简,以帮助您的应用基于框架高效运行。

快速入门

MiniFramework 快速入门学习文档:http://www.miniframework.com/docv2/guide/

安装部署

Latest Stable Version Total Downloads

通过 Composer 可以快速安装部署一个基于 MiniFramework 的基础应用模板,开发者可以通过这个模板快速开始构建自己的 Web 应用。

1.安装 Composer

如果已经安装好了 Composer 可跳过本节内容。

在 Linux 系统中,全局安装 Composer 的命令如下:

Windows 和 MacOS 系统的开发者可前往 Composer 的官网 https://getcomposer.org/ 下载对应的安装包进行安装。

2.通过 Composer 安装 MiniFramework 基础应用模板

在命令行执行如下命令:

上述命令结尾的 myapp 为要创建的项目目录,可根据实际情况修改。

3.配置应用

找到 myapp/Public/index.php 文件,这是应用的入口文件,可在其中定义所需的配置常量,例如:

上述代码已经包含在文件中了,最后两行是引入 MiniFramework 框架,通常不需要进行修改即可使用。

4.配置站点

请将 myapp/Public 目录配置到 Apache 或 Nginx 作为站点的根目录。

5.运行

完成所有配置后,可尝试通过浏览器访问,例如:

http://你的域名/index.php

如页面显示“Hello World!”内容,那么恭喜你,一个基于 MiniFramework 的应用已经运行起来了。

参与开发

欢迎所有人参与到 MiniFramework 的项目中,不论是为 MiniFramework 添加新特性,还是发现了 Bug 进行修正,MiniFramework 向所有人开放!

参与开发的流程:

QQ交流群:745683429 (入群请备注:MF)

关于作者

作者:魏杰(Jason)

信箱:[email protected]

博客:http://www.sunbloger.com

微博:https://weibo.com/jasonweicn

开源协议

MiniFramework 遵循 Apache License Version 2.0 开源协议发布。

协议详细内容请浏览项目目录中的 LICENSE 文件。


All versions of miniframework with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.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 jasonweicn/miniframework contains the following files

Loading the files please wait ....