Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php artisan optimize command

# Install application dependencies, such as the Laravel framework itself.
#
# If you run composer update in development and commit the `composer.lock`
# file to your repository, then `composer install` will install the exact
# same versions in production.
composer install --no-interaction

# Clear the old boostrap/cache/compiled.php
php artisan clear-compiled

# Recreate boostrap/cache/compiled.php
php artisan optimize

# Migrate any database changes
php artisan migrate
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #artisan #optimize #command
ADD COMMENT
Topic
Name
1+2 =