feiron/felaraframe

Framework for laravel

2.0 2021-04-01 23:10 UTC

This package is auto-updated.

Last update: 2024-05-29 04:34:36 UTC


README

A powerful, state of the art, framework for laravel application. Documentation of this Framework, Please visit here

Enable user Role management, use Fe_Roles

Let's collaborate!

Please send a email to me for bugs, feature suggestions,pull requests,etc... or even hang out :) yu0307@gmail.com

This package provides the following features:

  • Built-in UI framework for laravel application. Ideal for cloud system, admin control panel, CRM, general back-end interface and more.
  • Home page Widget support. Create custom widgets for users to choose at the front end.
  • List of stock widgets(weather,calendar,clock,etc) already built-in, instantly available for anyone who visits the home page.
  • Widget management. Re-arranging widgets at home page, add/remove widgets and change widget settings all at one place.
  • Built-in templates for profile page, user setting page, etc.
  • Built-in centralized control panel. Integrated with user management, role management, general settings, etc. Everything is added to the panel automatically.
  • Theme support. You can choose between themes like WordPress within the central control panel.
  • Extendable Themes. You can create your own theme/designs and apply to the framework. Everything integrates gracefully.
  • Revolutionary, BluePrints utility tool. Making building sites as easy as taking a survey.
  • Built-in laravel commands for building components. Automatically generates controllers, models, migrations, etc.
  • Extensive list of blade directives (forms, buttons,tables,etc) for fast interface development.
  • Built-in blade directives for common controls, take away the burden of writing repetitive codes.
  • Mobile responsive interface and menu design.
  • Built-in notification interface for users to view message/mails.
  • Menu Generator with support with icon, label, slug support.
  • Clean, elegant and modern design of front-end interface.

Dependencies:

Installation:

  1. Please make sure composer is installed on your machine. For installation of composer, please visit This Link
  2. Once composer is installed properly, please make sure Larave is up to date.
  3. Navigate to your project root directory
    composer require feiron/felaraframe
    
  4. This package is going to publish several files to the following path
  • config/felaraframe/
  • public/feiron/felaraframe/
  1. Important! This package is also going to perform several migrations. Please refer to the following changes and make backups of your tables if they are present.

  2. Since I can't seem to have package auto publish assets. make sure you run the following command at the end and every updates of this package.

        php artisan vendor:publish --provider="feiron\felaraframe\FeLaraFrameServiceProvider" --force
        php artisan vendor:publish --provider="feiron\fe_login\Fe_LoginServiceProvider" --force
    
        php artisan migrate --path="/vendor/feiron/fe_login/src/database/migrations/"
        php artisan migrate --path="/vendor/feiron/felaraframe/src/database/migrations/"
    
        php artisan storage:link
    
    Schema to be Created/Modified:
    [lf_notes]:
    id bigint(20) UN AI PK 
    subject varchar(220) 
    notes text 
    notable_id varchar(36) 
    notable_type varchar(50) 
    created_at timestamp 
    updated_at timestamp
    ------------------------------------------
    [user_widget_layout]:
    id bigint(20) UN AI PK 
    layoutable_id varchar(36) 
    layoutable_type varchar(36) 
    widget_name varchar(225) 
    settings text 
    order int(11) 
    created_at timestamp 
    updated_at timestamp
    ------------------------------------------
    [lf_mail]:
    id bigint(20) UN AI PK 
    sender int(11) 
    recipient int(11) 
    subject varchar(220) 
    contents text 
    remarks varchar(191) 
    created_at timestamp 
    updated_at timestamp
    ------------------------------------------
    [lf_site_metainfo]:
    id bigint(20) UN AI PK 
    meta_name varchar(225) 
    meta_value text 
    created_at timestamp 
    updated_at timestamp
    

Note: During migration, if you encounter error showing "Specified key was too long" This was due to MySQL version being older than 5.7.7, if you don't wish to upgrade MySQL server, consider the following.

Within your AppServiceProvider

```
use Illuminate\Support\Facades\Schema;

/**
* Bootstrap any application services.
*
* @return void
*/

public function boot()
{
    Schema::defaultStringLength(191);
}
```

Further reading on this could be found at This Link

Basic Usage:

For details of how to use this framework. Please head over to the WiKi page of this Repo. There are a lot of features packed into this package and I will be updating the WiKi Page frequently, please stay tuned.

Support us:

If you like this project, Please, please, please consider put a Star⭐️ and tweet about it.

I would love for any forms of supports and they are deeply appreciated👍! Thanks!

Notes:

  • This package does not come with user support nor with role management.
  • For these functions, please use Fe_Login and Fe_Roles which were specifically developed to work with this framework.