| Package Data | |
|---|---|
| Maintainer Username: | Sukohi |
| Maintainer Contact: | capilano.sukohi@gmail.com (Sukohi) |
| Package Create Date: | 2014-09-18 |
| Package Last Update: | 2017-01-31 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-06 15:11:39 |
| Package Statistics | |
|---|---|
| Total Downloads: | 50 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
A PHP package mainly developed for Laravel to generate "postLink" like cakePHP has.
(This is for Laravel 5+. For Laravel 4.2)
Add this package name in composer.json
"require": {
"sukohi/menco": "2.*"
}
Execute composer command.
composer update
Register the service provider in app.php
'providers' => [
...Others...,
Sukohi\Menco\MencoServiceProvider::class,
]
Also alias
'aliases' => [
...Others...,
'Menco' => Sukohi\Menco\Facades\Menco::class
]
$extra_data = [
'data' => 'data',
'data2' => 'data2',
'data3' => 'data3'
];
echo \Menco::get([
'id' => 'your-id',
'label' => 'Your Label',
'url' => \URL::to('/'),
'class' => 'your-class-name',
'message' => 'Are you sure?',
'title' => 'Your Title', // You can add properties you want.
], $extra_data);
All of the parameters are Optional.
This package is licensed under the MIT License.
Copyright 2014 Sukohi Kuhoh