diff options
author | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2019-11-06 11:36:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-06 11:36:17 +0100 |
commit | 1add9049bedd3ac381e42ea5c177c5e0b871a50a (patch) | |
tree | 0416e194fcbb20ecb4f47d8783c8ad4bd38105e7 /composer.json | |
parent | f1f63f556c41c99d45cd610186b0982383eff375 (diff) | |
parent | c77fe80b05829fbfd5b94f43a7b709e3f3ec6c0d (diff) | |
download | wcms-1add9049bedd3ac381e42ea5c177c5e0b871a50a.tar.gz wcms-1add9049bedd3ac381e42ea5c177c5e0b871a50a.zip |
Merge pull request #27 from n-peugnet/composer-psr4-autoloading
refactor: switch to psr-4 autoloading
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/composer.json b/composer.json index 49088b9..b3ddbd0 100644 --- a/composer.json +++ b/composer.json @@ -2,10 +2,18 @@ "name": "w-cms", "description": "point'n think", "require": { - "michelf/php-markdown": "^1.8", - "league/plates": "3.*", - "jamesmoss/flywheel": "^0.5.2", "php": ">=5.6.0", - "altorouter/altorouter": "^1.2" + "altorouter/altorouter": "^1.2", + "jamesmoss/flywheel": "^0.5.2", + "league/plates": "^3.3", + "michelf/php-markdown": "^1.8" + }, + "autoload": { + "psr-4": { + "Wcms\\": "app/class" + } + }, + "config": { + "sort-packages": true } } |