Git Product home page Git Product logo

basumati's Introduction

FormTool Skeleton

This skeleton will provide you a boost start with our FormTool package, which is also a dependency for this package. This skeleton is based on Laravel 10.9.0, AdminLTE 2.x and pre-installed FormTool package.

This package still under primary development.

Steps to Setup

Step 1:

Download or clone this skeleton and set it up (git command will only run if you have git installed)

git clone https://github.com/iam-deep/form-tool-skeleton.git your-project-name
cd your-project-name
composer install

Step 2:

Copy .env file and generate key, you can run this command in the root directory

cp .env.example .env
php artisan key:generate

Step 3:

Copy the vendor config file only

php artisan vendor:publish --provider="Deep\FormTool\FormToolServiceProvider" --tag=config

Step 4:

Create database and setup the database connection in the .env file

Step 5:

Modify login email and password in "database\seeders\UserSeeder.php"
Default credential:

Email: [email protected]

Password: form12345

Step 6:

Run the migration with seeder:

php artisan migrate --seed

Great! You are done now open your project.

How to update the skeleton?

You need to manually update the files.

How to update the FormTool?

composer update iam-deep/form-tool

What's modified from a fresh Laravel project?

  • Modified "app/Providers/AppServiceProvider.php"
  • Modified "app/Http/Controllers/Controller.php"
  • Under "database" directory
    • Added "create_demo_pages_table" migration (For demo purpose, you can delete this)
    • Modified seeders/DatabaseSeeder.php
    • Added UserSeeder.php under "database/seeders"
    • Added UserGroupsSeeder.php under "database/seeders"
  • Added Controllers:
    • Admin/ActionsLogController.php
    • Admin/AdminControllers.php
    • Admin/ChangePasswordController.php
    • Admin/DashboardController.php
    • Admin/DemoController.php (For demo purpose, you can delete this)
    • Admin/SettingsController.php
    • Admin/UserGroupsController.php
    • Admin/UsersController.php
  • Added Models:
    • Admin/DemoModel.php (For demo purpose, you can delete this)
  • Added Views:
    • admin/actions_log/index.blade.php
    • admin/actions_log/show.blade.php
    • admin/dashboard.blade.php
    • admin/user_groups_form.blade.php
  • Added custom input type in "app/Http/InputTypes"
    • StatusType.php
    • YesNoCheckbox.php
  • Modified "routes/web.php"
  • Added assets under "public/assets" directory
  • Modified README.md

Disclaimer

This package is in early access. Please do not use yet, or use it just for local development needs

basumati's People

Contributors

riya-gem avatar iam-deep avatar

Watchers

 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.