Download the PHP package comingdemon/admin-laravel without Composer

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

PHP Demon Admin Library For Laravel

服务说明

本服务仅支持Laravel6+(包含7和8)

正常来说是内部开发使用的,外部使用也可以(水平有限,请慎用,可能会有漏洞或者性能问题)

使用的Bootstrap4作为基础前端框架,jQuery版本为3.5

前置说明

  1. 例子用的是MYSQL5.7(有json字段),如果不需要的话释放迁移后请手动将字段改成text(example_master.stub)

安装说明

  1. 使用composer安装服务
  2. 在config/app.php的providers中增加本服务
  3. 设置admin的数据库连接(默认是admin)以及相关database配置
  4. 编辑AppServiceProvider文件中的boot方法,增加默认字符长度,用于解决laravel的session表默认字符串255导致无法生成索引的问题,
  5. 执行命令生成建表迁移文件
  6. 执行迁移动作生成对应表和初始数据
  7. 设置静态资源文件目录(不用写public)
  8. 发布资源到对应目录,设置访问路径(默认是admin)
  9. 设置静态资源CDN(默认没有,只读本地)
  10. 大功告成
  11. 可以在vendor/comingdemon/admin-laravel目录中查看源码用于参考或调试
  1. composer require comingdemon/admin-laravel
  2. edit config/app.php providers add Demon\AdminLaravel\AdminServiceProvider::class
  3. edit.env (ADMIN_CONNECTION) or add config/admin.php (edit connection, default : admin)
  4. edit config/database.php : connections add {connection}
  5. edit AppServiceProvider boot : Schema::defaultStringLength(191)
  6. php artisan admin:table
  7. php artisan migrate
  8. edit.env (ADMIN_STATIC) or add config/admin.php (edit static, default : /static/admin)
  9. php artisan vendor:publish --tag=admin-all (If only the asset is updated later, --tag=admin-asset)
  10. edit.env (ADMIN_PATH) or add config/admin.php (edit path, default : admin)
  11. edit.env (ADMIN_CDN) or add config/admin.php (edit cdn, default : )
  12. browser url {address}/admin or {path}

进阶操作

  1. config('admin.access') = env('ADMIN_ACCESS', false) //开启权限校验(需要数据库支持,默认账号:admin,默认密码:demon)
  2. config('admin.authentication') = env('ADMIN_AUTHENTICATION') //自定义授权控制器
  3. config('admin.badge') = env('ADMIN_BADGE') //自定义菜单标记统计的类
  4. config('admin.session.*') = env('ADMINSESSION*') //设置session配置(和laravel自带的session一致)
  5. config('admin.element.*') = env('ADMINELEMENT*') //设置页面元素对应的视图

特殊申明

本库已发布至Composer,理论上只内部使用,如有问题请自行解决,概不提供服务

最终解释权归魔网天创信息科技:尘兵所属


All versions of admin-laravel with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
laravel/framework Version >=6.0
comingdemon/demon Version ^1.0.3
comingdemon/admin-asset Version ^1.0
gregwar/captcha Version ^1.1.9
phpoffice/phpspreadsheet Version ^1.16
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 comingdemon/admin-laravel contains the following files

Loading the files please wait ....