Skip to content

lautiamkok/slim-medoo

Repository files navigation

Slim + Medoo

Using Medoo with Slim3.

Read the post here about this repository.

Setup

# Installation
$ composer install

# Production
$ cd [my-app-name]
$ php -S 0.0.0.0:8080 -t public

Then, access the app at http://localhost:8080/

Dependencies

  • Slim - A PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
  • Monolog - Sends your logs to files, sockets, inboxes, databases and various web services.
  • Medoo - The lightest PHP database framework to accelerate development.
  • The League Container (Dependency Injection) - A simple but powerful dependency injection container.
  • ramsey/uuid - A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).

Notes

  1. Operation timed out (IPv6 issues). On linux, it seems that running this command helps to make ipv4 traffic have a higher prio than ipv6, which is a better alternative than disabling ipv6 entirely:

$ sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf"

  1. Run $ sudo composer self-update regularly.

Releases

No releases published

Packages

No packages published

Languages