Download the PHP package laravel-admin/base without Composer

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

Laravel Admin Interface

Extend your Laravel App with an admin interface out-of-the-box. This packages creates an admin including a login page. The interface is fully compatible with the default bootstrap interface which is included in your Laravel app.

note: This package is in alpha state, use it in production on own risk.

Installation

Add this package directly with composer:

Add the service provider to your app.php config file

Add the admin middleware in app/Http/Kernel.php file in the $routeMiddleware array.

Config

The admin package includes a database migration which adds a role field to your users table. So make sure you run the artisan migrate command.

You can publish the config, so you can manage this in config/admin.php.

Config options

routeGroup

Defining the properties of all admin routes. By default all routes are separated on a specific domain which you can define as ADMIN_URL in your .env file. But is is also possible to use a subdirectory to replace the domain property by a prefix property like 'admin'.

routeMiddleware

Definition of the middleware what will be used after login. By default you can use the middleware above.

roles

Array with the available user roles.

canLogin

Array with the roles who can login in the admin

js

Array of js files which will be added to the admin interface

css

Array of css files which will be added to the admin interface

menu

Your admin menu structure. Fill this array with items that have a name and url attribute. For a second level you can give an item the attribute children to build a subarray with submenu items.

Usage

Scaffold your base admin routes within your routes/web.php file

Within the closure you can add all your routes on a route group type of definition.

Now you can access the admin by entering the url as defined in the config. Like http://admin.mydomain.com or http://mydomain.com/admin


All versions of base with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^11.0
laravel/ui Version ^4.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 laravel-admin/base contains the following files

Loading the files please wait ....