Download the PHP package jasonweicn/miniadmin without Composer

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

MiniAdmin

MiniAdmin 是基于 MiniFramework 和 Layui 开发的一套后台基础模板。

安装部署

Latest Stable Version Total Downloads

通过 Composer 可以快速安装部署一个基于 MiniAdmin 的项目,步骤如下:

1.安装 Composer

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

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

Windows 和 MacOS 系统的开发者可前往 Composer 的官网 https://getcomposer.org/ 参考官方文档进行安装。

2.通过 Composer 安装 MiniAdmin

在命令行执行如下命令:

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

3.配置

3.1.配置入口文件

找到 myapp/backend/Public/index.php 文件,这是项目后台部分的入口文件,可在其中定义所需的配置常量,例如:

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

3.2.配置数据库

找到 myapp/backend/Config/database.php 文件,这是数据库配置文件,可在其中定义所需的数据库连接信息,例如:

上述数据连接信息可根据实际情况进行修改。

3.3.导入数据

请将 miniadmin.sql 导入你的数据库中。

默认的登录用户名为:admin,密码为:123456

3.4.配置站点

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

4.运行

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

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

如能正常显示 MiniAdmin 的登录界面,那么恭喜你,一个基于 MiniAdmin 的项目已经运行起来了。

参与开发

参与开发的流程:

关于作者

作者:Jason Wei

信箱:[email protected]

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

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

开源协议

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

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

相关链接

MiniFramework:https://github.com/jasonweicn/miniframework

Layui:https://www.layui.com/


All versions of miniadmin with dependencies

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

Loading the files please wait ....