定制 mirosadoma/amr_components 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mirosadoma/amr_components

最新稳定版本:1.7

Composer 安装命令:

composer require mirosadoma/amr_components

包简介

Amr Components Method

README 文档

README

Install

first clone new project

second composer require mirosadoma/amr_components

** remove all migrations in database/migrations make it empty

php artisan vendor:publish --tag=amr_components --ansi

in config/app :

'locale' => 'ar'

And put this code in App\Http\Controllers\Controller.php

public function __construct()
{
    setViewPath($this);
}

Used

for create new component :

php artisan component:create {component_name}

- And Follow These Steps In The Terminal

................................................................

- What Is The Count Of Your Inputs:
=> Write The Count Of The Inputs
like : 3

- Please Write The Name Of Input 1 :-
=> Write The Name Only Like In The Column In Database
like : title

- Please Write The Type Of Input (title) In Table [ string, integer, tinyInteger, bigInteger, float, double, decimal, text, longText, date, dateTime, time, timestamp ] :-
=> Write The Type From Up Only , If Not In Up You Will Have A Message "Type Not Found Please Choose From Up"
like : string

- Please Write If The Input (title) Is Translation Or Not [ y , n ] :-
=> Write y Or n From Up Only , If Not In Up You Will Have A Message "Answer Not Found Please Choose From Up"
if The Input have tow languages You Can Choose "y" If Not You Can Choose "n"
like : y

- If This Input (title) Is File Upload ? [ y , n ] :-
=> Write y Or n From Up Only , If Not In Up You Will Have A Message "Answer Not Found Please Choose From Up"
if The Input Is File Type You Can Choose "y" If Not You Can Choose "n"
like : n

- Do You Want This Input (title) In Search [ y , n ] :-
=> Write y Or n From Up Only , If Not In Up You Will Have A Message "Answer Not Found Please Choose From Up"
if You Want The Input In Index.php File In Search Wedgit You Can Choose "y" If Not You Can Choose "n"
like : Y

if answer is "y"
- If This Input (title) Is Select [ y , n ] :-
=> Write y Or n From Up Only , If Not In Up You Will Have A Message "Answer Not Found Please Choose From Up"
if You Want The Input In Search Wedgit Is Select You Can Choose "y" If Not You Can Choose "n"
like : n

-  Please Write The Name Of Input 2 :-
=> Write The Name Only Like In The Column In Database
like : price

- Please Write The Type Of Input (price) In Table [ string, integer, tinyInteger, bigInteger, float, double, decimal, text, longText, date, dateTime, time, timestamp ] :-
=> Write The Type From Up Only , If Not In Up You Will Have A Message "Type Not Found Please Choose From Up"
like : integer

- Do You Want This Input (price) In Search [ y , n ] :-
=> Write y Or n From Up Only , If Not In Up You Will Have A Message "Answer Not Found Please Choose From Up"
if You Want The Input In Index.php File In Search Wedgit You Can Choose "y" If Not You Can Choose "n"
like : n

- Please Write The Name Of Input 3 :-:
=> Write The Name Only Like In The Column In Database
like : image

- Please Write The Type Of Input (image) In Table [ string, integer, tinyInteger, bigInteger, float, double, decimal, text, longText, date, dateTime, time, timestamp ] :-
=> Write The Type From Up Only , If Not In Up You Will Have A Message "Type Not Found Please Choose From Up"
like : string

- Please Write If The Input (image) Is Translation Or Not [ y , n ] :-
=> Write y Or n From Up Only , If Not In Up You Will Have A Message "Answer Not Found Please Choose From Up"
if The Input have tow languages You Can Choose "y" If Not You Can Choose "n"
like : n

- If This Input (title) Is File Upload ? [ y , n ] :-
=> Write y Or n From Up Only , If Not In Up You Will Have A Message "Answer Not Found Please Choose From Up"
if The Input Is File Type You Can Choose "y" If Not You Can Choose "n"
like : y

-  If This File Upload (image) Is :-  [ image , file ] :-
=> Write y Or n From Up Only , If Not In Up You Will Have A Message "Answer Not Found Please Choose From Up"
if The Input Is File Type Is Image You Can Choose "image" Else If File You Can Choose "file"
like : image

- If This File Upload (image) Is Multiple :-  [ y , n ] :-
=> Write y Or n From Up Only , If Not In Up You Will Have A Message "Answer Not Found Please Choose From Up"
if The File Type Is Multiple You Can Choose "y" If Not You Can Choose "n"
like : y


====== If The Component Name Is Found Befor You Can Of : =======

- This Component Name Is Found Do Yo Want Replace This ? [Y | N]:
=> Write y Or n From Up Only , If Not In Up You Will Have A Message "Answer Not Found Please Choose From Up"
if You Want Replace It You Can Choose "y" If Not You Can Choose "n"
if like "n"

The End Message Is : Component Create Stop

else like "y"

The End Message Is : {component_name} Component Created

ENV


MAP_KEY : Like This In .env File: -

MAP_KEY=AIzaSyBGBnkYBV7LW1eqj8gBTw50t7OB6FB5-p0

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固