Skip to content

Commit

Permalink
Merge pull request #1 from php/initial-boilerplate
Browse files Browse the repository at this point in the history
Initial boilerplate
  • Loading branch information
asgrim authored Mar 18, 2024
2 parents d7b3b42 + c40af18 commit 7b23795
Show file tree
Hide file tree
Showing 10 changed files with 4,036 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: "Continuous Integration"

on:
pull_request:
push:

jobs:
ci:
uses: laminas/workflow-continuous-integration/.github/workflows/continuous-integration.yml@1.x
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/vendor/
/psalm.xml
/.phpunit.cache/
/.phpcs-cache
16 changes: 16 additions & 0 deletions bin/pie
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env php
<?php

declare(strict_types=1);

use Php\Pie\Command;
use Symfony\Component\Console\Application;

/** @psalm-suppress UnresolvableInclude */
include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';

$application = new Application('pie', 'dev-main');
$application->addCommands([
new Command\DownloadCommand(),
]);
$application->run();
43 changes: 43 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "php/pie",
"type": "project",
"description": "PIE - the PHP Installer for Extensions",
"license": "BSD-3-Clause",
"bin": ["bin/pie"],
"autoload": {
"psr-4": {
"Php\\Pie\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Php\\PieUnitTest\\": "test/unit/"
}
},
"authors": [
{
"name": "James Titcumb",
"email": "asgrim@php.net"
},
{
"name": "PIE contributors",
"homepage": "https://github.com/php/pie/graphs/contributors"
}
],
"require": {
"php": "8.1.*||8.2.*||8.3.*",
"symfony/console": "^6.4"
},
"require-dev": {
"doctrine/coding-standard": "^12.0",
"phpunit/phpunit": "^10.5",
"vimeo/psalm": "^5.22"
},
"config": {
"sort-packages": true,
"preferred-install": "dist",
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
Loading

0 comments on commit 7b23795

Please sign in to comment.