PHP code example of neophp / regexbuilder-package

1. Go to this page and download the library: Download neophp/regexbuilder-package 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/ */

    

neophp / regexbuilder-package example snippets


return [
    // ...
    'packages' => [
        \Vendor\NeoPHP\RegexBuilderPackage\NeoRegexBuilderPackage::class,
    ],
];

regexbuilder-package/
├── composer.json
├── README.md
└── src/
    ├── NeoRegexBuilderPackage.php
    ├── Middleware/
    │   └── DevOnlyMiddleware.php
    ├── Controller/
    │   └── RegexBuilderController.php
    ├── Assets/
    │   ├── css/regexbuilder.css
    │   └── js/regexbuilder.js
    └── Templates/
        ├── components/
        │   └── RegexBuilder.macro.html.twig
        └── pages/
            └── builder.html.twig
css
.rb-layout {
    --rb-accent: #6366f1;
    --rb-bg: #161923;
    --rb-bg-alt: #1b2030;
    --rb-border: #2d3342;
    --rb-text: #e5e7eb;
    --rb-text-muted: #9ca3af;
    --rb-mark-bg: #fbbf24;
}