PHP code example of elavora / api-datatype-url

1. Go to this page and download the library: Download elavora/api-datatype-url library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

elavora / api-datatype-url example snippets


use Elavora\Api\DataTypes\Url;

$valor = new Url('https://example.com');
$normalizado = $valor->value();
powershell
docker run --rm --mount "type=bind,source=$($PWD.Path),target=/workspace" -w /workspace ghcr.io/elavora/php-dev:8.3-latest sh -lc 'git config --global --add safe.directory /workspace && composer install --no-interaction --prefer-dist && composer check'