Code Monkey home page Code Monkey logo

october-cms's Introduction

october-cms

Laravel Package installation inside october cms plugins will explain you with example here

  1. create a plugin in october cms by command php artisan create:plugin Developername.Pluginname

2)install laravel one signal packages via composer run it inside plufgin directory composer require berkayk/onesignal-laravel

3)later run composer update

4)now there is a bit of changes that needs to be done in case of october cms plugin unlike laravel where you can directly put providers and aliases in config/app.php , here in october cms we have to put it in Plugin.php boot method so that the plugin is independent of the entire project

you can look into Plugin.php file for configuration

5)create a config folder and config.php inside the config folder similiar to packages config file which is found in vendor/berkayk/onesignal-laravel/config, only extra thing that needs to be done is you have to return the providers and aliases from config file too

6)run the publish in php artisan php artisan vendor:publish --tag=config

7)place your app_id and rest_api_key in config file

8)create your controller and start using it

october-cms's People

Contributors

manojrammurthy avatar

Watchers

 avatar  avatar

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.