An open API service indexing awesome lists of open source software.

https://github.com/manticoresoftware/php-catalog-demo

Demo of a catalog app built with Manticore PHP client
https://github.com/manticoresoftware/php-catalog-demo

Last synced: about 1 month ago
JSON representation

Demo of a catalog app built with Manticore PHP client

Awesome Lists containing this project

README

          

# Demo: Catalog App Built With Manticore PHP Client

**Publicly available demo - [catalog.manticoresearch.com](https://catalog.manticoresearch.com/)**

![Live search in demo](./live_search.gif)

[Blogpost about this project](https://manticoresearch.com/blog/manticore-php-demo/)

## Docker installation (recommended)

```bash
cd
docker compose up -d

cp app/.env.example app/.env
cd app
composer install
php bin/bootstrap-demo.php
php -S localhost:8081 -t public
```

This repository's `compose.yaml` starts the Manticore service in Docker.
The PHP app itself is run locally via the built-in PHP server.

`php bin/bootstrap-demo.php` recreates the table and loads demo records from fixtures.

### Optional: Makefile shortcuts

If you prefer shorter commands, this repository also provides `Makefile` targets:

```bash
cd
make up
make install
make bootstrap
make serve
```

## Running the demo locally

To run the demo, open this URL in your browser:

- http://localhost:8081/