Laravel Key Generate Not Working
Laravel Key Generate Not Working 3,1/5 5222 reviews

Aug 24, 2017 Running php artisan key:generate in a Laravel project where the.env file does not contain an APPKEY= line results in the following output: Application key base64:KEYHERE= set successfully. However, the key is not written to the.env file, so the status message is incorrect. 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!

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 up New issue

Have 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

  • Laravel Version: 5.5.*
  • PHP Version: 7.1.9
  • Database Driver & Version: MySQL 5.7

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]
No application encryption key has been specified.

Steps To Reproduce:

  • composer create-project --prefer-dist laravel/laravel MyProject
  • Configure app.php, .env, etc.
  • Develop
  • Control Git

Now simulating another programmer on my team, he would do the clone and execute the commands:

  • git clone
  • copy env.example to .env
  • composer install
  • php artisan key:generate => ERROR !!

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.

Laravel key generate not working on mac

commented Oct 27, 2017

Laravel Key Generate Not Working On Windows 10

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.
What to do ?

commented Oct 27, 2017

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.

Aug 17, 2017  Call Of Duty 4 Modern Warfare Keygen is here and it is FREE and 100% working and legit. With Call Of Duty 4 Modern Warfare Keygen you can Get a cd-key which you can activate Call Of Duty 4 Modern Warfare. May 23, 2018  Get the Call of Duty: Black Ops 4 Generator! Now you can have everything for free! Thanks to this fantastic Call of Duty: Black Ops 4 Generator you can generate different Keys for you and your friends!The only Call of Duty: Black Ops 4 code generator that works.No download required.We. Call of duty 4 free download. Jul 18, 2013  Once you generate cod 4 key with this key generator you become an owner of it. It means that anyone else will be able to generate exact the same Call Of Duty 4 cd key again. We just simply delete it from our database. So as you can see, with our keygen you can get Call Of Duty 4 serial for free and it is very simple. Download it and enjoy the game! Mar 27, 2019  You can understand how to get free serial license number activation code for COD black ops 4 game using Call Of Duty Black Ops 4 CD Key Generator. Basically you will get full crack game key that you’re going to redeem in your Microsoft Windows account or on your PS4 or Xbox one account. Call Of Duty MW4 License Key Generator Use: There is no difficult to use this Call Of Duty 4 Modern Warfare CD Key Generator. You have to get this game keygen from our site and install it on your system. Now you need to select your system where you want play this game such xbox 360, pc.

So I conclude then that my problem is solved and open to you who may be going through it.

Laravel Key Generate Not Working Iphone

closed this Oct 27, 2017
This issue was closed.

Laravel App Key

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment