This repository was archived by the owner on Dec 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +53
-1
lines changed Expand file tree Collapse file tree 4 files changed +53
-1
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "alias" : " jupyter-php-installer.phar" ,
3
+ "chmod" : " 0755" ,
4
+ "directories" : [" src" ],
5
+ "files" : [
6
+ " LICENSE" ,
7
+ " README.md"
8
+ ],
9
+ "finder" : [
10
+ {
11
+ "name" : " *.php" ,
12
+ "exclude" : [" Tests" ],
13
+ "in" : " vendor"
14
+ }
15
+ ],
16
+ "git-version" : " package_version" ,
17
+ "main" : " src/EntryPoint/main.php" ,
18
+ "output" : " jupyter-php-installer.phar" ,
19
+ "stub" : true
20
+ }
Original file line number Diff line number Diff line change 4
4
"type" : " project" ,
5
5
"license" : " MIT" ,
6
6
"require" : {
7
- "php" : " 5.*,>=5.4"
7
+ "php" : " 5.*,>=5.5.9" ,
8
+ "symfony/console" : " ~2.8"
8
9
},
9
10
"require-dev" : {
10
11
"kherge/box" : " ~2.4"
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of Composer (and modified to fit in Jupyter-PHP-Installer)
5
+ *
6
+ * (c) Nils Adermann <naderman@naderman.de>
7
+ * Jordi Boggiano <j.boggiano@seld.be>
8
+ *
9
+ * For the full copyright and license information, please view the LICENSE
10
+ * file that was distributed with this source code.
11
+ */
12
+ function includeIfExists ($ file )
13
+ {
14
+ return file_exists ($ file ) ? include $ file : false ;
15
+ }
16
+
17
+ if ((!$ loader = includeIfExists (__DIR__ . '/../../vendor/autoload.php ' ))) {
18
+ echo 'The dependencies are missing, you should use `composer install`. ' .PHP_EOL ;
19
+ exit (1 );
20
+ }
21
+
22
+ return $ loader ;
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env php
2
+ <?php
3
+
4
+ if ('cli ' !== PHP_SAPI ) {
5
+ echo 'Warning: This command should be invoked via the CLI version of PHP, not the ' .PHP_SAPI .' SAPI ' .PHP_EOL ;
6
+ }
7
+
8
+ require_once __DIR__ . '/bootstrap.php ' ;
9
+
You can’t perform that action at this time.
0 commit comments