{"id":23270427,"url":"https://github.com/umanari145/slim","last_synced_at":"2025-04-06T09:41:30.285Z","repository":{"id":148908104,"uuid":"340558264","full_name":"umanari145/slim","owner":"umanari145","description":"slim","archived":false,"fork":false,"pushed_at":"2022-02-26T13:35:07.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-12T15:19:10.970Z","etag":null,"topics":["eloquent","monolog","php-di","slim"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umanari145.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-20T04:07:22.000Z","updated_at":"2022-06-12T02:41:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"9aca0040-134e-493b-947b-eb4bf921eb36","html_url":"https://github.com/umanari145/slim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umanari145%2Fslim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umanari145%2Fslim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umanari145%2Fslim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umanari145%2Fslim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umanari145","download_url":"https://codeload.github.com/umanari145/slim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463808,"owners_count":20942940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eloquent","monolog","php-di","slim"],"created_at":"2024-12-19T18:51:37.127Z","updated_at":"2025-04-06T09:41:30.264Z","avatar_url":"https://github.com/umanari145.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slim\n\n## 参考文献\n「PHPマイクロフレームワーク Slim Webアプリケーション開発」\n\n## 参考URL\n\nhttps://qiita.com/erik_t/items/14d0103e343e440f6dc5#container\u003cbr\u003e\nhttps://odan.github.io/2019/11/05/slim4-tutorial.html\n\n## フォルダ構成\n\n- public 公開フォルダ\n    - .htaccess 直接のファイル、ディレクトリ以外を全てindexに遷移させるhtaccess\n    - index.php エントリーポイント\n\n- config 設定情報全般\n    - bootstrap.php public/indexの流れを受けて全ての処理が走る\n    - container.php DIコンテナ\n    - route ルーティング\n        - base.php 基本のルーティング\n    - middlware\n        - AuthMiddleweare.php 認証ミドルウェア    \n        - RenderingMiddleweare.php Rendering後のミドルウェア\n\n- src \n    - Controller コントローラー\n        BaseController 基底になるController\n    \n    - Lib ライブラリ\n        - Person Personディレクトリ\n            - PersonInterface PersonInterface\n            - Man.php 男性クラス\n            - Woman.php 女性クラス\n\n    - Exceptions 例外エラー\n        - CustomErrorRenderer 独自例外エラー\n\n- view TwigのHTMLファイル\n    - exceptions 例外クラス\n        - error403.html 403はこの画面\n        - error404.html 404はこの画面\n        - error500.html 500はこの画面\n\n## ライブラリ\n- monolog PHPのログライブラリ\n- Eloquent Laravelに入っているORマッパー\n- PHP-di PHP用DIコンテナ\n- symfony/var-dumper dump()でエラーをわかりやすく見せるデバッグライブラり\n\n## migration \n\ncolumn定義\n```\nphp ./migrations/column_definetion.php \n```\n\nfaker\n```\nphp ./migrations/sample_data.php \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumanari145%2Fslim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumanari145%2Fslim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumanari145%2Fslim/lists"}