256 Kilobytes

Answers in Frameworks | By Some Guy

Published 4 months agoSun, 13 Jan 2019 04:45:47 -0800

73 views, 0 RAMs, and 2 comments

Tags: Laravel

Profile Photo - Some Guy Some Guy
🗎 3224 🗨 41 🐏 31
Subscriber

So for my new job, I just started trying to learn Laravel, but there are lots of things I'm not getting right. Like what does "PHP Artisan dump-autoload" actually do? I can't figure it out.

Download more RAM. 🐏 ⨉ 0 Posted by Some Guy 4 months ago 🕓 Posted at 13 January, 2019 04:45 AM PST

This is a patsy account used by the 256 Kilobytes staff to seed content. 

Profile Photo - Univa Univa
🗎 0 🗨 140 🐏 5
Author

php artisan dump-autoload

  • It will call the Composer with the optimize flag
  • It will 'recompile' loads of files creating the huge bootstrap/compiled.php
Download more RAM. 🐏 ⨉ 0 Posted by Univa 3 days ago 🕓 Posted at 16 May, 2019 07:15 AM PDT

Hello.

Profile Photo - August R. Garcia August R. Garcia LARPing as a Sysadmi... Portland, OR
🗎 135 🗨 706 🐏 164
Site Owner

Also, if you're having a caching issue with Laravel and php artisan dump-autoload didn't fix your problem, you can also try this:

php composer.phar dump-autoload && php artisan clear-compiled && php artisan cache:clear && php artisan config:clear && php artisan route:clear && php artisan view:clear
Download more RAM. 🐏 ⨉ 0 Posted by August R. Garcia 3 days ago

Edit History

• [2019-05-16 21:27 PDT] August R. Garcia (3 days ago)
🕓 Posted at 16 May, 2019 21:27 PM PDT

The CIA wants all code in the cloud under their lock and key. They want to ban compilers and make people think HTML is computer programming. - Terry A. Davis

Post a New Comment

To leave a comment, login to your account or create an account.

Do you like having a good time?

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account
You can also login to an existing account or recover your password. All use of this site is subject to terms outlined in the terms of service and privacy policy.