承接 anandaerditya/dotls 相关项目开发

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

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

anandaerditya/dotls

最新稳定版本:1.0.0

Composer 安装命令:

composer require anandaerditya/dotls

包简介

Package for reading and fetch dot-ls (.ls) config file into associative array.

README 文档

README

Static Badge Static Badge Static Badge Static Badge

Description

Dotls, a PHP package for convert a .ls configuration file into readable config array.

Package Description

Requirements

  • PHP Version 8.0 or higher
  • PHP fileinfo extension

Installing Package

Use the following command to install the package via Composer Dependency Manager.

composer require anandaerditya/dotls

Using The Package

  1. Create your .ls configuration file.

    You can create your own .ls file to any directory inside your project. Make sure your .lsfile
    contains at least one pair syntax as follows :

    foo:value
    foo_bar:value
    
  2. Register .ls configuration file.

    Register your .ls file using register() method as follows :

     $dotls = ( new Dotls() )->register('path/to/your/.ls');
    
  3. Using your .ls configuration file

    Use ls() method to load your configuration into your project as follows :

     ls('foo');
     ls('foo_bar');
    

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-26