Laravel Key Generate Not Working
The most concise screencasts for the working developer, updated daily. There's no shortage of content at Laracasts. In fact, you could watch nonstop for days upon days, and still not see everything!
Feb 20, 2015 Dismiss Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. How to generate.env file for laravel? The questions asks how to generate not. Don't forget to When you use the php artisan key:generate it will generate the.
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented Oct 26, 2017
Description:I'm using the GIT version control for my Laravel project. The problem is when I clone the repository, run the composer install, create the .env and run php artisan key: generate the following error is displayed: [RuntimeException] Steps To Reproduce:
Now simulating another programmer on my team, he would do the clone and execute the commands:
|
commented Oct 26, 2017
It has a detail, if I put any other key manually in the .env (such as base64: JYY8rk4 + k1tXELhyZ68BfpuVfoBhrHdXf5vPxyS7zAM =) and run php artisan key: generate, it works. If it does not work, it will not work. |
commented Oct 27, 2017
I found someone with the same problem as mine (Link). In my case I am encrypting the session. I did the test by setting it to false, the command did not work. I did the test by commenting on my Macros code, it worked perfectly. |
commented Oct 27, 2017
Laravel App Key
I was able to solve the problem. There should be some BUG when using Form::macro() in a Middleware. I did some more research and discovered that there is also the Html::macro(). By swapping these tags in the macros I created, the problem in generating the key is gone. So I conclude then that my problem is solved and open to you who may be going through it. |