kajalpandya/generate_laravel_crud 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kajalpandya/generate_laravel_crud

Composer 安装命令:

composer require kajalpandya/generate_laravel_crud

包简介

Run command in terminal and make ready made crud for your entity

README 文档

README

create new directory in your root folder

$ composer create-project --prefer-dist laravel/laravel blog

go to your directory

$ cd blog

move .env.example file to .env

$ mv .env.example .env

generate your app key

$ php artisan key:generate

set your database configuration in .env file

run localhost:8000 in your browser

if all working good then put this line to your composer.json file

"kajalpandya/generate_laravel_crud": "dev-master",

update composer

$ composer update

Register provider and aliases

then put this line to your config/app.php file in providers array Youcandothis\Crud\CrudServiceProvider::class, Intervention\Image\ImageServiceProvider::class,

and this in aliases array 'Image' => Intervention\Image\Facades\Image::class,

Remove below files

database/migrations database/seeds

Clear the cache

$ php artisan config:cache

Auto load files

$ composer dump-autoload

Clear the cache again

$ php artisan config:cache

Finaly publish the provider

$ php artisan vendor:publish --provider="Youcandothis\Crud\CrudServiceProvider"

copy routes from below file

vendor/kajalpandya/youcandothis/crud/src/web.php

Register middleware in app\Http\Kernel.php in $routeMiddleware group

'admin' => \App\Http\Middleware\AdminOnly::class,

autoload helper file in your composer.json file under "autoload" array

"files": [ "app/helpers.php" ]

put this in DatabaseSeeder run function

$this->call(SiteSettingsTableSeeder::class); $this->call(UsersTableSeeder::class); $this->call(BlogCategoriesTableSeeder::class); $this->call(BlogsTableSeeder::class); $this->call(ExtrasTableSeeder::class); $this->call(TestimonialsTableSeeder::class);

then run

$ php artisan migrate && php artisan db:seed

make tmp folder in public

then run localhost:8000

Have fun..!!!!!

clone direct repository from below url

https://github.com/kajal98/laravel-ready-admin-panel

Screenshots

Register register
Login login
Dashboard 1
User Listing 2
Change Profile 3
Change Password 4
Site Settings 5
Blog Listing 6
Add new blog 7
Edit Blog 8
Show Blog 9
Inquiries Listing 10
Extra Pages 11
Edit Extra Pages 12
FAQs 13
Testimonials 14
Forgot Password 15
Reset Password 16

统计信息

  • 总下载量: 1.47k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 14
  • Watchers: 2
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: Unknown
  • 更新时间: 2018-07-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固