Download the PHP package jjg/admin without Composer

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

Laravel 后台开发扩展包

Installation

This package requires PHP 7+ and Laravel 5.5

First, install laravel 5.5, and make sure that the database connection settings are correct.

Then run these commands to publish assets and config:

After run command you can find config file in config/admin.php, in this file you can change the install directory,db connection or table names.

At last run following command to finish install.

修改 auth 的 users model

config/auth.php

重写异常类的 unauthenticated 方法:app/Exceptions/Handler.php (mladmin:install 若未选择替换,则需要手动配置)

策略类注册(需要手动添加)

文件上传 (需要配置)

config/filesystems.php

追加配置:

获取当前-Laravel Active (已自动引入,无需安装)

Get the current controller class

https://www.hieule.info/products/laravel-active-version-3-released

执行命令创建用户

开启服务

Laravel development server started: http://127.0.0.1:8000

进入后台: http://127.0.0.1:8000/admin

新增创建 控制器和view 的命令

使用类翻译扩展(https://packagist.org/packages/shaozeming/laravel-translate)

默认引入,若异常可自行引入,命令如下

例如:要建一个对files 表的 增删改查操作 1)创建控制器

2)找到 控制文件 app/Http/Controllers/Admin/FilesController.php 复制 路由相关的代码到 路由文件 routes/admin.php

3)创建前端视图代码

会生成文件: resources/views/backend/files/create_edit.blade.php resources/views/backend/files/index.blade.php

4)配置导航菜单 config/admin.php


All versions of admin with dependencies

PHP Build Version
Package Version
Requires doctrine/dbal Version ^2.9
spatie/laravel-permission Version ^2.29
intervention/image Version ^2.4
hieu-le/active Version ^3.5
rap2hpoutre/laravel-log-viewer Version ^1.0
shaozeming/laravel-translate Version ^1.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 jjg/admin contains the following files

Loading the files please wait ....