Code Monkey home page Code Monkey logo

laravel-flutter-getx's Introduction

[DEV] laravel-flutter-getx

Scaffold Flutter project from Laravel :) with GetX to accomplish Laravel structure.

Hits

What it'll do:

  1. Create Flutter project via shell_exec
  2. Structure it like Laravel
  3. Scaffold

Structure

- lib
  - app
    - bindings // DI
    - controllers // Business Logic
    - exceptions
    - models
    - providers // API communications
    - services // Global/App services
  - config // App config
  - mocks // Mocking data in 'dev' env
  -resources
    - lang
    - views
      - widgets
  - main.dart
  - routes.dart // Route management

[WINDOWS ONLY: till now] IF YOU WANT TO CREATE NEW FLUTTER APP WITH THIS STRUCTURE:

1: Clone the repo, 2: Open cmd & change the working dir to bin & run,

.\win-structure.bat APP_NAME

This will first run flutter create command & structure your new app afterthat.

How to use

  1. Install
composer require anandpilania/laravel-flutter-getx
  1. Publish the config
php artisan vendor:publish --tag=laravel-flutter-getx
  1. Configure the flutter apps path config\laravel-flutter-getx.php

  2. Create Flutter Project

php artisan flutter:create project_name

Other commands

  • flutter:make:binding => w/o controller &| provider
  • flutter:make:controller => w/o provider
  • flutter:make:exception => w/o message
  • flutter:make:lang
  • flutter:make:mock => w/o model
  • flutter:make:model => w/o mock
  • flutter:make:provider => w/o sample
  • flutter:make:service
  • flutter:make:view

laravel-flutter-getx's People

Contributors

anandpilania avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.