artincms / laravel_portfolio
Official ArtinCMS.com Laravel Gallery Systems Package
Installs: 66
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Requires
- artincms/laravel_file_manager: dev-master
- artincms/laravel_tagable: dev-master
- hashids/hashids: ^3.0
- yajra/laravel-datatables-oracle: ~8.0
This package is auto-updated.
Last update: 2025-03-13 18:06:12 UTC
README
laravel Portfolio manager is a laravel package
Requiments
- PHP >= 7.0
- Laravel 5.5|5.6
- vue js (if you want use our vue js template)
Installation
Quick installation
composer require artincms/laravel_portfolio
publish vendor
$ php artisan vendor:publish --provider="ArtinCMS\LPM\LPMServiceProvider" --force
migrate tabales
$ php artisan migrate
seed larave file manager data to lfm_file_mime_type table
php artisan db:seed --class="ArtinCMS\LFM\Database\Seeds\FilemanagerTableSeeder"for more learn about laravel file manager setup you can visit laravel file manager
usage
for Manage portfolio manager backend url is :http://yourDomain/LPM/Portfolio
for use laravel portfolio in frontend of site you should use encode below html code in your project :
<div id="portfolio">
<laravel_portfolio :category_id="1" :lang_id=1 :rtl=true></laravel_portfolio>
</div>
and create javascript file as sample bellow .
window.Vue = require('vue');
Vue.component('laravel_portfolio', require('./components/laravel_portfolio/laravel_portfolio.vue'));
window.onload = function () {
const portfolio = new Vue({
el: '#portfolio',
});
}
if you dont want devlope this template you can just load this javascript file
<script src="{{ asset('vendor/laravel_portfolio/components/portfolio.min.js') }}" defer></script>
Props
Props | Type | Default | Description |
---|---|---|---|
gallery_id | Number | 0 | gallery you want show if you set it to 0 show all gallery in main root |
lang_id | Number | null | The language item if set to null select all language |
rtl | Boolean | true | the direction of page rtl set true and ltr set to false |
Other my Vue JS plugins
Project | Description | npm install |
---|---|---|
axios | Promise based HTTP client for the browser and node.js | npm install axios |
Vue Translate Plugin | A VueJS (1.x, 2.0+) plugin for basic translations. | npm i vue-translate-plugin |