terranetmd supports this item


This author's response time can be up to 5 business days.

74 comments found.

Try now with clean cache!


When I use a stapler field and I click the View action i got this:

Method Illuminate\View\View::__toString() must not throw an exception

This seems to happen because the stapler field doesn’t really exist


this is how I have created a project:

sudo composer create-project laravel/laravel=5.3.* my—prefer-dist

then I have downloaded the zip from here and put it under my/packages/administrator

then I did the git init thing under my/packages/administrator

then I put the repositories in my/composer.json

then I run composer require terranet/administrator

I get this error:

Could not find package terranet/administrator at any version for your
minimum-stability (stable). Check the package spelling or your minimum-stability

What’s wrong?


So I changed composer require terranet/administrator to composer require terranet/administrator:”*“

and now I get: Your requirements could not be resolved to an installable set of packages. Problem 1 – The requested package terranet/administrator could not be found in any version, there may be a typo in the package name. Potential causes: – A typo in the package name – The package is not available in a stable-enough version according to your minimum-stability setting see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details. Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems. Installation failed, reverting ./composer.json to its original content.

docs page is down again.

All fine, please take a look


nodevn Purchased

Class ‘Terranet\Administrator\Resource’ not found Where is it ?

Hello. Please show me the screenshot of entire page producing this error.


nodevn Purchased

Thanks your support, i was fixed. use Terranet\Administrator\Scaffolding as Resource;

Per installation instructions: php artisan vendor:publish—provider=Terranet\\Administrator\\ServiceProvider


[Symfony\Component\Debug\Exception\FatalThrowableError] Type error: Too few arguments to function Codesleeve\LaravelStapler\Providers\ServiceProvider::Codesleeve\LaravelStapler\Providers\{closure}(), 1 passed in /Volumes/[snip]/vendor/ laravel/framework/src/Illuminate/Container/Container.php on line 678 and exactly 2 expected

If you decide not to refund, I could provide you the latest version which is compatible with laravel 5.4, but has not been uploaded yet to envato

that is preferable really wanted to see what this thing was all about :)

I have sent you an email, please reply as soon as possible ,thanks!

Hi, when can we expect a version that supports Laravel 5.4?

Hello, sorry for delay. it is already uploaded and waiting for approval.

I want to buy version 5.4. When is it uploaded?

Hello, sorry for delay. it is already uploaded and waiting for approval.

can we add maps markers to users and see on backend?

hello, sure

Can I override route path ’/admin’? For ex. ’/backend’.

Hello, yes, sure, there is a dedicated routes file.

Hello! this looks great, I have a pre-sales question. I need to give a front end to my wordpress registered users so they can upload a xls or cvs file into a table in my mysql db. Will I be able to give that capability to my users with this system? thanks!

How can I use stapler in Options? I want only want setting to be an image. thanks

Image form type doesn’t work with stapler conf “xheight”. I get an division by zero. This is the patch:

- vendor/terranet/administrator/src/Form/Type/Image.php (revision 1e41c5e75710fc1421332d30facc0402ceb1756b) + vendor/terranet/administrator/src/Form/Type/Image.php (revision ) @ -26,7 +26,7 @ - ’ >url($style>name) . ’” style=”width: ’ . $w . ‘px; height: ’ . $h . ‘px;” />’ . + ’ >url($style>name) . ’” style=”width: ’ . ($w ?: ‘auto’) . ‘px; height: ’ . ($h ?: ‘auto’) . ‘px;” />’ . ’ ’ . ’ ’ . StringHumanizer::humanize($style->name) . ’ ’ . @ -73,7 +73,7 @ { list($w, $h) = $this->dimensions($style);

$img =
    '>url($style>name) . '" class="fancybox" style="' . static::$hrefStyle . '">' .

- $ratio = $this->thumbSize / min($w, $h); + $ratio = $this->thumbSize / min(($w ?: $h), ($h ?: $w));

$w = (int) round($w * $ratio, 0);
$h = (int) round($h * $ratio, 0);

Image form type doesn’t work with stapler conf “xheight”. I get an division by zero. This is the patch: