Skip to content
This is a Starter Laravel project ,using the Sentinel Authentication ,User Role ,User Perrmisson,Role perrmisson, Crud Generator by simple artisan commands
HTML CSS PHP JavaScript
Branch: master
Clone or download
Latest commit ef1dcc3 May 16, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Reset Password integration with Sentinel May 5, 2017
bootstrap updated Apr 29, 2017
config First Commit Apr 29, 2017
database Perrmissions Midelware May 5, 2017
public First Commit Apr 29, 2017
resources Reset Password integration with Sentinel May 5, 2017
routes Reset Password integration with Sentinel May 5, 2017
storage First Commit Apr 29, 2017
tests First Commit Apr 29, 2017
.example.env Perrmissions Midelware May 5, 2017
.gitignore updated Apr 29, 2017
LICENSE
README.md Update readme.md May 16, 2018
artisan First Commit Apr 29, 2017
composer First Commit Apr 29, 2017
composer.json First Commit Apr 29, 2017
composer.lock First Commit Apr 29, 2017
composer.phar First Commit Apr 29, 2017
package.json First Commit Apr 29, 2017
phpunit.xml First Commit Apr 29, 2017
server.php First Commit Apr 29, 2017
webpack.mix.js First Commit Apr 29, 2017

README.md

Laravel Framework 5.4 ,Sentinel,Crud Generator

Check our article

Starter Site based on on Laravel 5.4

Starter Site Features:

  • Laravel 5.4.x
  • Twitter Bootstrap 3.x
  • Back-end
    • Automatic install and setup website.
    • User management.
    • Role management.
    • Dashboard.
    • Gentelella Dashboard Ready.
  • Front-end
    • User login, registration
    • soon will be more...
  • Packages included:
    • Datatables Bundle
    • Sentinel
    • Crud generator

##Requirements

PHP >= 5.6.4
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
XML PHP Extension

##How to install:


Step 1: Get the code - Download the repository

https://github.com/roladn/laravel-sentinel-crud-starter/archive/master.zip 

OR Clone this repository:
 https://github.com/roladn/laravel-sentinel-crud-starter.git

Extract it in www(or htdocs if you using XAMPP or MAMP) folder and put it for example in laravelStartersite folder.


Step 2: Use Composer to install dependencies

Laravel utilizes Composer to manage its dependencies. First, download a copy of the composer.phar. Once you have the PHAR archive, you can either keep it in your local project directory or move to usr/local/bin to use it globally on your system. On Windows, you can use the Composer Windows installer. Open terminal and go to the project foleder Then run:

composer dump-autoload
composer install --no-scripts

Step 3: Create database

If you finished first three steps, now you can create database on your database server(MySQL). You must create database with utf-8 collation(uft8_general_ci), to install and application work perfectly. Just go to the phpmyadmin and create the new database After that, copy .env.example and rename it as .env and put connection and change default database connection name, only database connection, put name database, database username and password.


Step 4: Install

Now that you have the environment configured, you need to create a database configuration for it. For create database tables use this command:

php artisan migrate

And to initial populate database use this:

php artisan db:seed

If you install on your localhost in folder laravelStartersite, you can type on web browser:

http://localhost/laravelStartersite/public

OR Run the command " php artisan serve ", and open on the browser the url you get in console :):


Step 5: Start Page

You can now login to admin part of Laravel Framework 5.4 Site:

username: admin@admin.com
password: admin

Troubleshooting

RuntimeException : No supported encrypter found. The cipher and / or key length are invalid.

php artisan key:generate

Site loading very slow

composer dump-autoload --optimize

OR

php artisan dump-autoload

License

This is free software distributed under the terms of the MIT license


Additional information

Inspired by Laravel 5.4 and based on: Crud Generator Gentelella Dashboard Sentinel Authentication

##How Starter Site is look like

Index Login Register new user Admin dashboard Admin list users Perrmissons user/role


Crud Generator

Note: You should have configured database for this operation.

Commands

Crud command:

php artisan crud:generate Posts --fields="title:string, body:text"

You can also easily include route, set primary key, set views directory etc through options --route, --pk, --view-path as belows:

php artisan crud:generate Posts --fields="title:string:required, body:text:required" --route=yes --pk=id --view-path="admin" --namespace=Admin --route-group=admin

If you are interested in CRUD Generator then visit below links for more commands Crud Generator

Support on Beerpay

Hey dude! Help me out for a couple of 🍻!

Beerpay Beerpay

You can’t perform that action at this time.