Download the PHP package chencongbao/laravel-vben-admin without Composer

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

Laravel Vben Admin

chencongbao/laravel-vben-admin is a Laravel 13 API foundation for independently deployed Vben Admin 5.7 applications.

The package currently provides the backend foundation:

The repository also contains an editable Vben Admin 5.7.0 Starter in frontend/. It is based on the official v5.7.0 tag and connects directly to this package's Laravel API. This repository does not modify files inside vendor or node_modules.

Requirements

Vben Starter

Development and production default to the same-origin /api/admin API. For a separately deployed frontend, override VITE_GLOB_API_URL in an environment-specific file and configure Laravel CORS explicitly.

The Starter uses backend access mode. Laravel returns the effective menu tree and permissions, while frontend/apps/web-antd/src/api/core/menu.ts maps trusted view_key values to local Vue components. Unknown view keys are never interpreted as arbitrary imports.

The browser path is configurable, while the API path is deliberately fixed:

For a different path, build with the matching Vite base and then publish the compiled assets:

vben-admin:publish-assets copies the compiled application to public/{VBEN_ADMIN_PATH}. It refuses unsafe, reserved, or non-empty destinations unless --force is explicitly provided. The Laravel API always remains at /api/admin and project PHP extensions belong in app/Admin.

To own and freely edit the workspace in a consuming project, publish its Vue source once:

Edit resources/admin/workspace/index.vue, then build the package frontend with VBEN_ADMIN_WORKSPACE pointing to that file. The command prints the exact build command for the current project. Without this environment variable the shared default workspace remains active.

Install

完整的中文安装、启动、Path 仓库联调和前端构建说明见 安装文档。

安装后继续开发权限、菜单、API、数据库和Vben页面时,请先阅读 AGENTS.md 会要求其遵守相同架构和验收规则;在宿主项目中开发时,请按二次开发指南提供的片段把规则接入宿主项目的 AGENTS.md。

登录日志与后台操作日志统一基于 spatie/laravel-activitylog 存储,并通过稳定的包契约记录、脱敏和查询;具体规则见二次开发指南的“权限与审计”章节。

列表页提供统一搜索面板、权限按钮、自动刷新、当前页 CSV 导出、多操作折叠和按需批量操作组件;大数据导出应在宿主项目按二次开发指南实现队列任务和独立服务端权限。

The repeatable installer preserves existing configuration and project extensions, publishes missing scaffolding, runs migrations, synchronizes package-owned system data, creates the fixed administrators when missing, installs locked frontend dependencies, builds and atomically publishes the administration UI, and clears Laravel caches. After a Composer package upgrade, run:

Use vben-admin:update --dry-run to preview an update. CI deployments may use --skip-frontend or --skip-migrate only when those stages are handled separately.

The initial accounts are:

Running the installer again never resets an existing administrator's password. Change the default password immediately after the first login. Use vben-admin:create-admin when an additional super administrator is required.

API foundation

All paths use the fixed /api/admin prefix:

Protected requests use the returned Bearer token. Administrator tokens are created with the admin ability and the package verifies both the token ability and administrator model.

Protect a host route

The Vben UI may hide inaccessible buttons, but Laravel middleware remains the authorization boundary.

Register a business module

Implement AdminModule in the host project and register it during application boot:

Then preview and apply definitions:

Synchronization never deletes custom records or resets role assignments.

Architecture boundary

Business and supplier platforms install the same package into different Laravel applications. They must not share administrator tables, tokens, cookies, cache prefixes, audit records or application keys.

The package owns generic administration only. Match, broadcast, source, media and commentary state machines belong to their host applications.


All versions of laravel-vben-admin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
bacon/bacon-qr-code Version ^3.1
chencongbao/foundation Version ^1.11
illuminate/auth Version ^13.0
illuminate/console Version ^13.0
illuminate/database Version ^13.0
illuminate/http Version ^13.0
illuminate/routing Version ^13.0
illuminate/support Version ^13.0
laravel/sanctum Version ^4.3
pragmarx/google2fa Version ^9.1
spatie/laravel-activitylog Version ^5.1
symfony/process Version ^8.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 chencongbao/laravel-vben-admin contains the following files

Loading the files please wait ...