{"action":"closed","issue":{"url":"https://api.github.com/repos/auth0/auth0-PHP/issues/88","repository_url":"https://api.github.com/repos/auth0/auth0-PHP","labels_url":"https://api.github.com/repos/auth0/auth0-PHP/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/auth0/auth0-PHP/issues/88/comments","events_url":"https://api.github.com/repos/auth0/auth0-PHP/issues/88/events","html_url":"https://github.com/auth0/auth0-PHP/issues/88","id":160981482,"number":88,"title":"More descriptive readme file with instructions about how to download dependencies using composeri","user":{"login":"fiannolo","id":18537446,"avatar_url":"https://avatars.githubusercontent.com/u/18537446?v=3","gravatar_id":"","url":"https://api.github.com/users/fiannolo","html_url":"https://github.com/fiannolo","followers_url":"https://api.github.com/users/fiannolo/followers","following_url":"https://api.github.com/users/fiannolo/following{/other_user}","gists_url":"https://api.github.com/users/fiannolo/gists{/gist_id}","starred_url":"https://api.github.com/users/fiannolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiannolo/subscriptions","organizations_url":"https://api.github.com/users/fiannolo/orgs","repos_url":"https://api.github.com/users/fiannolo/repos","events_url":"https://api.github.com/users/fiannolo/events{/privacy}","received_events_url":"https://api.github.com/users/fiannolo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-17T21:50:44Z","updated_at":"2016-06-21T13:14:01Z","closed_at":"2016-06-21T13:14:00Z","body":"After downloading this seed project, the readme file doesn't specify the path to get all the dependencies needed for the project in order to work properly. The existing text in the readme file in the 'Running this example' section is:\r\n\r\n#Running the example\r\nIn order to run the example you need to have `composer` and `php` installed.\r\n\r\nYou also need to set the ClientSecret, ClientId, Domain and Callback URL for your Auth0 app as environment variables with the following names respectively: `AUTH0_CLIENT_SECRET`, `AUTH0_CLIENT_ID`, `AUTH0_DOMAIN` and `AUTH0_CALLBACK_URL`.\r\n\r\nFor that, if you just create a file named `.env` in the directory and set the values like the following, the app will just work:\r\n\r\n````bash\r\n# .env file\r\nAUTH0_CLIENT_SECRET=myCoolSecret\r\nAUTH0_CLIENT_ID=myCoolClientId\r\nAUTH0_DOMAIN=yourDomain.auth0.com\r\nAUTH0_CALLBACK_URL=http://your.url/\r\n````\r\n\r\nOnce you've set those 4 environment variables, just run the following to get the app started:\r\n\r\n````bash\r\ncomposer install\r\nphp -S localhost:3000\r\n````\r\n\r\nSo I suggest to add the information existing in the tutorial which specify after the instalation of composer, to run the following command:\r\n````\r\nTo install dependencies, run the following\r\n\r\ncomposer require auth0/auth0-php:\"~3.0\"\r\n````\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"glena"}}