2017 © Pedro Peláez
 

php arxmin

Arxmin is an universal admin management system for an Arx project

image

arx/arxmin

Arxmin is an universal admin management system for an Arx project

  • Thursday, February 4, 2016
  • by cherrylabs
  • Repository
  • 1 Watchers
  • 1 Stars
  • 55 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

Arxmin (alpha) - Simple Admin package for Laravel Project

, (*1)

Arxmin is a simple Admin package for Laravel. It consist of some wrapped packages and helpers to help you to build an awesome admin for your Laravel project., (*2)

It includes :, (*3)

  • Admin LTE + starter template
  • ModuleController Helpers
  • Pingpong Modules
  • Rapyd Zofe
  • Nested Baum

Composer

To install Arxmin as a Composer package to be used with Laravel 5, simply run:, (*4)

composer require "arx/arxmin: 5.*"

Once it's installed, you can register the service provider in config/app.php in the providers array:, (*5)

'providers' => [
    'Arxmin\ArxminServiceProvider',
]

Then publish Arxmin's assets with php artisan vendor:publish., (*6)

After that, you need to go run :, (*7)

php artisan arxmin:install

Documentation

The documentation is available at www.arx.io., (*8)

Philosophy

The Arxmin package is totally agnostic. It means that everything is separated as a module so you download only that you really needs in your Laravel Project and in Your Admin., (*9)

The package consist of some helpers your admin but you are free to manage your User management, Blog and Data management as you want., (*10)

Please go to Modules Tab and begin to build or explore something amazing !, (*11)

How to create/load a module ?

To create a module, you can run in your terminal :, (*12)

php artisan module:make your_module

Then after that you will see a modules/$$your_module$$ folder with a start.php at the begining., (*13)

How to add your module in the Arxmin ?

To add your module inside the admin interface., (*14)

  1. You need to register the menu in your start.php file.

Example :, (*15)

In start.php, (*16)

Arxmin::registerMenu(array(
    'name' => 'Dashboard', # Name of your Dashboard
    'ref' => 'dashboard', # absolute ref of your module
    'type' => 'module', # type of element (by default module)
    'ico' => 'fa-home', # font-awesome icon to use
    'link' => url('/arxmin/modules/dashboard'), # the absolute module path
    'position' => 0, # the wanted position in the Admin
));
  1. In your controller who handle your link url. You need to extend the Arxmin\ModuleController.

Example :, (*17)


use Arxmin\ModuleController; class DashboardController extends ModuleController { public function anyIndex() { $title = __("Dashboard example"); $description = __("This dashboard can be customised in /modules/Dashboard"); return $this->viewMake('dashboard::index', get_defined_vars()); } }
  1. In your view, you need to extend arxmin::layouts.admin.

Example, (*18)

@extends('arxmin::layouts.admin')

@section('content')
    ENTER YOUR CUSTOM CONTENT
@stop
  • Please look at the Arxmin documentation for available section.

For more information, please go to (http://www.arx.io), (*19)

The Versions