aden551/dd 问题修复 & 功能扩展

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

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

aden551/dd

Composer 安装命令:

composer require aden551/dd

包简介

learning for log

README 文档

README

install via composer

composer require aden551/dd

run migrate

php artisan migrate --path=vendor/aden551/dd/database/migrations

add it in your controller

use Aden\Tool\Dd;

Function

! log(array/string $log1,log2,log3)
Description:The Code is functioning properly.save your data in database.But it will add the log in your database,the table name is getlog.
Parameter:$log1 is array/string

! Dd(array/string $log1,log2,log3)
Description:stop code and dd show it .save your data in database.But it will add the log in your database,the table name is getlog.
Parameter:$log1 is array/string
Return:dd($log1)

Example

<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Aden\Tool\Dd;

class TestController extends Controller
{
    public function test(Request $request)
    {
        $array = 'test';
        
        //單純記錄參數不停止CODE運行
        dd::log($array);
        //靜態記錄你的array && DD SHOW IT
        dd::dd($array);

    }

}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-07-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固