PHPackages                             poowf/otter - 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. [Admin Panels](/categories/admin)
4. /
5. poowf/otter

ActiveLibrary[Admin Panels](/categories/admin)

poowf/otter
===========

A relatively automatic CRUD backend administration panel for Laravel

2541.3k16[25 issues](https://github.com/poowf/otter/issues)[16 PRs](https://github.com/poowf/otter/pulls)CSS

Since Jan 4Pushed 3y ago6 watchersCompare

[ Source](https://github.com/poowf/otter)[ Packagist](https://packagist.org/packages/poowf/otter)[ RSS](/packages/poowf-otter/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (17)Used By (0)

[![](https://camo.githubusercontent.com/b9a0e654706752ec634f754f380ff11de09023f5a6535f86b8314c2696ebc6a6/68747470733a2f2f706f6f77662e626c6f622e636f72652e77696e646f77732e6e65742f6f747465722f6173736574732f6f7474657262616e6e65722e737667)](https://camo.githubusercontent.com/b9a0e654706752ec634f754f380ff11de09023f5a6535f86b8314c2696ebc6a6/68747470733a2f2f706f6f77662e626c6f622e636f72652e77696e646f77732e6e65742f6f747465722f6173736574732f6f7474657262616e6e65722e737667)

[![Build Status](https://camo.githubusercontent.com/f85cbd19854211242216741364219c425e164783a3e6417253c1b8066bd08781/68747470733a2f2f7472617669732d63692e6f72672f706f6f77662f6f747465722e737667)](https://travis-ci.org/poowf/otter)[![Total Downloads](https://camo.githubusercontent.com/552a9d58a3f20fee4d7c4570da87f8458d2facb05212f9d774b5b3c710cda436/68747470733a2f2f706f7365722e707567782e6f72672f706f6f77662f6f747465722f642f746f74616c2e737667)](https://packagist.org/packages/poowf/otter)[![Latest Unstable Version](https://camo.githubusercontent.com/5ebb6aa18fe20892d3e791b266998022e5334136ef8935f938aea5fa528ee255/68747470733a2f2f706f7365722e707567782e6f72672f706f6f77662f6f747465722f762f756e737461626c652e737667)](https://packagist.org/packages/poowf/otter)[![Latest Stable Version](https://camo.githubusercontent.com/b9292accd022419a5d2483e71ef5e0e52a6260a2b56fedd97fcf69f81cb74d54/68747470733a2f2f706f7365722e707567782e6f72672f706f6f77662f6f747465722f762f737461626c652e737667)](https://packagist.org/packages/poowf/otter)[![License](https://camo.githubusercontent.com/c29d91ecd2f92eb405885526b926a28d18bc3ae1a0055c40bd608011b228140f/68747470733a2f2f706f7365722e707567782e6f72672f706f6f77662f6f747465722f6c6963656e73652e737667)](https://packagist.org/packages/poowf/otter)

A relatively ottermatic (automatic) CRUD backend administration panel

Introduction
============

[](#introduction)

Otter was created as an open-source alternative to Laravel Nova. The backend administration panel is built with the beautiful tabler template and follows the structure of the popular laravel extension packages like horizon and telescope.

Otter is designed to handle almost everything for you through `OtterResource` files that essentially tie to your Eloquent Models.

Screenshots
===========

[](#screenshots)

[![](https://camo.githubusercontent.com/ad82a9d62056274eca72fcff8089cd6e7e09427cd73312317e81f8565f8ea074/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c696768742d6c69676874677265792e7376673f636f6c6f72423d396161306163267374796c653d666c61742d737175617265)](https://imgur.com/a/U4ujI8c)[![](https://camo.githubusercontent.com/ebd7fd03d9a91bed201582628c51c4df588fb0cf1b564a7ee254d880fbe5eab1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4461726b2d626c61636b2e7376673f7374796c653d666c61742d737175617265)](https://imgur.com/a/1rdYjbY)

Installation
============

[](#installation)

Install Otter with [composer](https://getcomposer.org/doc/00-intro.md):

```
$ composer require poowf/otter
```

> In Laravel 5.5+, [service providers and aliases are automatically registered](https://laravel.com/docs/packages#package-discovery). If you're using Laravel 5.5+, skip ahead directly to step 2.

Once the composer installation completes, all you need to do is add the service provider. Open `config/app.php`, and make the following changes:

1. Add a new item to the `providers` array:

    ```
    Poowf\Otter\OtterServiceProvider::class,
    ```
2. Install all the relevant Otter assets:

    > If you are updating Otter, run `php artisan otter:publish` instead

    ```
    php artisan otter:install
    ```

Usage
=====

[](#usage)

Defining the Models to be registered to Otter is very simple. Let's create an `OtterResource` by running the following command:

```
php artisan otter:resource User
```

> You may specify a model class name with the `--model` argument

This will generate a `OtterResource` file located in `app/Otter`.

OtterResource Conventions
=========================

[](#otterresource-conventions)

This is an example of an `OtterResource` that is generated by the `otter:resource` command, which will be automatically registered by Otter.

```
