Download the PHP package kineticamobile/atrochar without Composer

On this page you can find all versions of the php package kineticamobile/atrochar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package atrochar

Atrochar

Menu Generator for Laravel Apps - Populate menus in your views using Database backed Menus with @menu Blade component

Installation

  1. Via Composer

  2. Add trait to your User model.

  3. Run migrations

Simple Usage

Create Menus and its items

You can access the Menu Management in your app "APP_URL/atrochar/menus"

or add link wherever you want

Add a created menu in your views with blade component

Use views instead of programatic approach

You can publish the views of the components

You have two views in resources/views/vendors/atrochar, default.blade.php nad jetstream.blade.php

To use these views see examples below

Advanced Usage

Change Prefix of Package Routes

Publish configuration

Modify conf/atrochar.php field prefix. It allows empty string, if null atrochar would be used.

Change iframe routes

Usually iframe links are in route atrochar/i/24

You can change i for whatever you want in conf/atrochar.php field iframe after publish the configuration file

Restrict access to menu management

By default all users can manage menus.
You need to add the method canManageMenus() to your user model:

Use of the links' permission field

By default all items can be viewed. But you can add permission in your links, if not empty this ability is checked against the User method canViewMenuItem($ability)
You need to add the method canViewMenuItem($ability) to your user model to extend this behavior:

Style your menus using themes or overriding default values

Using themes. Publish the config file in your app. In config/atrochar.php you can modify default values or add new themes

Once you've created a theme you can pass a string as a second argument in the @menu component the name of the theme

If you pass an array as second argument the values override the defaultTheme values

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

Licence

MIT


All versions of atrochar with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ~7|~8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kineticamobile/atrochar contains the following files

Loading the files please wait ....