Giter VIP home page Giter VIP logo

platform-core's Introduction

Getting Started

First add to composer.json

	"codesleeve/platform-core": "dev-master"

then add the service provider to the providers array in your app\config\app.php

	"Codesleeve\Platform\CoreServiceProvider",

then run commands for database

	php artisan migrate --package codesleeve/platform-core
	php artisan db:seed --class "Codesleeve\Platform\Seeds\Platform"

you can setup extra stuff in your project by running the command but this is only recommended for new projects

	php artisan platform:setup

Adding your own navigation

You can easily tap into the navigation of platform by using the Navigation laravel facade or App::make('platform.navigation');

	$blog = [
		'title' => 'Blogs',
		'icon' => 'fa-pencil-square-o',
		'url' => route('blogs.index'),
		'shown' => can('update', 'Blogs'),
		'active' => 'blogs',
	];

	Navigation::add($blogs);

Adjusting platform views

If you want to make a custom view you can modify any views after running

   $ php artisan view:publish codesleeve/platform-core

Adding your own dashboard sections

TODO Not implemented yet but on the radar.

Dashboard::add('view.name')

Breadcrumbs helper

TODO Add a tidbit about Breadcrumbs. Also add the ability to easily override the Breadcrumbs view that is made (just how the Pagination component works in Laravel);

Additional helpers

TODO Add the form helpers and macros we have in platform core here...

TODO

  • I don't think we should rely on the BaseController for all the extra's. This would probably be better for a view.composer. Things like Breadcrumbs...

  • Change the theme and colors to match the codesleeve.com website more... theme needs a little tinder love and care.

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.