https://github.com/clear-code/pgroonga-example-laravel
Example application of Laravel 5.4 with PGroonga
https://github.com/clear-code/pgroonga-example-laravel
Last synced: 4 months ago
JSON representation
Example application of Laravel 5.4 with PGroonga
- Host: GitHub
- URL: https://github.com/clear-code/pgroonga-example-laravel
- Owner: clear-code
- License: gpl-3.0
- Created: 2017-06-26T03:01:10.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2026-01-22T02:24:08.000Z (5 months ago)
- Last Synced: 2026-01-22T16:01:41.371Z (5 months ago)
- Language: PHP
- Size: 1.61 MB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pgroonga-example-laravel
Example application of Laravel 5.4 with PGroonga
## How to setup
Prepare homestead environment before all.
```
% vagrant ssh
vagrant@homestead:~$ git clone https://github.com/clear-code/pgroonga-example-laravel.git Blog
vagrant@homestead:~$ cd Blog
vagrant@homestead:~/Blog$ composer install
vagrant@homestead:~/Blog$ php artisan migrate
vagrant@homestead:~/Blog$ php artisan db:seed
```
## How to try fulltext search with PGroonga
Install PGroonga at first.
```
vagrant@homestead:~$ sudo add-apt-repository -y universe
vagrant@homestead:~$ sudo add-apt-repository -y ppa:groonga/ppa
vagrant@homestead:~$ sudo apt-get update
vagrant@homestead:~$ sudo apt-get install -y -V postgresql-9.5-pgroonga
```
Then switch to the `search-with-pgroonga` branch.
```
vagrant@homestead:~/Blog$ git checkout search-with-pgroonga
vagrant@homestead:~/Blog$ php artisan migrate
```