Download the PHP
package matthc/laradmin without Composer
On this page you can find all versions of the php package
matthc/laradmin. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor matthc Package laradmin Short Description Admin package for laravel License
MIT
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.
This is an admin package for Laravel with roles and permissions integrated. This package is still under development.
Installation
Install the package with the following command
This command will pull in 2 packages:
Laradmin: the admin package
Privileges: the package for roles and permissions
I will write here how to initialize everything for both of these packages.
After the packages are installed, add the following providers to the providers array in config/app.php
Next, publish the vendor files with the following command:
Run the migrations
Specific settings and commands for the privileges (roles and permissions)
You can change some configuration for the roles and permissions package in config/privileges.php. After doing the changes you can add default roles and permissions with the following command:
If you also want to add some users with roles attached, run the following command:
If you want everything to work you have to add the following trait to your User model
And for some routes to work you have to add 2 middlewares in app/Http/kernel.php
Specific settings for the Laradmin package
First change the redirect if authenticated in app/Http/Middleware/RedirectIfAuthenticated.php to the prefix you have in your config/laradmin.php file.
In app/Http/Middleware/Authenticate.php : change the redirect link.
That's about it
Add items to the menu
In config/laradmin.php there is a menu-setting. Here you can add specific menu-items with their route.
You can also make a submenu: it is important that you don't have a route parameter in the array
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 matthc/laradmin contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.