Giter VIP home page Giter VIP logo

laravel-laratrust's Introduction

STARTER-PACK-LARATRUST

STARTER-PACK-LARATRUST

Starter web project laravel base on Modern AdminLTE

STARTER-PACK-LARATRUST

Fiture

  1. Authentication (login, register, reset password)
  2. Yajra Datatable
  3. Nestable menu

Installation

Initial project

Clone repository and create new repository for your project. Don't make this repository for your project. Because, this repository just starter project, not primary project application.

foo@bar:~$ cp .env.example .env 

Setup your connection

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=secret
DB_PASSWORD=secret
foo@bar:~$ composer install
foo@bar:~$ php artisan key:generate 
foo@bar:~$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git

## Setup application 

Fresh installation 

```bash
foo@bar:~$ php artisan laravelia:install

Regenerate user of application

foo@bar:~$ php artisan laravelia:user

Regenerate menu of application

foo@bar:~$ php artisan laravelia:menu

Usage

Add class "modern-skin-messenger" into body

<body class="hold-transition modern-skin-messenger sidebar-mini">
	...All content of page
</body>

for login/register page, add "modern-skin-messenger" and if you want background image on page, just add class "with-bg" into body.

<body class="hold-transition login-page modern-skin-messenger">
	...All content of page
</body>

or

<body class="hold-transition login-page modern-skin-messenger with-bg">
	...All content of page
</body>

Skin available

  1. dark
  2. green
  3. messenger
  4. orange
  5. purple
  6. red

Thanks to

Almsaeed Studio team & all library

License

MIT

laravel-laratrust's People

Contributors

dependabot[bot] avatar kenhyuwa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

laravel-laratrust's Issues

Error fresh install

Command :php artisan laravelia:install

   Illuminate\Database\QueryException  : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json not null, `ip_address` varchar(45) null, `browser` text null, `created_at` ' at line 1 (SQL: create table `user_logs` (`id` char(36) not null, `user_id` char(36) not null, `type` varchar(191) not null, `logs` json not null, `ip_address` varchar(45) null, `browser`
text null, `created_at` timestamp null, `updated_at` timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')

  at C:\xampp\htdocs\laravel-laratrust\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664
    660|         // If an exception occurs when attempting to run a query, we'll format the error
    661|         // message to include the bindings with SQL, which will make this exception a
    662|         // lot more helpful to the developer instead of just the database's errors.
    663|         catch (Exception $e) {
  > 664|             throw new QueryException(
    665|                 $query, $this->prepareBindings($bindings), $e
    666|             );
    667|         }
    668| 

  Exception trace:

  1   Doctrine\DBAL\Driver\PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json not null, `ip_address` varchar(45) null, `browser` text null, `created_at` ' at line 1")
      C:\xampp\htdocs\laravel-laratrust\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:63

  2   PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the
manual that corresponds to your MariaDB server version for the right syntax to use near 'json not null, `ip_address` varchar(45) null, `browser` text null, `created_at` ' at line 1")
      C:\xampp\htdocs\laravel-laratrust\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:61

  Please use the argument -v to see more details.

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.