PHPackages                             flo5581/larabackend - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. flo5581/larabackend

Abandoned → [flostone/larabackend](/?search=flostone%2Flarabackend)Library[Framework](/categories/framework)

flo5581/larabackend
===================

Backend for laravel

1.2.0(8y ago)166PHP

Since Jul 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/flo5581/larabackend)[ Packagist](https://packagist.org/packages/flo5581/larabackend)[ RSS](/packages/flo5581-larabackend/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (15)Used By (0)

larabackend
===========

[](#larabackend)

\##Installation

\###Add packages to composer.json:

"flostone/larahelpers" : "1.0.\*"

Add to Kernel.php in App\\Console:

`\FloStone\Backend\Commands\AdminInstallation::class`

\###Register Service Provider:

`Flo\Backend\BackendProvider::class`
`Flo5581\Larahelpers\BladeExtensions::class`
`Maatwebsite\Excel\ExcelServiceProvider::class`

\###Add Facades

`'Excel' => Maatwebsite\Excel\Facades\Excel::class`

Execute:

`php artisan admin:install`

This will work with Laravel 5.0.\* however you need to use strings instead of ::class
Example:
`'\FloStone\Backend\Commands\AdminInstallation'`

\##Basic Usage

Before you do anything: Create a controller that extends

`FloStone\Backend\Controllers\AdminController`

and add the controller to your `routes.php` using

`Route::controller('admin', 'YourController')`

or

`controller('admin', 'YourController')`

Remember to protected the controller with a middleware but when you do that You need to call the parent constructor as well

`public function __constrcut() {`
`parent::__construct();`
``$this-&gt;middleware('admin);` `}`

First you need to tell the Backend what controller methods should be displayed in the menu A key indicates the name displayed in the menu, the value tells the controller method

`public static $displayed_actions = ['Index' => 'getIndex']`

To create a view that displays a model you have to use the view method of the parent controller. Don't use the laravel view method! just pass through the model you wish to use.

`public function getIndex()`
`{`
`$this->view(Model::class);`
`}`

To add parts to the view like a table where the content should be displayed you need to use the addTable method

`$this->view(Model::class)->addTable()`

This will automatically print out the data of the model in the table. Additionally you can provide a Collection of custom data to the table as the first parameter and you can decide if the content should be editable using the second parameter, the default value is true

`$this->view(Model::class)->addTable($custom_data, true)`

Finally call the render method to make everything work

`$this->view(Model::class)->addTable()->render()`

To define which columns of your model should be displayed inside the table you have to add

`public static $displayed_columns = ['email', 'name']`

to your model and put in the fields that should be displayed To define the columns the can be edited by an admin, you need to add

`public static $editable_columns = ['email' => []]`

Additionally you should can add properties to that field like setting a label that is shown as headline in the table

`public static $editable_columns = ['email' => ['label' => 'E-Mail']]`

Keep in mind that not having this variable or having it empty will cause an error

Add an export field by using addExport as method Pass through the filetype as first parameter

`$this->view(Model::class)->addTable()->addExport('xls')->render()`

\##Model Definitions

Here is a list of all Model definitions and what they do:

\###1

`public static $display_columns = ['column' => [(options)]]`
Field MUST be set!
An array of all displayed columns in the backend table
Options:
`'label' => 'Name of Column'`
`'relation' => [(properties)]`
Relation Properties:
`'method' => 'nameofrelationmethod'`
`'display' => 'displayedfieldofrelatedobject'`

\###2

`public static $editable_columns = ['column' => [(options)]]`
Field MUST be set!
An array of columns that should be editable
Options:
`'label' => 'Name of Column'`
`'type' => 'Type of Field'`
List of field types:
`'string'`
`'text'`
`'textarea'`
`'integer'`
`'int'`
`'password'`
`'pass'`
`'checkbox'`
`'boolean'`
`'select'`
`'selectbox'`
`'enum'`
`'file'`
`'image'`

\###3

`public static $export_fields = ['column' => [(options)]]`
Field CAN be set
An array of fields that should be exported, exports all columns AND relations by default
Options:
`'label' => 'Name of Column'`
`'relation' => [(properties)]`
Relation Properties:
`'method' => 'nameofrelationmethod'`
`'display' => 'displayedfieldofrelatedobject'`

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity71

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~64 days

Recently: every ~153 days

Total

14

Last Release

3125d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63fd1957ec0fd3b62eb4a10e5799ddaa79fba822aaaf40c39c7d2ce872846c17?d=identicon)[FloStone](/maintainers/FloStone)

### Embed Badge

![Health badge](/badges/flo5581-larabackend/health.svg)

```
[![Health](https://phpackages.com/badges/flo5581-larabackend/health.svg)](https://phpackages.com/packages/flo5581-larabackend)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[webreinvent/vaahcms

VaahCMS is a laravel based open-source web application development platform shipped with headless content management system.

5758.2k](/packages/webreinvent-vaahcms)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1225.0k10](/packages/fleetbase-core-api)[fusioncms/cms

Core of FusionCMS

431.1k3](/packages/fusioncms-cms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
