Skip to content

Instantly share code, notes, and snippets.

@monish-khatri
Last active September 5, 2023 06:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monish-khatri/227552d98b14012bd198f1f8611f2c3f to your computer and use it in GitHub Desktop.
Save monish-khatri/227552d98b14012bd198f1f8611f2c3f to your computer and use it in GitHub Desktop.
Testing Gist
<?php
// hidden directive in blade file
@hidden('user_id', $user->id)
// Output
<input type="hidden" name="user_id" value="{{$user->id}}">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment