1
Personal I am using Laravel 5.2 and went to perform an authentication, but when I run the command php artisan make:auth
works perfectly, but in practice does not... When I click on login or Register give me this error :
No supported Encrypter found. The Cipher and / or key length are invalid.
How can I fix it? Composer.json :
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.2.*"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~4.0",
"symfony/css-selector": "2.8.*|3.0.*",
"symfony/dom-crawler": "2.8.*|3.0.*"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"classmap": [
"tests/TestCase.php"
]
},
"scripts": {
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"pre-update-cmd": [
"php artisan clear-compiled"
],
"post-update-cmd": [
"php artisan optimize"
]
},
"config": {
"preferred-install": "dist"
}
}
friend installed by Composer, is mac and has permission ... but my file . env neither the .env.exemple exists ,,,,
– Augusto Furlan
strange that no project of mine has .env... I will post my Composer.json
– Augusto Furlan
Friend sorry I did not understand the commands... I just created another project for testing and also came without the .env.exemple .... Ondep bone tidy ?
– Augusto Furlan
I followed the tuturial in the own site of Aravel ... I did everything in my root folder ... to create the project I used Composer create-project Aravel/Aravel
– Augusto Furlan
within the Composer folder there are several files, cache, vendor, Composer .joson... some of them are ?
– Augusto Furlan
I ran Curl and everything .... I gave the command as said ...now came . env, I will test auth
– Augusto Furlan
@Guilhermenascimento worked also ... Pro Favor creates an answer to give as resolved ....
– Augusto Furlan
@Guilhermenascimento that good ... Thank you very much ....
– Augusto Furlan