2017 © Pedro Peláez
 

library artefakt

Artefakt Pattern Library Tool Base Distribution

image

apparat/artefakt

Artefakt Pattern Library Tool Base Distribution

  • Sunday, June 24, 2018
  • by jkphl
  • Repository
  • 1 Watchers
  • 0 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Artefakt Pattern Library Tool

Prerequisites

I recommend using the latest available version of PHP as a matter of principle., (*1)

Installation

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)

Custom directories

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

Dependencies

Composer dependency graph, (*7)

Quality

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)

Contributing

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)

Security

If you discover any security related issues, please email joschi@kuphal.net instead of using the issue tracker., (*10)

Credits

License

Copyright © 2018 Joschi Kuphal / joschi@kuphal.net. Licensed under the terms of the MIT license., (*11)

The Versions

24/06 2018

dev-master

9999999-dev https://apparat.tools/artefakt

Artefakt Pattern Library Tool Base Distribution

  Sources   Download

MIT

The Requires

  • php >=7.2
  • apparat/artefakt-core dev-master

 

The Development Requires