Download the PHP package meilunzhi/laravel-vue-admin without Composer

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

Laravel-Vue-Admin

安装

配置

添加提供者到config/app.php。
发布资源
数据库配置

在数据库中新好数据库,在.env中进行配置

配置config/auth.php
导入数据

运行如下命令导入后台数据表

生成jwt秘钥
配置中间件

需要在app/Http/Kernel.php中增加如下中间件

命令

一键生成命令
重置管理员密码
测试运行

需要在数据库中创建一个数据表,如test,数据迁移如下:

迁移数据

运行生成命令

在routes/admin.php中会生成对应的路由,需要给它们加上service中间件,建议放在group下面,就不用每一个都写一个->middleware('service'),可以参考vendor/frey/laravel-vue-admin/routes/route.php路由配置,例:

permission中间件为权限验证中间件,使用时需要传入守卫名称,如permission:admin,每一个路由都是一个操作,他们的标识符为路由名称。资源路由默认以“接口名称.index”形式作为路由名称。

浏览器访问: http://yourdomain.php/admin/test 就可以看到效果了。

文件系统设置

在.env里面配置文件系统驱动

然后运行命令

其他配置

jwt默认生命周期为1小时,也就是60分钟,如果想要调整,需要在.env中配置

前端

前端视图页面放在resources/page里面,需要在根目录中的.env中加入如下配置:

运行:

代理配置在根目录下的vue.config.js中,可以运行npm run build:prod编译,需要在routes/web.php 中修改路由,

编译之后就可以通过访问域名来访问后台了。

组件使用

主要的两大组件为:PowerfulTable、PowerfulForm。一个用于表格显示,一个用于表单显示。他们位于resources/page/components下,应用参考views/auth或者views/system页面组件。


All versions of laravel-vue-admin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0|^8.1
league/fractal Version ^0.20.1
tymon/jwt-auth Version ^2.0
laravel/framework Version ^9.52.7
spatie/laravel-permission Version ^5.10.1
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 meilunzhi/laravel-vue-admin contains the following files

Loading the files please wait ....