06/02
2015
Aristocrat implementation for Laravel
To get the latest version of Theme simply require it in your composer.json
file., (*1)
"matrix/aristocrat": "dev-master"
You'll then need to run composer install
to download it and have the autoloader updated., (*2)
Once Aristocrat is installed you need to register the service provider with the application., (*3)
Open app/config/app.php
and find the providers
index and add the following line., (*4)
'providers' => [ 'Matrix\Aristocrat\ServiceProvider', ]
You need register the facade in the aliases
index in same app/config/app.php
file., (*5)
'aliases' => [ 'Aristocrat' => 'Matrix\Aristocrat\Facade', ]
class HomeController extends BaseController { public function getIndex(){ $restult = Aristocrat::selectData(); } }