Skip to content

Commit 024e4a0

Browse files
committed
init: initialize files
0 parents  commit 024e4a0

13 files changed

+950
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/vendor
2+
.phpunit.result.cache
3+
composer.lock
4+
.php-cs-fixer.cache

autoload.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
// autoload.php @generated by Composer
4+
5+
if (PHP_VERSION_ID < 50600) {
6+
if (!headers_sent()) {
7+
header('HTTP/1.1 500 Internal Server Error');
8+
}
9+
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running ' . PHP_VERSION . ', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.' . PHP_EOL;
10+
if (!ini_get('display_errors')) {
11+
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
12+
fwrite(STDERR, $err);
13+
} elseif (!headers_sent()) {
14+
echo $err;
15+
}
16+
}
17+
trigger_error(
18+
$err,
19+
E_USER_ERROR
20+
);
21+
}
22+
23+
require_once __DIR__ . '/composer/autoload_real.php';
24+
25+
return ComposerAutoloaderInit05cc358fbc48b1d2e490be83fb91cbaa::getLoader();

composer.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "ejs/make-page",
3+
"description": "A command line tool to create page component with InertiaJS",
4+
"type": "library",
5+
"require": {
6+
"php": "^8.2",
7+
"laravel/framework": "^11.0"
8+
},
9+
"license": "MIT",
10+
"autoload": {
11+
"psr-4": {
12+
"Ejs\\MakePage\\": "src/"
13+
}
14+
},
15+
"extra": {
16+
"laravel": {
17+
"providers": [
18+
"Ejs\\MakePage\\MakePageInertiaServiceProvider"
19+
]
20+
}
21+
},
22+
"authors": [
23+
{
24+
"name": "Ej Sinfuego",
25+
"email": "edzeljohnsinfuego@gmail.com",
26+
"role": "Developer"
27+
}
28+
],
29+
"minimum-stability": "dev"
30+
}

0 commit comments

Comments
 (0)