Created
January 17, 2015 15:28
-
-
Save azraai/a6ae926650649b643c0f to your computer and use it in GitHub Desktop.
src/CoreServiceProvider.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "mux/core", | |
"description": "Core extension for Mux platform", | |
"license": "MIT", | |
"keywords": ["mux-platform", "mux", "note", "messaging"], | |
"authors": [ | |
{ | |
"name": "Ariff Azraai", | |
"email": "[email protected]", | |
"homepage": "https://github.com/azraai" | |
} | |
], | |
"autoload": { | |
"classmap": [ | |
"resources/database/migrations" | |
], | |
"psr-4": { | |
"\\Mux\\Core" : "src/" | |
} | |
}, | |
"require": { | |
"php": ">=5.4.0" | |
}, | |
"require-dev": { | |
"mockery/mockery": "0.9.*", | |
"orchestra/foundation": "3.0.*", | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace Mux\Core; | |
use Orchestra\Support\Providers\ServiceProvider; | |
class CoreServiceProvider extends ServiceProvider | |
{ | |
/** | |
* Register service provider. | |
* | |
* @return void | |
*/ | |
public function register() | |
{ | |
} | |
/** | |
* Boot the service provider | |
* | |
* @return void | |
*/ | |
public function boot() | |
{ | |
$path = realpath(__DIR__.'/../'); | |
$this->app['event']->listen('orchestra.install.schema', function() { | |
$this->app['orchestra.publisher.migrate']->package('mux/core'); | |
}); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Core", | |
"description": "Mux Platform Core extension", | |
"author": "Ariff Azraai", | |
"url": "https://github.com/muxplatform/core", | |
"version": "0.1@dev", | |
"config": { | |
"handles": "core" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment