codersgift/installer 问题修复 & 功能扩展

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

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

codersgift/installer

Composer 安装命令:

composer require codersgift/installer

包简介

This package work for laravel installer, for install any application

README 文档

README

Laravel Logo

Build Status Total Downloads Latest Stable Version License

Laravel Installer package

Step - 1:

env file add this code

APP_INSTALL=NO

Step -2:

Add provider file
Laravel 11:
bootstrap/providers.php

Or

Laravel < 11
config/app.php

Add this file

Codersgift\Installer\InstallerServiceProvider::class,

Add this file for middleware working

Route::group(['middleware' => 'installed'], function () {
		Route::get('/', function () {
				return view('welcome');
		});

		Route::get('/hello-world', function () {
				return "Hello world page, finally done";
		})->name('helloworld');
});

Step - 3: (This is Option ) - Use it if you are using this package in root folder

composer.json file

"autoload-dev": {
		"psr-4": {
		"Tests\\": "tests/",
		"Codersgift\\Installer\\": "package/Installer/src/"
		}
},

Step - 3: Publish the Assets

php artisan vendor:publish --tag=installer-assets
This will copy the assets to public/install/css.

Step - 4 : if you choose fresh data you have the available Setting model

Step for fresh data
The user create so user table

$table->foreignId('role_id')->default(2);
$table->boolean('status')->default(false);

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-14