martanto/magma-trait
最新稳定版本:v1.0.3
Composer 安装命令:
composer require martanto/magma-trait
包简介
Trait and service generator for MAGMA Indonesia app
README 文档
README
This package is used to generate trait and service for MAGMA Indonesia
Installation
You can install the package via composer:
composer require martanto/magma-trait
You can publish the config file with:
php artisan vendor:publish --tag="magma-trait-config"
This is the contents of the published config file:
return [ /* |-------------------------------------------------------------------------- | User Providers |-------------------------------------------------------------------------- | | All authentication drivers have a user provider. This defines how the | users are actually retrieved out of your database or other storage | mechanisms used by this application to persist your user's data. | */ 'model' => config('auth.providers.users.model'), /* |-------------------------------------------------------------------------- | MAGMA API url |-------------------------------------------------------------------------- | | This one define where the MAGMA API url located | */ 'api_url' => 'https://magma.esdm.go.id/api', ];
Usage
use AuthenticatesUsers; use ByteConverter; use ColorPalettesTrait; use GenerateSlug; use GenerateUUID; use JsonFromFileTrait; use LoginWithMagma; use ThrottlesLogins;
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-03