eloquent-builder
This package provides an advanced filter for Laravel model based on incoming requets.
File Explorer
Download Latest Version (.zip)- php-cs-fixer.yml
- run-tests.yml
- eloquent-builder.php
- PostFactory.php
- UserFactory.php
- FiltersDatesTrait.php
- FiltersNumbersTrait.php
- SortableTrait.php
- filter.stub
- FilterMakeCommand.php
- PublishCommand.php
- FilterException.php
- Pipeline.php
- AuthorizeWhenResolved.php
- Filter.php
- AuthorizeWhenResolvedTrait.php
- FilterConventionParser.php
- FilterResolverTrait.php
- ValidatesConventionValues.php
- EloquentBuilder.php
- Facade.php
- ServiceProvider.php
- 2018_9_31_000000_create_users_test_table.php
- 2019_10_01_000000_create_posts_test_table.php
- AgeMoreThanFilter.php
- AuthenticatedAtFilter.php
- BirthDateFilter.php
- GenderFilter.php
- InvalidImplementedFilter.php
- NameFilter.php
- PublishedPostFilter.php
- ScoreFilter.php
- SortByFilter.php
- StatusFilter.php
- Post.php
- User.php
- IsPublishedFilter.php
- AgeMoreThanFilter.php
- AuthorizingFilterTest.php
- CollectionMacrosTest.php
- CustomFilterTest.php
- DateTimeFilterTest.php
- EloquentBuilderTest.php
- FilterMakeCommandTest.php
- NumberFilterTest.php
- SortableFilterTest.php
- TestCase.php
- .gitattributes
- .gitignore
- .php-cs-fixer.dist
- bump-version.sh
- CHANGELOG.md
- composer.json
- CONTRIBUTING.md
- cover.jpg
- LICENSE
- phpunit.xml
- README.md
- VERSION
π Installation Guide
1. Get the code
git clone https://github.com/mohammad-fouladgar/eloquent-builder
Downloads the entire project code from GitHub to your computer.
cd eloquent-builder
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
composer require mohammad-fouladgar/eloquent-builder
Type this command into your terminal and run it.
composer test
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
