processton/setup
最新稳定版本:0.0.60
Composer 安装命令:
composer require processton/setup
包简介
README 文档
README
Installation
- Make sure you have PHP 8.2 or higher installed.
- Install Composer if you haven't already:
https://getcomposer.org/download/ - Run the following command in your project directory to install dependencies:
composer install processton/setup
- Update your users model to sync users with contacts
use Processton\Contact\Models\Contact; use Processton\AccessControll\Traits\HasAbility; use Processton\Locale\Traits\HasAddress; use Processton\Locale\Traits\HasCountry; use Processton\Contact\Traits\HasContact; use HasCountry, HasAddress, HasAbility, HasContact; protected static function booted() { static::created(function ($model) { Contact::registerUser($model); }); }
- Carefully place your middlewares In routes
use Processton\Org\Middleware\OrgMustBeInstalled; use Processton\Org\Middleware\OrgMustHaveBasicProfile; use Processton\Org\Middleware\OrgMustHaveFinancialProfile; use Processton\Contact\Middleware\UserMustHaveContact; use Processton\Company\Middleware\UserMustHaveCompany;
- Publish config and assets.
- Its not done yet you would need to follow guidelines to integrate this application.
Documentation
Getting Started
- Review the Installation steps above.
- Explore the list of provided namespaces for modular functionality .
- Entities/Models included in this project
- Refer to inline code comments and type hints for usage guidance.
Additional Resources
- Composer Documentation
- PHP Official Documentation
- For further help, contact the project maintainers or open an issue.
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-30