Skip to content

Instantly share code, notes, and snippets.

@tao
tao / gist:fba880299bdfdcfd491582724ede9dd7
Last active September 11, 2023 14:29
Using Passport with Laravel Spark
# Installation
As far as I know this is how to get Passport on Laravel Spark working correctly, it works so far for me over the API but there might be something I am still missing.
I am using the following software versions in composer.json:
```
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.3.*",
@hissy
hissy / single_page.php
Last active February 4, 2020 23:11
How to use Bootstrap Tabs in concrete5 dashboard
<?php echo Loader::helper('concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Single Page Name'), false, false, false, false, false, false); ?>
<div class="ccm-pane-body">
<?php
// Tab setting using array
$tabs = array(
// array('tab-id', 'Tag Label', true=active)
array('tab-1', 'Tab 1', true),
array('tab-2', 'Tab 2'),