Skip to content

eliasfernandez/phphinder-project

Repository files navigation

PHPhinder Project

License


What is it?

PHPhinder is an open-source, lightweight, and modular search engine designed for PHP applications. It provides powerful search capabilities with a focus on simplicity, speed, and extensibility.

The PHPhinder bundle connects PHPhinder with Symfony to improve the searchability of Doctrine entities.

Finally this project is a working implementation of the search engine in a real Symfony project. Is an example on how you can use the Search Engine.


Installation

  1. Download the current code
git clone https://github.com/eliasfernandez/phphinder-project.git
  1. Install the packages via composer
composer install
  1. Configure the storage

Under config/packages/phphinder.yaml configure the storage type (dbal or json) and the connection string:

parameters:
  phphinder.storage: 'dbal'
  phphinder.name: 'pgsql://app:[email protected]:5432/app?serverVersion=16&charset=utf8'
  phphinder.auto_sync: true
  1. Load some books:
docker compose up -d
bin/console app:load-books
  1. Start the server. Install the symfony-cli if you didn't install it before.
symfony serve
  1. Go to the search url http://localhost:8000/search

  2. Enjoy!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published