Skip to content
MemCachier + Laravel tutorial using LEMP stack on DigitalOcean
PHP HTML Vue
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.editorconfig
.env.example
.gitattributes
.gitignore
README.md
artisan
composer.json
composer.lock
package.json
phpunit.xml
server.php
webpack.mix.js

README.md

MemCachier and Laravel example (DigitalOcean using one-click LEMP stack)

This is an example Laravel 5.8 task list app that uses a MemCachier cache. It is configured for deployment on DigitalOcean using DigitalOcean's one-click LEMP stack.

Detailed instructions for developing this app are available here.

Running Locally

Run the following commands to get started running this app locally:

$ git clone https://github.com/memcachier/examples-laravel-lemp-do.git
$ cd examples-laravel-lemp-do
$ composer install
$ touch database/database.sqlite
$ php artisan migrate --force
$ echo "APP_KEY=`php artisan key:generate --show`" > .env
$ memcached &  # run a local memcached server instance
$ php artisan serve

Then visit http://localhost:8000 to play with the app.

Note: instead of running a local memcached server you can also create a MemCachier cache and add the MEMCACHIER_* environment variables to .env.

You can’t perform that action at this time.