krgm.so-manager-dev.com/README.md

4.4 KiB
Raw Blame History

Laravel Logo

Build Status Total Downloads Latest Stable Version License

プロジェクト概要So-Manager / Laravel12

本プロジェクトは Laravel5 旧コードからの移行を進めつつ、新規実装は Laravel12 の規約に沿って整理しています。旧Blade互換のため Legacy レイヤを用意していますが、新規実装で Legacy を直接参照することは禁止です(互換専用)。

ディレクトリと責務(要点)

  • app/Models: 正式なEloquentモデル1テーブル1モデル。例: Park, PriceA, Ptype, RegularContract
  • app/Legacy: 旧モデル互換Blade互換専用。例: Legacy\User, Legacy\OperatorQue
  • app/Services: 画面用ユースケースや共通処理。例: UsingStatusService, UserService, CsvService
  • app/Support: 純技術ユーティリティ(ビジネス非依存)。例: Csv, Files
  • app/Enums: 共通定数は Enum で表現(段階的移行)。
  • app/Providers/LegacyServiceProvider: 旧FQCN互換class_aliasを提供。

実装ルール(重要)

  • 新規コードは正式モデル+サービス経由で実装し、Legacy は参照しない
  • Controller は薄く、複雑な処理は app/Services に集約する
  • 旧Bladeは当面 Legacy 互換で動作可能(段階的に置換)

詳細なチームルールは docs/TEAM_GUIDE_JA.md を参照してください。

開発補助

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

Composer が未インストールの環境では、php composer.phar dump-autoload を利用してオートロードを更新してください。

If you don't feel like reading, Laracasts can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Partners program.

Premium Partners

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.