New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

handmadeweb/statamic-laravel-packages

2,643 2
Install
composer require handmadeweb/statamic-laravel-packages
Latest Version:1.0.5
PHP:^7.3||^8.0
License:MIT
Last Updated:Aug 2, 2024
Links: GitHub  ·  Packagist
Maintainer: HandmadeWeb

MIT Licensed

Adds "quick access links" and permissions to Statamic, for popular Laravel (Horizon, Nova, Telescope) packages.

Requirements

  • Statamic 3.1 or higher

Installation

You can install the package via composer:

composer require handmadeweb/statamic-laravel-packages

Then you can assign permissions via Statamic which will be usable in the form of can / cant, access laravel telescope, access laravel horizon or access laravel nova

Then just update the service provider for your chosen package, for example with Telescope we might use the following.

\App\Providers\TelescopeServiceProvider

    /**
     * Register the Telescope gate.
     *
     * This gate determines who can access Telescope in non-local environments.
     *
     * @return void
     */
    protected function gate()
    {
        Gate::define('viewTelescope', function ($user) {
            return $user->can('access laravel telescope');
        });
    }

And now you will be able to manage access via Statamic.

Usage

Permissions

You'll be able to add permissions for each of the installed Laravel Packages in the Statamic control panel.

Permissions

Control Panel

Any package/links that the admin/user has permission to access (and is installed) will appear on the sidebar.

Sidebar

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

uams-web/aether-form-settings

Control Panel form settings for Statamic: notification routing and conditions, c...

2,503 0
uams-web/aether-alpine-csp-forms

CSP-safe Alpine form JavaScript driver for Statamic public forms, with a $showFi...

2,498 0
uams-web/aether-search

Search for Statamic sites, part of the Aether ecosystem of UAMS Statamic add-ons...

1,801 0
uams-web/aether-redirects

Redirect rules for Statamic: a redirects global set served on the 404 path, rule...

1,475 0
goldnead/statamic-toc

Automatic table of contents generator for Statamic Bard, Markdown and HTML field...

14,197 2

Version History

Version Released PHP License
1.0.5 ^7.3||^8.0 MIT
1.0.4 ^7.3||^8.0 MIT
1.0.3 ^7.3||^8.0 MIT
1.0.2 ^7.3 || ^8.0 MIT
1.0.1 ^7.3 || ^8.0 MIT