Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kerneldos/yii2-admin-modules
https://github.com/kerneldos/yii2-admin-modules
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kerneldos/yii2-admin-modules
- Owner: kerneldos
- License: mit
- Created: 2020-11-16T10:51:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-14T15:03:43.000Z (over 3 years ago)
- Last Synced: 2024-05-06T06:02:44.503Z (8 months ago)
- Language: PHP
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# yii2-admin-modules
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Total Downloads][ico-downloads]][link-downloads]## Install
Via [composer](http://getcomposer.org/download/)
``` bash
$ composer require --prefer-dist kerneldos/yii2-admin-modules
```or add
```
"kerneldos/yii2-admin-modules": "~1.0"
```
to the require section of your `composer.json` file.### Apply migrations to create required tables
``` bash
yii migrate --migrationPath=@kerneldos/extmodule/migrations --interactive=0
```## Usage
Add the module to your main config file for manual config, ex:``` php
'modules' => [
//...
'admin' => [
'class' => 'kerneldos\extmodule\Module','layoutPath' => '@app/views/layouts',
'layout' => 'main','as Access' => [
'class' => 'yii\filters\AccessControl',
'rules' => [
[
'allow' => true,
'roles' => ['admin'],
],
],
],
],
//...
],
```## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Testing
``` bash
$ composer test
```## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) for details.
## Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [kerneldos][link-author]
- [All Contributors][link-contributors]## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
[ico-version]: https://img.shields.io/packagist/v/kerneldos/yii2-admin-modules.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/kerneldos/yii2-admin-modules/master.svg?style=flat-square
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/kerneldos/yii2-admin-modules.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/kerneldos/yii2-admin-modules.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/kerneldos/yii2-admin-modules.svg?style=flat-square[link-packagist]: https://packagist.org/packages/kerneldos/yii2-admin-modules
[link-travis]: https://travis-ci.org/kerneldos/yii2-admin-modules
[link-scrutinizer]: https://scrutinizer-ci.com/g/kerneldos/yii2-admin-modules/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/kerneldos/yii2-admin-modules
[link-downloads]: https://packagist.org/packages/kerneldos/yii2-admin-modules
[link-author]: https://github.com/kerneldos
[link-contributors]: ../../contributors