PHP code example of elegantmedia / oxygen-foundation
1. Go to this page and download the library: Download elegantmedia/oxygen-foundation 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/ */
elegantmedia / oxygen-foundation example snippets
php artisan oxygen:foundation:install
php
php artisan oxygen:seed
php
<ul>
@foreach (\Navigator::getNavBar('default')->items() as $item)
@if ($item->isUserAllowedToSee())
<li>
@if ($item->hasUrl())
<a href="{{ $item->getUrl() }}">
@endif
@if ($item->hasIcon())
<i class="{{ $item->icon_class }}"></i>
@endif
<span>{{ $item->text }}</span>
@if ($item->hasUrl())
</a>
@endif
</li>
@endif
@endforeach
</ul>