dev-master
9999999-dev https://apparat.tools/artefaktArtefakt Pattern Library Tool Base Distribution
MIT
The Requires
- php >=7.2
- apparat/artefakt-core dev-master
The Development Requires
Artefakt Pattern Library Tool Base Distribution
I recommend using the latest available version of PHP as a matter of principle., (*1)
Start a new Artefakt Pattern Library by running this on a command prompt (requires Composer to be available as composer
):, (*2)
composer create-project --prefer-dist apparat/artefakt <project-name> cd <project-name>
Please make sure to replace <project-name>
with the path and name of your project., (*3)
If you want Artefakt to use other directories than the default ones, create a custom composer.json
in your installation directory:, (*4)
mkdir <project-name> cd <project-name> composer init
Edit your composer.json
to specify one or more custom directories like this:, (*5)
{ "name": "your/project", "require": { "apparat/artefakt": "dev-master" }, "extra": { "apparat/artefakt": { "components": "cpms", // Component data directory "documents": "docs", // Document data directory "cache": "/tmp/artefakt" // Cache directory } } }
Relative paths are resolved against the installation directory (the directory where the composer.json
resides). Finish the installation with:, (*6)
composer install vendor/bin/artefakt app:init
, (*7)
The Artefakt set of libraries attempt to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch for the respective library via pull request., (*8)
Found a bug or have a feature request? Please have a look at the known issues first and open a new issue if necessary. Please see contributing and conduct for details., (*9)
If you discover any security related issues, please email joschi@kuphal.net instead of using the issue tracker., (*10)
Copyright © 2018 Joschi Kuphal / joschi@kuphal.net. Licensed under the terms of the MIT license., (*11)
Artefakt Pattern Library Tool Base Distribution
MIT