A sample Laravel 5 app.
Switch branches/tags
Nothing to show
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.
.heroku
app
bootstrap
config
database
public
resources
storage
tests
.editorconfig
.gitattributes
.gitignore
.travis.yml
Procfile
artisan
composer.json
composer.lock
nginx_app.conf
phpunit.xml
readme.md

readme.md

laravel 5 url shortener Build Status

A sample laravel 5 app.

.env

create a .env file for configuration:

DATABASE_URL=postgres://homestead:secret@localhost/homestead

APP_ENV=local
APP_DEBUG=true
APP_KEY=random-32-strings-key

TITLE=url shortener
REDIRECT=https://example.com/

CACHE_DRIVER=file
SESSION_DRIVER=file

testing

Tests are in /tests/. Run them with vendor/bin/phpunit.

panel and authentication

admin panel: /panel

login: /auth/login

register: /auth/register