1. Go to this page and download the library: Download worksome/graphlint library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
worksome / graphlint example snippets
declare(strict_types=1);
use Worksome\Graphlint\Config\GraphlintConfig;
use Worksome\Graphlint\Inspections\CamelCaseFieldDefinitionInspection;
return GraphlintConfig::configure()
->withInspections([
CamelCaseFieldDefinitionInspection::class,
]);
declare(strict_types=1);
use Worksome\Graphlint\Config\GraphlintConfig;
return GraphlintConfig::configure()
->withPreparedSets(standard: true);
use Worksome\Graphlint\Config\GraphlintConfig;
return GraphlintConfig::configure()
// ...
->ignoring([
'TEST',
'AccountInput.name' // Dotted value for only applying on some fields
]);
bash
$ composer global
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.