承接 voyager-inc/quote-replace 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

voyager-inc/quote-replace

Composer 安装命令:

composer require voyager-inc/quote-replace

包简介

A package to replace quote in string

README 文档

README

PHP v8.2

Laravel v11.x

Installation

composer require voyager-inc/quote-replace
  • Publish provider
php artisan vendor:publish --provider="VoyagerInc\QuoteReplace\ServiceProvider"
  • Install example code if you want
php artisan quote-replace:install-example

and now the package will generate Controller, Route, Request and View

  • QuoteReplaceController.php -> Controller
  • QuoteReplaceSubmitRequest.php -> Request
  • quote_replace.php -> Route
  • quoteReplace.blade.php -> View

Usage

  • We can enable/disable of package with config enabled in quote_replace.php file with value is true to enable or false to disable.

  • For example:

  • In web.php add this line below to load quote_replace route of package for test

require __DIR__ . '/quote_replace.php';
  • quote_replace.php file route with content:
Route::get('/quote-replace/test', [\App\Http\Controllers\QuoteReplaceController::class, 'index'])->name('quoteReplace.index');
Route::post('/quote-replace/submit', [\App\Http\Controllers\QuoteReplaceController::class, 'submit'])->name('quoteReplace.submit');

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-22