Octopus CORE files

1.0.2 2023-03-25 00:19 UTC

This package is not auto-updated.

Last update: 2024-05-04 21:53:03 UTC


README

What is this repository for?

  • This repository is responsible for octopus framework core files
  • It contains Rollbar package, Ramsey UUID generation package

Prepare for development

Requirements:
Fresh installation of laravel
Install Laravel framework

DatePackageStatus
2016-02-22ocv3scriptsrequired

-
Before starting package ocv3scripts must be set
Set up ocv3scripts
-

Steps

  1. Create packages folder in your laravel application directory if it not exists and clone ocv3core repository to packages/interaktyvussprendimai/ocv3core folder
  1. Download related packages via composer

    composer require ramsey/uuid --dev
    composer require jenssegers/rollbar --dev

  1. Edit project composer.json file and after line "App\\": "app/", add package namespace and folder where the files are. In all cases folder should end with "src" directory. Example:

    "interaktyvussprendimai\\ocv3core\\": "packages/interaktyvussprendimai/ocv3core/src"

  2. Add your package provider to config/app.php at providers section at the end:

    interaktyvussprendimai\ocv3core\providers\OCCoreServiceProvider::class,

  3. Autoload classes with composer. In your terminal window type this:

    composer dump-autoload

  4. Publish vendors of core package:

    php artisan vendor:publish

  5. Run Octopus framework preparation command. --force option allows to override files:

    php artisan oc:prepare --force

  6. Run artisan command to configure and create .env

    php artisan oc:env