Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Make a string's first character lowercase
<?php lcfirst(string $string): string
<?php             })

            ->each(function (InputArgument $argument) use ($input) {

                $label = $this->promptForMissingArgumentsUsing()[$argument->getName()] ??

                    'What is '.lcfirst($argument->getDescription() ?: ('the '.$argument->getName())).'?';



                if ($label instanceof Closure) {

                    return $input->setArgument($argument->getName(), $argument->isArray() ? Arr::wrap($label()) : $label());
<?php         static::$getAttributeMutatorCache[$class] =

            collect($attributeMutatorMethods = static::getAttributeMarkedMutatorMethods($classOrInstance))

                    ->mapWithKeys(function ($match) {

                        return [lcfirst(static::$snakeAttributes ? Str::snake($match) : $match) => true];

                    })->all();



        static::$mutatorCache[$class] = collect(static::getMutatorMethods($class))
<?php         static::$mutatorCache[$class] = collect(static::getMutatorMethods($class))

                ->merge($attributeMutatorMethods)

                ->map(function ($match) {

                    return lcfirst(static::$snakeAttributes ? Str::snake($match) : $match);

                })->all();

    }
<?php             'DummyModelClass' => class_basename($modelClass),

            '{{ model }}' => class_basename($modelClass),

            '{{model}}' => class_basename($modelClass),

            'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            '{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            '{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ];
<?php             '{{ model }}' => class_basename($modelClass),

            '{{model}}' => class_basename($modelClass),

            'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            '{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            '{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ];
<?php             '{{model}}' => class_basename($modelClass),

            'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            '{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            '{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ];



        return str_replace(
<?php     protected function addAddresses($address, $name, $type)

    {

        if (is_array($address)) {

            $type = lcfirst($type);



            $addresses = collect($address)->map(function ($address, $key) {

                if (is_string($key) && is_string($address)) {
<?php             'ParentDummyModelClass' => class_basename($parentModelClass),

            '{{ parentModel }}' => class_basename($parentModelClass),

            '{{parentModel}}' => class_basename($parentModelClass),

            'ParentDummyModelVariable' => lcfirst(class_basename($parentModelClass)),

            '{{ parentModelVariable }}' => lcfirst(class_basename($parentModelClass)),

            '{{parentModelVariable}}' => lcfirst(class_basename($parentModelClass)),

        ];
<?php             '{{ parentModel }}' => class_basename($parentModelClass),

            '{{parentModel}}' => class_basename($parentModelClass),

            'ParentDummyModelVariable' => lcfirst(class_basename($parentModelClass)),

            '{{ parentModelVariable }}' => lcfirst(class_basename($parentModelClass)),

            '{{parentModelVariable}}' => lcfirst(class_basename($parentModelClass)),

        ];

    }
<?php             '{{parentModel}}' => class_basename($parentModelClass),

            'ParentDummyModelVariable' => lcfirst(class_basename($parentModelClass)),

            '{{ parentModelVariable }}' => lcfirst(class_basename($parentModelClass)),

            '{{parentModelVariable}}' => lcfirst(class_basename($parentModelClass)),

        ];

    }
<?php             'DummyModelClass' => class_basename($modelClass),

            '{{ model }}' => class_basename($modelClass),

            '{{model}}' => class_basename($modelClass),

            'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            '{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            '{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ]);
<?php             '{{ model }}' => class_basename($modelClass),

            '{{model}}' => class_basename($modelClass),

            'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            '{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            '{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ]);

    }
<?php             '{{model}}' => class_basename($modelClass),

            'DummyModelVariable' => lcfirst(class_basename($modelClass)),

            '{{ modelVariable }}' => lcfirst(class_basename($modelClass)),

            '{{modelVariable}}' => lcfirst(class_basename($modelClass)),

        ]);

    }
<?php             return static::$camelCache[$value];

        }



        return static::$camelCache[$value] = lcfirst(static::studly($value));

    }
<?php                 'Argument #%d of %s() must be %s %s',

                $argument,

                $function,

                in_array(lcfirst($type)[0], ['a', 'e', 'i', 'o', 'u'], true) ? 'an' : 'a',

                $type

            )

        );