定制 manous/l5-swagger-auth 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

manous/l5-swagger-auth

最新稳定版本:v1.0.3

Composer 安装命令:

composer require manous/l5-swagger-auth

包简介

Package d'authentification pour l5-swagger avec système de login sécurisé

README 文档

README

Package Laravel pour ajouter un système d'authentification sécurisé à l5-swagger.

Installation

1. Installer le package

composer require manous/l5-swagger-auth

2. Publier la configuration

php artisan vendor:publish --tag=manous-swagger-auth-config

3. Publier la vue override

php artisan vendor:publish --tag=manous-swagger-auth-override-view --force 

Configuration rapide

Ajoutez dans votre .env :

SWAGGER_USERNAME=votre_username
SWAGGER_PASSWORD=votre_password

C'est tout ! Votre documentation Swagger est maintenant protégée.

Fonctionnalités

  • ✅ Authentification par identifiants
  • ✅ Interface de connexion moderne
  • ✅ Bouton de déconnexion intégré
  • ✅ Compatible Laravel 9, 10 et 11

Personnalisation (optionnel)

Modifiez config/swagger-auth.php pour personnaliser :

  • Les routes d'authentification
  • Le style du bouton de déconnexion
  • La redirection après authentification

Sécurité

⚠️ Recommandations importantes :

  • Utilisez des mots de passe forts (minimum 12 caractères, mélange de lettres, chiffres et symboles)
  • Utilisation de HTTPS uniquement

Licence

MIT

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-10