Giter Club home page Giter Club logo

l7newspaper-urdu's Introduction

About this Boilerplate

Many developer find it hard to use the following packages all together. For me it took so long fix all after watching and reading so many broken and incomplete tutorials. This boilerplate use uuid as primary key for all models instead auto-increment id. It has integeration with spatie-permissions and example can be seen in seeders.Filemanagement is an important task and unisharip/filemanager is a free a reknowned filemanage. It has a demo link on the homepage.

What is different

  • Default models to UUID as primary key auto-creation
  • Extended Models from Spatie with UUID examples
  • Migrations with UUID as primary key
  • Seeders for Spatie, Permissions, Roles, Users
  • using server type of set up root folder public_html instead of public with "php artisan storage:link" configuration
  • Working demo of Unisharp file manager with pdf and other type documents

Installation

  1. clone or download the reporsitory and go into it.

  2. Run commands "composer dump-autoload" and "composer install"

  3. Go to your .env file and configure databse settings and APP_URL

  4. Run these commands "composer require laravel/ui" and "php artisan ui vue --auth"

  5. Run commands "npm install" and "npm run dev".

  6. Run commands "php artisan:migrate" and "php artisan db:seed". You can create super admin in the seeders.

  7. Run command "php artisan storage:link". We are linking public_html instead of public folder. if you want to use default public folder as root folder then go to Config/filesystem.php and replace 'links' => [ base_path('/public_html/storage') => storage_path('app/public'), ], with 'links' => [ public_path('/storage') => storage_path('app/public'), ],

  8. Login to see demo. Go to /demo to see it from views folder rather than vendors or check laravel-filemanager/demo default demo from package.

  9. After Storage linking my application is working fine. You may change lmf.php Optional - If you are using it on a server and root directory is public_html instead of public. Then go to Config/lfm.php Change 'base_directory' => 'public_html'. Check configuration option on Unisharp/filemanager/config.

Help

Further you can get help from these documentation links.

Security Vulnerabilities

If you discover a security vulnerability within this integeration, please send an e-mail to Ali Anwar via [email protected].

License

The Laravel framework is open-sourced software licensed under the MIT license.

l7newspaper-urdu's People

Contributors

dev-alianwar 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.