Giter Club home page Giter Club logo

luna-portfolio's Introduction

LYRASOFT Portfolio Package

p-001-2021-11-23-03-08-34

Installation

Install from composer

composer require lyrasoft/portfolio

Then copy files to project

php windwalker pkg:install lyrasoft/portfolio -t routes -t lang -t migrations -t seeders

Seeders

  • Add portfolio-seeder.php to resources/seeders/main.php
  • Add portfolio type to category-seeder.php

Languages

If you don't want to copy language files, remove -t lang from install command.

Then add this line to admin & front middleware:

$this->lang->loadAllFromVendor('lyrasoft/portfolio', 'ini');

Register Admin Menu

Edit resources/menu/admin/sidemenu.menu.php

// Category
$menu->link('作品分類')
    ->to($nav->to('category_list', ['type' => 'portfolio']))
    ->icon('fal fa-sitemap');

// Portfolio
$menu->link('作品管理')
    ->to($nav->to('portfolio_list'))
    ->icon('fal fa-images');

luna-portfolio's People

Contributors

asika32764 avatar chokeslam avatar

Watchers

 avatar  avatar  avatar

Forkers

chokeslam

luna-portfolio's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.