artflow-studio/accountflow

There is no license information available for the latest version (v1.4.1) of this package.

A reusable dynamic accounts module for Laravel.

v1.4.1 2024-10-13 13:07 UTC

This package is auto-updated.

Last update: 2024-11-13 13:22:02 UTC


README

-- Active: 1723998450972@@127.0.0.1@3306

AccountFlow - Reusable Dynamic Accounts Module for Laravel

AccountFlow is a reusable dynamic accounts module designed for Laravel, providing customization for views, controllers, models, migrations, and configurations.

AccountFlow Logo

Features

  • Configurable Views
  • Modular Controllers and Models
  • Dynamic Layouts
  • Publishable Migrations and Configurations

Installation

Install the package using Composer:

composer require artflow-studio/accountflow

Publish Files

publish the files separately or at once. use --force to overwrite

php artisan vendor:publish --tag=accountflow-config
php artisan vendor:publish --tag=accountflow-migrations
php artisan vendor:publish --tag=accountflow-views
php artisan vendor:publish --tag=accountflow-controllers
php artisan vendor:publish --tag=accountflow-models
php artisan vendor:publish --tag=accountflow-routes

Usage

In your controller:

use App\Http\Controllers\AccountFlow\AccountController;

public function index(){ 
    return view(config('accountflow.view_path') . 'accounts'); 
} 

Extend your views:

@extends(config('accountflow.layout')) 

Include partials:

@include(config('accountflow.view_path').'modals.add_transaction') 

Configuration

Ensure you have published the configuration file:

php artisan vendor:publish --tag=accountflow-config 

The configuration file will be located at config/accountflow.php. Customize your paths and settings as needed.

License

This project is licensed under the MIT License.