mphpmaster/laravel-class-access-wrapper

Laravel class access wrapper

1.0.0 2023-06-11 03:23 UTC

This package is auto-updated.

Last update: 2024-10-20 11:50:05 UTC


README

Installation:

composer require mphpmaster/laravel-class-access-wrapper

Usage:

$class = new \MPhpMaster\LaravelClassAccessWrapper\ClassAccessWrapper(\Illuminate\Http\Request::class);
dd(
  $class->id, // get property
  $class->all(), // call method
  isset($class->id), // check property is exist
  ($class->id = 1), // set property 
);

License

The Laravel framework is open-sourced software licensed under the MIT license.

The Laravel Helpers is open-sourced software licensed under the MIT license.