From 3c49b8ce1bed1cb46b666c030f6baafa3a1f0839 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Sun, 10 Dec 2017 01:28:49 +0300 Subject: [PATCH] composer update --- README.md | 2 +- composer.json | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ae8c74605..84d98fe95 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Akaunting uses [Laravel](http://laravel.com), the best existing PHP framework, a * Install [Composer](https://getcomposer.org/download) * Download the [repository](https://github.com/akaunting/akaunting/archive/master.zip) and unzip into your server * Open and point your command line to the directory you unzipped Akaunting - * Run the following commands separately: `composer install` , `composer dump-autoload` + * Run the following command: `composer install` * Finally, launch the [installer](https://akaunting.com/docs/installation) ## Contributing diff --git a/composer.json b/composer.json index 913317da4..3b38ef5ce 100644 --- a/composer.json +++ b/composer.json @@ -53,27 +53,28 @@ }, "scripts": { "post-install-cmd": [ - "composer dump-autoload", "Illuminate\\Foundation\\ComposerScripts::postInstall", "php artisan ide-helper:generate", "php artisan ide-helper:meta", "php artisan clear-compiled", - "php artisan optimize" + "php artisan optimize", + "composer dump-autoload" ], "post-update-cmd": [ "Illuminate\\Foundation\\ComposerScripts::postUpdate", "php artisan ide-helper:generate", "php artisan ide-helper:meta", "php artisan clear-compiled", - "php artisan optimize" + "php artisan optimize", + "composer dump-autoload" ], "post-create-project-cmd": [ - "composer dump-autoload", "Illuminate\\Foundation\\ComposerScripts::postInstall", "php artisan ide-helper:generate", "php artisan ide-helper:meta", "php artisan clear-compiled", - "php artisan optimize" + "php artisan optimize", + "composer dump-autoload" ] }, "config": {