Coder Social home page Coder Social logo

rehmatworks / stisla-laravel Goto Github PK

View Code? Open in Web Editor NEW
108.0 5.0 64.0 17.74 MB

A Laravel implementation (with user CRUD) of the awesome Stisla Bootstrap admin panel.

Home Page: https://stisla.rehmat.works

PHP 74.34% HTML 13.83% Vue 11.83%
stisla laravel laravel-admin laravel-admin-panel bootstrap-4 bootstrap vue vuejs php php7

stisla-laravel's Introduction

Stisla Laravel

Stisla is the most-awesome admin panel I've seen so far. As I love this template very much, I have implemented Stisla in a fresh Laravel 5.8 app. Simply clone this repo and start building your next Laravel project on top of the awesome Stisla. This project makes a very little and basic use of VueJS and compiled JS is already bundled with the project. If you want to make it more dynamic, you can update the Vue components or add your own.

Installation

Clone the repo:

git clone https://github.com/rehmatworks/stisla-laravel.git

Install composer packages:

composer update

Copy and rename .env.example to .env, update the environmental variables and set an app key:

php artisan key:generate

After that, run all migrations and seed the database:

php artisan migrate
php artisan db:seed

Or if your database is fresh and you haven't done any work yet, then it's safe to call the commands in a single line:

php artisan migrate:refresh --seed

Note that seeding the database is compulsory as it will create the necessary roles and permissions for the user CRUD provided by the project.

Visit

to sign in using below credentials:

Demo

URL: https://stisla.rehmat.works

Demo Admin Login

Demo Editor Login

Demo User Login

P.S.: Password modification and user deletion is disabled in demo mode.

This project comes with a user CRUD and makes the use of Spatie Roles and Permissions at a very basic level in order to give restricted access to the three roles provided above. You can move forward with the same logic to achieve more complex goals.

Credits:

Contribution:

Contribution is welcomed and highly appreciated. Fork the repo, make your updates and initiate a pull request. I'll approve all pull requests as long as they are constructive and follow the Laravel standard practices.

stisla-laravel's People

Contributors

anishojha avatar dependabot[bot] avatar rehmatworks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

stisla-laravel's Issues

Components not loading

First thank you so much for taking the time to help with this. I'm a somewhat beginner with Vuejs, i happened to follow the same procedure as you did for the users component. Even after registering them, they still show up as unknown.

can we upgrade to 6?

can we upgrade to laravel 6?
according to this article it doesn't seem much change is needed if any at all.
just want to make sure if we can install it on 6.

thanks

[ERROR] Failed to load resource: the server responded with a status of 401 (Unauthorized)

Hello, @rehmatworks !
I have problem with loading list users if I start watch script from package.json. I modif webpack.mix.js i added browser-sync with proxy on host my local server & Livereload for Webpack.
I start watch script → Webpack build files → Start browser-sync on localhost:3000 → I write credientials
email: [email protected] & password: 1234. → Navigate Users → App try give data from server → I give error No Results Looks like you have not added any users yet! in console browser I got next error in console Failed to load resource: the server responded with a status of 401 (Unauthorized)

Is there a CRUD for roles and permissions?

Hi,
I use your project on my new project for starters. I see a "role" field when it comes to creating new users. Is there a CRUD for roles and permissions?

Thank you for the great project

403 This action is unauthorized.

Hello,

I just did a clean installation and when trying to access the route:

/public/admin/users

this error appeared:
403 This action is unauthorized.

The database is already populated and accessed with the demo data:

Demo Admin Login
Email: [email protected]
Password: 1234

@yield('scripts') in admin-master.blade.php

i have downloaded and installed your code I was wondering why are You using

@yield('javascript')

Bacause some of the pages dont have the any other extra js

For that situation

//in some child blade templates

@Push('pushName')

@endpush
and in the admin-master.blade.php

@stack('pushName')

IF POSSIBLE I WILL MAKE PR FOR THAT

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.