Skip to content
Knp University Symfony REST Tutorial, adapted to Symfony 3
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
bin
src
var
web
.gitignore
1024
README.md
composer.json
composer.lock
phpunit.xml.dist
testing.php

README.md

symfony3-rest

A Symfony project created on December 26, 2016, 5:25 pm.

This is symfony3 version of KNP Symfony Rest Course

Set up

composer install

Enter a secure passphrase when prompted for jwt_key_pass_phrase above.

## Create authentication keys

openssl genrsa -out var/jwt/private.pem -aes256 4096

Repeat passphrase when generating key above.

openssl rsa -pubout -in var/jwt/private.pem -out var/jwt/public.pem

Set up database

php bin/console doctrine:schema:create --env=test

Start server

php bin/console server:run --env=test

Run tests

vendor/bin/phpunit src/AppBundle/Tests
You can’t perform that action at this time.