Download the PHP package cobraprojects/laravel-multiauth without Composer

On this page you can find all versions of the php package cobraprojects/laravel-multiauth. 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 laravel-multiauth

Arabic admin panel with laravel multi auth system

this help to fast start my admin panel with multiauth guards and easy to customize package.

Installation

Install the package to laravel via composer.

Puplish config, migration, migrate the database, assets, views, install all dependencies via npm, run laravel mix and seed admin user. all above with the next artisan command:

Defult Settings

By default it will install every thing you need to start your multiauth and the admin panel.

You can login to your admin panel by http://yourdomain.com/admin the default username is [email protected]. the default password is password. you can change these values from the config/multiauth.php file

Config file

Key default value action
admin_active true enable / disable the admin panel
admin.validations empty array for validate admin register form
prefix admin the prefix for your routes to access the admin panel (http://domain.com/`prefix) this will also change the login email address super@prefix`.com
registration_notification_email false enable/disable notify new registerd admin via email
redirect_after_login admin.home the route name of your admin home page to redirect logged admis to it
models.admin CobraProjects\Multiauth\Model\Admin::class the admin class if you need to use your own
models.role CobraProjects\Multiauth\Model\Role::class the role class if you need to use your own
models.permission CobraProjects\Multiauth\Model\permission::class the permission class if you need to use your own

Create new role

you can use the admin panel or artisan command.

1- Using artisan command

2- Using Interface Just go to https://domain.com/admin/roles you can add, edit or delete roles from this page Note: only admin with the role super can view this page.

Create new permission

  1. Create a new crud permissions for any model:

Here {model} means for which model you want to create crud permissions for. For example, if you run php artisan multiauth:permissions blog then it will create following permissions:

  1. You can create single permission for any model

or example, if you run php artisan multiauth:permissions blog --name=Publish It will create a permission in your database called PublishBlog.

Todos

License

MIT


All versions of laravel-multiauth with dependencies

PHP Build Version
Package Version
Requires laravel/legacy-factories Version ^v1.3.0
laravel/ui Version v4.2.0
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 cobraprojects/laravel-multiauth contains the following files

Loading the files please wait ....