Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace App\Http\Requests\Module; use App\Abstracts\Http\FormRequest; class Ins..
Decoded Output download
<?php
namespace App\Http\Requests\Module;
use App\Abstracts\Http\FormRequest;
class Install extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'name' => 'nullable|string',
'alias' => 'alpha_dash',
'version' => 'nullable|regex:/^[a-z0-9.]+$/i',
'installed' => 'nullable|regex:/^[a-z0-9.]+$/i',
'path' => 'nullable|string',
];
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace App\Http\Requests\Module;
use App\Abstracts\Http\FormRequest;
class Install extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'name' => 'nullable|string',
'alias' => 'alpha_dash',
'version' => 'nullable|regex:/^[a-z0-9.]+$/i',
'installed' => 'nullable|regex:/^[a-z0-9.]+$/i',
'path' => 'nullable|string',
];
}
}
Function Calls
None |
Stats
MD5 | 3b11719ae1ba6e667cacafc698e7793e |
Eval Count | 0 |
Decode Time | 107 ms |