baberuka/profilehub
Composer 安装命令:
composer require baberuka/profilehub
包简介
A Laravel package for managing and expanding user profiles. Laravel ProfileHub provides a robust and flexible foundation for managing user profiles within your Laravel applications. Built with best practices, it offers essential tools for creating, reading, updating, and deleting user profile data,
README 文档
README
A Laravel package to manage user profiles.
Installation
composer require baberuka/profilehub
If the previous command doesn't work, try specifying the parameters more explicitly.
composer require "baberuka/profilehub:dev-main" --no-interaction --prefer-dist
Register the Service Provider (if not auto-discovered)
If you're not using Laravel auto-discovery, register the provider manually in config/app.php. Add the ProfileHubServiceProvider calls to the providers section.
'providers' => [
BabeRuka\ProfileHub\ProfileHubServiceProvider::class,
],
Publishing
php artisan vendor:publish --tag=profilehub-config php artisan vendor:publish --tag=profilehub-views php artisan vendor:publish --tag=profilehub-assets php artisan vendor:publish --tag=profilehub-seeders
Run the Migrations
php artisan migrate --path=vendor/baberuka/profilehub/database/migrations/2025_04_23_111700_create_pages_table.php --force php artisan profilehub:migrate
Run the seeders
php artisan db:seed --class="Database\\Seeders\\DatabaseSeeder" --force
Usage
Visit /profilehub/index to check if it's working.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-12