ntuple / aristocrat by ntuple

Aristocrat implementation for Laravel
15
0
1
Package Data
Maintainer Username: ntuple
Maintainer Contact: abhinav@studiomatrix.com.au (Abhinav Singh Dangol)
Package Create Date: 2015-02-05
Package Last Update: 2018-11-16
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2025-02-11 15:01:13
Package Statistics
Total Downloads: 15
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Integration of Aristocrat in Laraval 4.

Installation

To get the latest version of Theme simply require it in your composer.json file.

"matrix/aristocrat": "dev-master"

You'll then need to run composer install to download it and have the autoloader updated.

Once Aristocrat is installed you need to register the service provider with the application.

Open app/config/app.php and find the providers index and add the following line.

'providers' => [

    'Matrix\Aristocrat\ServiceProvider',

]

You need register the facade in the aliases index in same app/config/app.php file.

'aliases' => [

    'Aristocrat' => 'Matrix\Aristocrat\Facade',

]

Usages

class HomeController extends BaseController {

    public function getIndex(){
        $restult = Aristocrat::selectData();
    }
}