GithubHelp home page GithubHelp logo

ahmad-chebbo / dotzonestarters Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dotzone/dotzonestarters

0.0 0.0 0.0 6.92 MB

License: MIT License

JavaScript 53.34% PHP 0.91% CSS 44.90% Blade 0.84%

dotzonestarters's Introduction

Dotzone Starters

Package that contains all the basic files and folders that are needed to start a new project.

Works only with the latest Laravel 9 for now.

The package suggests to install Laravel UI (Bootstrap) starter kit, and adds the chosen design theme on top, in addition to some features and generators.


โ— Important

This package must be used in a NEW Laravel project. Existing project functionalities, such as routes or controllers, may be overridden by Dotzonestarters.


Features

Along with the Design Themes, Dotzonestarters adds a few features that are typical for almost any project:

  • Main Page
  • Login/Register Pages
  • A generator command


Get Started

Dotzonestarters requires PHP 8+ and Laravel 9+.

  1. Create a new Laravel project.

  2. Require Dotzonestarters as a dev dependency, run:

    composer require dotzone/dotzonestarters --dev
  3. Configure Dotzonestarters, run the command below:

    php artisan dotzone-starter:install

    Choose your preferred starter kit and Design Theme.

  4. For Role Permission integration, choose yes once you see the question.

  5. That's it! You have Laravel Auth starter, just visit the home page and click Log in / Register.



Developing within a container

Internally, this package runs several php artisan commands during the installation process.

If you are developing with a container, like Laravel Sail or Docker, you can pass the --php_version flag to change this behaviour and avoid problems in the installation process:

php artisan dotzone-starter:install --php_version=./vendor/bin/sail`.


Generator

To generate a new entity just run

php artisan dotzone-starter:generate {name}

where the name is the model name. This command will excute the following actions:

  • Create the model and migration
  • Create Controller with ready made functions
  • Create Store and Update Request
  • Create views like index, table and modal
  • Create custom Javascript file with ready made functions
  • Add translation keys inside lang/en/messages.php
  • Add custom menu to the sidebar menu list
  • Add permission keys to the default permission seeder

All previews actions are generated for the management part of the webapp (Control Panel).



Available Themes

In the current version, there is 1 theme supported.

Bootstrap Themes with Laravel UI

Role Permissions

In the current version, there is 1 role-based access control package supported.



Credit


dotzonestarters's People

Contributors

ahmad-chebbo 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.