Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ravendb/samples-php-laravel


https://github.com/ravendb/samples-php-laravel

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

RavenDB Laravel Demo Application
====================================

The "_RavenDB Laravel Demo Application_" is a reference application created
to show how to develop _Laravel_ applications using [RavenDB](https://ravendb.net/) database.

![_RavenDB Laravel Demo Application_](doc/todo-manager.png)

## Requirements

- PHP 8.1.0 or higher
- DS PHP extension enabled
- Docker
- usual Laravel application requirements

## Installation

Before you begin, you should ensure that your local machine has PHP and [Composer](https://getcomposer.org/) installed.

```bash
composer create-project ravendb/samples-php-laravel demo-app
```

Make sure that docker is started and running.

Start application containers with:
```
./vendor/bin/sail up
```

## Access the application

Access the application in your browser at the given URL [http://localhost/](http://localhost/).

Note:
- On seeding command default database `Northwind` will be created.
- You can access this database and its data directly through _RavenDB Studio_ on address: [http://localhost:8080](http://localhost:8080)

---