![](http://akubilab.com/blog/wp-content/uploads/2023/06/image-1024x590.png)
Laravelでlaravel-to-umlを使ってUMLを作成・閲覧する方法です
GitHub - andyabih/laravel-to-uml: Automagically generate UML diagrams of your Laravel code.
Automagically generate UML diagrams of your Laravel code. - GitHub - andyabih/laravel-to-uml: Automagically generate UML...
以下のコマンドでプロジェクトに追加します
composer require andyabih/laravel-to-uml --dev
以下のコマンドでUMLを作成
一度作成したら、自動で追加されていくので今後は参照リンクに移動するだけで見れます。
php artisan vendor:publish --provider="Andyabih\LaravelToUML\LaravelToUMLServiceProvider" --tag="config"
閲覧方法
ブラウザに以下のURLを入力すると表示されます
http://127.0.0.1:8000/uml
![](http://akubilab.com/blog/wp-content/uploads/2023/06/image-1024x590.png)
コメント