Laravel Pipeline Code Sample
Introduction
Application that uses pipeline to filter eloquent result.
Installation
- Clone Git Repository
$ git clone git@github.com:vineethkrishnan/laravel-pipeline.git
- Navigate to project root
$ cd salesdock-products
- Run
composer install
- Copy .env.example to .env and fill-out the database details
- After completing application installation run
php artisan key:generate
- Run migration with --seed flag, it will seed the test data
php artisan migrate --seed
- Create a test server by running
php artisan serve
Now got to API End point http://localhost:8000/api/product to view the product listing and start filtering through pipeline