adminaut / adminaut
Adminaut 是一个开源平台,用于快速开发 PHP 应用程序,并自动构建管理后端。它建立在 PHP、Zend Framework、Doctrine ORM 等框架之上。
Requires
- php: ^5.6 || ^7.0
- almasaeed2010/adminlte: ^2.3
- doctrine/doctrine-orm-module: ~1.1
- gettext/languages: ^2.3
- league/flysystem: ~1.0
- massimo-filippi/mail-module: ^1.0
- massimo-filippi/slack-module: ^1.0
- massimo-filippi/wideimage: ^2.0@dev
- neilime/zf2-twb-bundle: ^3.1
- petercoles/multilingual-country-list: ^1.2
- phpoffice/phpspreadsheet: ^1.18
- zendframework/zend-authentication: ^2.5
- zendframework/zend-code: ^3.1
- zendframework/zend-crypt: ^3.2
- zendframework/zend-file: ^2.7
- zendframework/zend-filter: ^2.7
- zendframework/zend-form: ^2.10
- zendframework/zend-i18n: ^2.7
- zendframework/zend-json: ^3.0
- zendframework/zend-mail: ^2.8
- zendframework/zend-mvc: ^3.0.1
- zendframework/zend-mvc-plugin-flashmessenger: ^1.0.0
- zendframework/zend-navigation: ^2.8
- zendframework/zend-paginator: ^2.7
- zendframework/zend-permissions-acl: ^2.6
- zendframework/zend-session: ^2.8
- zendframework/zend-uri: ^2.5
- dev-master / 1.0.x-dev
- 0.45.5
- 0.45.4
- 0.45.3
- 0.45.2
- 0.45.1
- 0.45.0
- 0.44.3
- 0.44.2
- 0.44.1
- 0.44.0
- 0.43.0
- 0.0.42
- 0.0.41
- 0.0.40
- 0.0.39
- 0.0.38
- 0.0.37
- 0.0.36
- 0.0.35
- 0.0.34
- 0.0.33
- 0.0.32
- 0.0.31
- 0.0.30
- 0.0.29
- 0.0.28
- 0.0.27
- 0.0.26
- 0.0.25
- 0.0.24
- 0.0.23
- 0.0.22
- 0.0.21
- 0.0.20
- 0.0.19
- 0.0.18
- 0.0.17
- 0.0.16
- 0.0.15
- 0.0.14
- 0.0.13
- 0.0.12
- 0.0.11
- 0.0.10
- 0.0.9
- 0.0.8
- 0.0.7
- 0.0.6
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- v0.0.1-alpha
- dev-develop
- dev-l10n_develop
- dev-feature/unique-validation
- dev-hotfix/multireference
- dev-feature/#27365
- dev-feature/#27407
- dev-feature/filter
- dev-support/zf2
- dev-feature/merging-to-zf3
This package is auto-updated.
Last update: 2024-09-16 14:11:04 UTC
README
描述
Adminaut 是一个开源平台,用于快速开发 PHP 应用程序,并自动构建管理后端。
它建立在 PHP、Zend Framework、Doctrine ORM 等框架之上。
安装
1. 使用 Composer 安装
使用 Composer 安装最新稳定版本
composer require adminaut/adminaut
或使用 Composer 安装最新开发版本
composer require adminaut/adminaut:dev-develop
或手动安装,通过在 composer.json
文件的 require
对象中添加值 "adminaut/adminaut": "dev-master"
并运行命令
composer install
2. 在您的应用程序中启用模块
Composer 应该在安装过程中自动启用 Adminaut
模块和其他必需模块。
如果它没有这样做,您可以通过向 config/modules.config.php
文件中的数组添加值来手动启用模块。最后,它应该看起来像下面的 PHP 数组。
<?php // config/modules.config.php return [ 'Zend\Mail', 'Zend\Router', 'Zend\Validator', 'DoctrineModule', // Add this line, before Adminaut module. 'DoctrineORMModule', // Add this line, before Adminaut module. 'TwbBundle', // Add this line, before Adminaut module. 'Adminaut', // Add this line, before Application module. 'Application', ];
3. 设置您的配置
查看文件 vendor/adminaut/adminaut/config-dist/adminaut.global.php.dist
和 vendor/adminaut/adminaut/config-dist/adminaut.local.php.dist
,并将其内容复制到您的应用程序配置中。
4. 设置 Doctrine 连接
https://github.com/doctrine/DoctrineORMModule.
5. 创建/更新数据库
您需要创建 Adminaut 实体。
如果您还没有数据库,运行命令
vendor/bin/doctrine-module orm:schema-tool:create
如果您已经有了一些数据库和一些数据,使用命令检查将要更新什么
vendor/bin/doctrine-module orm:schema-tool:update --dump-sql
如果一切正常,然后运行命令
vendor/bin/doctrine-module orm:schema-tool:update --force
链接
浏览器支持(管理员)
- IE 9+
- Firefox(最新版)
- Chrome(最新版)
- Safari(最新版)
- Opera(最新版)
鸣谢
Adminaut 是使用以下工具构建的
许可证
Adminaut 是 Moviatic s.r.o. 的开源项目,受 MIT 许可证的许可。Moviatic s.r.o. 保留更改未来版本许可证的权利。