tomasvotruba/punchcard 问题修复 & 功能扩展

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

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

tomasvotruba/punchcard

最新稳定版本:0.2.7

Composer 安装命令:

composer require tomasvotruba/punchcard

包简介

Lazy and strict way to configure your Laravel projects

README 文档

README

I love Laravel, but I'm terrible at working with an array. I used the wrong keys and deleted the needed items, and my project kept crashing. So I did this project to help me with that.


Installation

composer require tomasvotruba/punchcard

Usage

This package provides basic fluent config classes for the Laravel project /config directory.

You can use the right away after installing this package, e.g. in your config/cache.php:

<?php

declare(strict_types=1);

use TomasVotruba\PunchCard\CacheConfig;

return CacheConfig::make()
    ->default(env('CACHE_DRIVER', 'file'))
    ->stores([
        'array' => [
            'driver' => 'array',
            'serialize' => false,
        ],
    ])
    ->toArray();

The default configuration is used by default. You have to set values that are changed.


Happy coding!

统计信息

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

GitHub 信息

  • Stars: 146
  • Watchers: 3
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固