laravel-eloquent-scope-as-select
Stop duplicating your Eloquent query scopes and constraints in PHP. This package lets you re-use your query scopes and constraints by adding them as a subquery.
파일 탐색기
최종 버전 다운로드 (.zip)- dependabot-auto-merge.yml
- run-tests.yml
- FUNDING.yml
- NegativeNullableBooleanCaster.php
- NullableBooleanCaster.php
- ScopeAsSelect.php
- Comment.php
- create_tables.php
- Post.php
- ScopeAsSelectTest.php
- TestCase.php
- Video.php
- .editorconfig
- .gitattributes
- .gitignore
- CHANGELOG.md
- composer.json
- CONTRIBUTING.md
- LICENSE.md
- phpunit.xml.dist
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/protonemedia/laravel-eloquent-scope-as-select
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd laravel-eloquent-scope-as-select
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. PHP (Composer)
쉬움 추천사전 준비물
composer require protonemedia/laravel-eloquent-scope-as-select
이 명령어를 터미널에 그대로 입력해 실행하세요.
php -S localhost:8000 같은 내장 서버로 실행한 뒤 브라우저에서 http://localhost:8000 으로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
