larafly/tools

v1.0.0 2024-12-16 08:57 UTC

This package is auto-updated.

Last update: 2025-01-16 09:33:44 UTC


README

install

composer require larafly/tools

Use

  • EnvUtil: get environment
<?php
use Larafly\Tools\EnvUtil;

$is_local = EnvUtil::isLocal();
$is_test = EnvUtil::isTest();
$is_production = EnvUtil::isProduction();