This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="input-group mb-3"> | |
<input type="email" name="EMAIL" class="form-control" placeholder="Recipient's email" | |
aria-label="email address" aria-describedby="button-addon2"> | |
<div class="input-group-append"> | |
<button class="btn btn-outline-secondary" type="submit" | |
id="button-addon2">Subscribe</button> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row form-area"> | |
<div class="col-md-4 col-sm-12 col-xm-12"> | |
<div class="form-group"> | |
<label>Full Name <span>*</span></label> | |
[text* your-name class:form-control] | |
</div> | |
</div> | |
<div class="col-md-4 col-sm-12 col-xm-12"> | |
<div class="form-group"> | |
<label>Email <span>*</span></label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-md-4"> | |
<div class="form-group"> | |
<label>Schedule</label> | |
[date* date class:form-control] | |
</div> | |
</div> | |
<div class="col-md-4"> | |
<div class="form-group"> | |
<label>Email Address</label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-md-4 col-sm-4"> | |
<label>Distance(km)</label> | |
[text* distance class:form-control] | |
</div> | |
<div class="col-md-4 col-sm-4"> | |
<label>Weight(kgs)</label> | |
[text* weight class:form-control] | |
</div> | |
<div class="col-md-4 col-sm-4"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-md-4"> | |
<div class="form-group"> | |
<label>Booking no, Containers no or B/L</label> | |
[text* booking-no class:form-control] | |
</div> | |
</div> | |
<div class="col-md-4"> | |
<div class="form-group"> | |
<label>Email Address</label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We import the support for this Helper | |
use Illuminate\Support\Arr; | |
// We use the method Arr::divide() | |
[$keys, $values] = Arr::divide(['name' => 'Shameem Reza', 'price' => '3.40']); | |
// We obtain the keys and values separately | |
$keys: ['name', 'price'] | |
$values: ['Shameem Reza', '3.40'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We analyze if there are blank or null values | |
blank(''); | |
blank(' '); //Here we have blank spaces | |
blank(null); | |
// If there is a blank value or blank spaces we get 'true' | |
blank(0); | |
blank(true); | |
blank(false); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$url = Str::slug('Shameem Reza'); | |
// We get the following friendly URL | |
gelatina-de-fresa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$url = Str::slug('Shameem Reza', '+'); | |
// We get the following friendly URL | |
shameem+reza |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We import the support for this Helper | |
use Illuminate\Support\Arr; | |
$products = ['drinks' => ['Name' => 'Strawberry Juice', 'price' => '3.60']]; | |
$check = Arr::has($products, 'drinks.name'); | |
// We get true | |
$check = Arr::has($products, ['drinks.name', 'drinks.price']); |