Skip to content

Instantly share code, notes, and snippets.

@danieliser
Created June 1, 2020 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danieliser/2a0af213ec608c216bddc7cc7fa76df7 to your computer and use it in GitHub Desktop.
Save danieliser/2a0af213ec608c216bddc7cc7fa76df7 to your computer and use it in GitHub Desktop.
{
"name": "popup-maker/test-plugin",
"description": "description",
"minimum-stability": "stable",
"require": {
"pimple/pimple": "^3.3"
},
"autoload": {
"psr-4": {
"DLI\\": "src/"
}
},
"require-dev": {
"coenjacobs/mozart": "^0.5.1"
},
"extra": {
"mozart": {
"dep_namespace": "DLI\\Vendor\\",
"dep_directory": "/src/Vendor/",
"classmap_directory": "/includes/classes/",
"classmap_prefix": "DLI_",
"packages": [
"pimple/pimple"
]
},
"delete_vendor_directories": false
},
"scripts": {
"post-install-cmd": [
"\"vendor/bin/mozart\" compose",
"composer dump-autoload"
],
"post-update-cmd": [
"\"vendor/bin/mozart\" compose",
"composer dump-autoload"
]
}
}
<?php
/*******************************************************************************
* Copyright (c) 2020, Code Atlantic LLC.
******************************************************************************/
require 'vendor/autoload.php';
use \Pimple\Container;
$container = new Container();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment