Giter VIP home page Giter VIP logo

laravel-boilerplate's Introduction

Build Status Laravel Version PHP Badge Latest Stable Version Total Downloads License

Laravel Boilerplate Project

Laravel Boilerplate provides a very flexible and extensible way of building your custom Laravel applications.

Table of Contents

Features

  • Administration Dashboard with Gentelella Admin Theme
  • Responsive Layout
  • Bootstrap 3
  • Font Awesome
  • Socialite Integration
  • Invisible reCAPTCHA
  • Membership plans and Access control management by NetLicensing 👍
  • MySQL, SQLite, PostgreSQL databases support
  • AWS S3 support
  • Google Analytics support in frontend
    • Configuration can be easily made via analytics.php and template ga.blade.php
  • Automatic errors feedback via eMail
  • i18n support and automatic user client language recognition
  • Helper class ToJs to ease work with JavaScript variables using blade directive @tojs
  • Helper class Meta blade directive @meta to ease work with meta tags & properties
  • Models for Users and Roles
  • Added Auth controller to allow registration activation by email
  • Guided Tour by GuideChimp 👍
  • Extended Auth configuration by:
    • Ability to switch on/off user registration
    • Set up default user role
    • Ability to switch on/off registration activation email
    • Captcha configuration
  • Gravatar support in User model and flexible configuration via gravatar.php
  • Added library log viewer to allow printing errors in a log file laravel.log
  • Added library sortable for tables sorting
  • i18n: trans() method replaced by __() in order to support internationalization via JSON resources
  • Registration using social services (Google+, Facebook, Twitter)
  • Storing last social login in user session
  • Added event on SocialLogin
  • Added listeners on some events; e.g. Login, Logout, Registration, SocialLogin
  • Added notification ConfirmEmail on user account confirmation
  • Added policies to access backend services
  • Added database seeders for Users, Roles, and UserRoles
  • Improved migration create_users_table.php; fields added active, confirm and deleted_at for soft deletion
  • JavaScript / CSS minification
  • JavaScript / CSS hashing
  • Some very useful helper functions to ease your live :)

Theme Demo

Gentelella Bootstrap Admin Template

Gentelella Admin Theme Demo

System Requirements

To be able to run Laravel Boilerplate you have to meet the following requirements:

  • PHP >= 7.4
  • PHP Extensions: BCMath, Ctype, Fileinfo, JSON, Mbstring, OpenSSL, PDO, Tokenizer, XML, cURL, Mcrypt, GD
  • Node.js >= 8.x
  • Composer >= 1.9.x

Installation

  1. Install Composer using detailed installation instructions here
    wget https://getcomposer.org/composer.phar
    
    chmod +x composer.phar
    
    mv composer.phar /usr/local/bin/composer
    
  2. Install Node.js using detailed installation instructions here
    yum install npm
    
  3. Clone repository
    git clone https://github.com/Labs64/laravel-boilerplate.git
    
  4. Change into the working directory
    cd laravel-boilerplate
    
  5. Copy .env.example to .env and modify according to your environment
    cp .env.example .env
    
  6. Install composer dependencies
    composer install --prefer-dist
    
  7. An application key can be generated with the command
    php artisan key:generate
    
  8. Execute following commands to install other dependencies
    npm install
    
    npm run dev
    
  9. Run these commands to create the tables within the defined database and populate seed data
    php artisan migrate --seed
    

Troubleshooting

  • If you get an error like a PDOException try editing your .env file and change DB_HOST=127.0.0.1 to DB_HOST=localhost or DB_HOST=mysql (for docker-compose environment).

  • If you get a password error try this command:

    # ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';
    

Run

To start the PHP built-in server

php artisan serve --port=8080

or

php -S localhost:8080 -t public/

Now you can browse the site at http://localhost:8080 🙌

Docker

Here is a Docker based local development environment prepared, which provides a very flexible and extensible way of building your custom Laravel applications.

What's Inside

This project is based on docker-compose. By default, the following containers are started: laravel-env (centos:7 based), mysql, nginx. Additional containers (phpmyadmin, mailhog) are externalized into docker-compose.utils.yml. The /var/www/laravel-boilerplate directory is the web root which is mapped to the nginx container. You can directly edit configuration files from within the repo as they are mapped to the correct locations in containers.

Laravel Boilerplate Docker

System Requirements

To be able to run Laravel Boilerplate you have to meet the following requirements:

Run

  1. Clone repository

    git clone https://github.com/Labs64/laravel-boilerplate.git
    
  2. Copy .env.example to .env and modify according to your environment (make sure database host set to DB_HOST=mysql)

    cp .env.example .env
    
  3. Start environment

    docker-compose up -d  # to start base containers
    

    or

    docker-compose -f docker-compose.yml -f docker-compose.utils.yml up -d  # to start base and utils containers
    
  4. Build project

    docker exec laravel-boilerplate_laravel-env_1 ./dockerfiles/bin/prj-build.sh
    

    or

    docker-compose run --rm laravel-boilerplate_laravel-env_1 ./dockerfiles/bin/prj-build.sh
    

Now you can browse the site at http://localhost:80 🙌


  1. Stop environment
    docker-compose down
    
    or
    docker-compose -f docker-compose.yml -f docker-compose.utils.yml down
    

How To's & Modules configuration

Check out project wiki pages for modules configuration and troubleshooting. For more detailed instructions on how to use Laravel and it's extensions, check out the full Laravel documentation.

How to contribute

Fork the repository, read the CONTRIBUTE file and make some changes. Once you're done with your changes send a pull request and check CI validation status. Thanks!

Contributors and Supporters

Thank you to all the contributors on this project. Your help is much appreciated!

Bugs and Feedback

For bugs, questions and discussions please use the GitHub Issues.

License

This boilerplate is open-source software licensed under the MIT license.

laravel-boilerplate's People

Contributors

armcm avatar cygnetayjaha avatar dependabot[bot] avatar fraank avatar hahalo avatar hastadhana avatar kayalardanmehmet avatar marvincaspar avatar nowendwell avatar r-brown avatar rainerkent avatar v-rudkovskiy 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  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

laravel-boilerplate's Issues

Database Seeding Failure

Got almost all the way through the installation process, until database base migration and seeding. The migration worked fine, but seeding (UsersSeeder) produced an error:

[Ramsey\Uuid\Exception\UnsatisfiedDependencyException] When calling Ramsey\Uuid\Converter\Time\DegradedTimeConverter::calculateTime on a 32-bit system, Moontoast\Math\BigNumber must be present.

What is strange is that I am on a 64-bit system. So not sure what is going on here.

Stylesheets should be loaded in HEAD

I am getting a brief view of unstyled content when pages are loaded. This due to the stylesheets being loaded near the end of the BODY tag.

If you move the following in views/layouts/app.blade.php into the head section, all will be right.

        {{--Styles--}}
        @yield('styles')

        {{--Common App Styles--}}
        {{ Html::style(mix('assets/app/css/app.css')) }}

Another problem in this area is the laravel-debugbar which probably should be loaded in the head as well (even the javascript). As it stands now, all of that gets spit out together.

Erro ao enviar link de Ativação!

Ao enviar link de ativação por email, não esta gravando no bd o novo link gerado.
Esta faltando salvar.

ConfirmController

.....

public function sendEmail(User $user)
{

    $user->confirmation_code = Uuid::uuid4();

Acrecentar isso ao codigo.

$user->save();

``

....

DataTables not working

Hello, I have problems with DataTables. I added id="datatable-responsive" to the table, but nothing happend. I also tried include 'node_modules/gentelella/vendors/datatables.net-responsive/js/dataTables.responsive.min.js', into mix.scripts in webpack.mix.js, but not worked. Can You help me pleas?

Validation JS

Hi,

I'm trying to use built-in JS form validation library but i'm quite stuck... Do anyone has documentation link?

Thanks !

Error: pngquant failed to build, make sure that libpng-dev is installed

npm is not installing. Error: pngquant failed to build, make sure that libpng-dev is installed. But I've installed libpng-devel.

$ npm install

ℹ compiling from source
✔ pngquant pre-build test passed successfully
Error: pngquant failed to build, make sure that libpng-dev is installed
at Promise.all.then.arr (/var/www/html/laravel-boilerplate/node_modules/imagemin-pngquant/node_modules/bin-build/node_modules/execa/index.js:231:11)
at process.internalTickCallback (internal/process/next_tick.js:77:7)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node lib/install.js
npm ERR! Exit status 1

as I'm using centos
$ yum install libpng-devel

Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Package 2:libpng-devel-1.5.13-7.amzn2.0.2.x86_64 already installed and latest version
Nothing to do

$ node -v
v11.1.0
$ npm -v
6.4.1

The Mix manifest does not exist

The Mix manifest does not exist. (View: /var/www/laravel-boilerplate/resources/views/auth/login.blade.php)

cant figure out whats the problem.
try'd
npm install
npm run dev

anyone with same issue ?

each() function in php5 ,7,7.1

each() function in php5 ,7,7.1

when i run this project in this version not working give each() function error after click on user list

Create report issue / feedback form using GitHub issues

In order to collect users feedback directly to GitHub - issue report form / widget need to be introduced.

Features:

  • form ribbon sticker should be visible on the pages and positioned on the left/right/top/bottom sides
    -- JavaScript can be used to enable this sticker
  • click on the sticker opens popup layer with following fields:
    -- left: GitHub authorization dialog
    -- right: title, body, images, close/submit button
  • the body field should support GitHub markdown
  • submit button post issue to the corresponding GitHub project using GitHub API / Create Issue

Ideally, this feature is implemented as a separate Laravel plugin

Please add screenshot in ReadMe.md

Hi

Can you please add screenshot in your README.md file?

I want to contribute on your repo but I can't get what this boilerplate consists of?

Also, please write some documentation on your repo and enable the Wiki for this.

-Saeed

Handle invalid NetLicensing credentials

If NetLicensing connection attributes defined in .env are not valid - standard Laravel error page appears, which is not giving more details on the issue.

LABS64_NETLICENSING_USERNAME=...
LABS64_NETLICENSING_PASSWORD=...
LABS64_NETLICENSING_APIKEY=...

lb-401

NetLiecnsing communication error needs to be handled and a custom page should be shown to the user with detailed instructions, how to fix this issue.

npm run dev

@ dev /home/vkrasnov/projects/laravel-boilerplate
npm run development

@ development /home/vkrasnov/projects/laravel-boilerplate
cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

/home/vkrasnov/projects/laravel-boilerplate/node_modules/laravel-mix/setup/webpack.config.js:1
(function (exports, require, module, __filename, __dirname) { let path = require('path');
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at requireConfig (/home/vkrasnov/projects/laravel-boilerplate/node_modules/webpack/bin/convert-argv.js:96:18)
at /home/vkrasnov/projects/laravel-boilerplate/node_modules/webpack/bin/convert-argv.js:109:17
at Array.forEach (native)

npm ERR! Linux 4.8.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "development"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! @ development: cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development script 'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/vkrasnov/projects/laravel-boilerplate/npm-debug.log

npm ERR! Linux 4.8.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "dev"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! @ dev: npm run development
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script 'npm run development'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run development
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/vkrasnov/projects/laravel-boilerplate/npm-debug.log

NPM run prod or dev on Azure....

Any ideas on this? Builds fine on my local XAMPP but not on Azure.

`` npm ERR! Windows_NT 6.2.9200
npm ERR! argv "D:\Program Files (x86)\nodejs\6.9.1\node.exe" "D:\Program Files (x86)\npm\3.10.8\node_modules\npm\bin\npm-cli.js" "run" "development"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! @ development: cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ development script 'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\home\site\wwwroot\ehe\npm-debug.log

npm ERR! Windows_NT 6.2.9200
npm ERR! argv "D:\Program Files (x86)\nodejs\6.9.1\node.exe" "D:\Program Files (x86)\npm\3.10.8\node_modules\npm\bin\npm-cli.js" "run" "dev"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! @ dev: npm run development
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script 'npm run development'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run development
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\home\site\wwwroot\ehe\npm-debug.log

Database migration error on running command "php artisan migrate --seed"

When I am running " php artisan migrate --seed" this command I am getting the following error

In Connection.php line 664:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t
oo long; max key length is 1000 bytes (SQL: alter table protection_shop_to kens add unique pst_unique(user_id, success_url, cancel_url))

In PDOStatement.php line 119:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t
oo long; max key length is 1000 bytes

In PDOStatement.php line 117:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t
oo long; max key length is 1000 bytes

image

Replace deprecated bower

Following message is shown during bower installation

sh-4.2# npm install -g bower
npm WARN deprecated [email protected]: ..psst! While Bower is maintained,
we recommend Yarn and Webpack for *new* front-end projects!
Yarn's advantage is security and reliability,
and Webpack's is support for both CommonJS and AMD projects.
Currently there's no migration path but we hope you'll help us figure out one.
/usr/bin/bower -> /usr/lib/node_modules/bower/bin/bower
/usr/lib
`-- [email protected]

How to implement my on css and js code?

HI,

I love what you did. But i don't understand how i can implement my own css and js file ? so it will work with the config.mix.js file. Also how can i use the template html, js and css?

Thank you for your help.

NPM Run Dev error

Hello,

I tried a lot of times install this project following the steps in README.md, but i always get the following error, when I use the command "npm run dev":

vagrant@vagrant-ubuntu-trusty-64:/var/www/html/laravel-boilerplate$ npm run dev

@ dev /var/www/html/laravel-boilerplate
npm run development

@ development /var/www/html/laravel-boilerplate
cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/lar
avel-mix/setup/webpack.config.js

internal/child_process.js:317
throw errnoException(err, 'spawn');
^

Error: spawn EACCES
at exports._errnoException (util.js:1026:11)
at ChildProcess.spawn (internal/child_process.js:317:11)
at Object.exports.spawn (child_process.js:471:9)
at spawn (/home/vagrant/.nvm/versions/node/v8.0.0/lib/node_modules/cross-env/node_modules/cross-spawn/index.js:17:18
)
at crossEnv (/home/vagrant/.nvm/versions/node/v8.0.0/lib/node_modules/cross-env/dist/index.js:30:38)
at Object. (/home/vagrant/.nvm/versions/node/v8.0.0/lib/node_modules/cross-env/dist/bin/cross-env.js:10:1
6)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules -- config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2018-02-09T23_11_33_464Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: npm run development
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2018-02-09T23_11_33_487Z-debug.log

And the debug file:

0 info it worked if it ends with ok
1 verbose cli [ '/home/vagrant/.nvm/versions/node/v8.0.0/bin/node',
1 verbose cli '/home/vagrant/.nvm/versions/node/v8.0.0/bin/npm',
1 verbose cli 'run',
1 verbose cli 'development' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predevelopment', 'development', 'postdevelopment' ]
5 info lifecycle @~predevelopment: @
6 silly lifecycle @~predevelopment: no script for predevelopment, continuing
7 info lifecycle @~development: @
8 verbose lifecycle @~development: unsafe-perm in lifecycle true
9 verbose lifecycle @~development: PATH: /home/vagrant/.nvm/versions/node/v8.0.0/lib/node_modules/npm/bin/node-gyp-bin:$
10 verbose lifecycle @~development: CWD: /var/www/html/laravel-boilerplate
11 silly lifecycle @~development: Args: [ '-c',
11 silly lifecycle 'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --co$
12 silly lifecycle @~development: Returned: code: 1 signal: null
13 info lifecycle @~development: Failed to exec development script
14 verbose stack Error: @ development: cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress -$ 14 verbose stack Exit status 1 14 verbose stack at EventEmitter.<anonymous> (/home/vagrant/.nvm/versions/node/v8.0.0/lib/node_modules/npm/lib/util$ 14 verbose stack at emitTwo (events.js:125:13) 14 verbose stack at EventEmitter.emit (events.js:213:7) 14 verbose stack at ChildProcess.<anonymous> (/home/vagrant/.nvm/versions/node/v8.0.0/lib/node_modules/npm/lib/util$ 14 verbose stack at emitTwo (events.js:125:13) 14 verbose stack at ChildProcess.emit (events.js:213:7) 14 verbose stack at maybeClose (internal/child_process.js:887:16) 14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:208:5) 15 verbose pkgid @ 16 verbose cwd /var/www/html/laravel-boilerplate 17 verbose Linux 3.13.0-141-generic 18 verbose argv "/home/vagrant/.nvm/versions/node/v8.0.0/bin/node" "/home/vagrant/.nvm/versions/node/v8.0.0/bin/npm" "r$ 19 verbose node v8.0.0 20 verbose npm v5.0.0 21 error code ELIFECYCLE 22 error errno 1 23 error @ development: cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules -$
23 error Exit status 1
24 error Failed at the @ development script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]

What's going on? I already tried:

  • Install cross-env as global
  • Install/uninstall/reinstall a lot of node.js versions
  • Format the VM and reinstall everything again

Regards,
R.

Customize Admin template

Hi, i am working on gentelella template and when i am removing some functionalities it is giving me error, instead of showing the dashboard it shows half loaded site. check the link for error below,

https://snag.gy/HNdLvn.jpg

please reply as soon as possible.

Membership management

Hi,

I would like to create a dashoard for members. I succeed but I would like to know how to disable NetLicensing protection ? Or better, how to manage free memberships and paid plans ?

Thanks !

Error run npm run dev

i am getting this error after follow instructions and run npm run dev
`> @ dev /home/mustofa/Code/laravel-boilerplate

npm run development

@ development /home/mustofa/Code/laravel-boilerplate
cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

Copying bower_components/font-awesome/fonts/ to /home/mustofa/Code/laravel-boilerplate/public/assets/app/fonts
Copying bower_components/gentelella/vendors/bootstrap/dist/fonts to /home/mustofa/Code/laravel-boilerplate/public/assets/admin/fonts
fs.js:1000
binding.stat(pathModule._makeLong(path), statValues);
^

Error: ENOENT: no such file or directory, stat 'bower_components/gentelella/vendors/bootstrap/dist/fonts'
at Error (native)
at Object.fs.statSync (fs.js:1000:11)
at Object.statSync (/home/mustofa/Code/laravel-boilerplate/node_modules/graceful-fs/polyfills.js:297:22)
at Object.copySync (/home/mustofa/Code/laravel-boilerplate/node_modules/fs-extra/lib/copy-sync/copy-sync.js:31:86)
at FileCollection.copyTo (/home/mustofa/Code/laravel-boilerplate/node_modules/laravel-mix/src/FileCollection.js:41:12)
at src.forEach.file (/home/mustofa/Code/laravel-boilerplate/node_modules/laravel-mix/src/FileCollection.js:28:38)
at Array.forEach (native)
at FileCollection.copyTo (/home/mustofa/Code/laravel-boilerplate/node_modules/laravel-mix/src/FileCollection.js:28:17)
at CopyWebpackPlugin.copy.forEach.copy (/home/mustofa/Code/laravel-boilerplate/node_modules/laravel-mix/src/WebpackPlugins/CopyWebpackPlugin.js:10:57)
at Array.forEach (native)

npm ERR! Linux 4.4.0-72-generic
npm ERR! argv "/home/mustofa/.nvm/versions/node/v6.10.2/bin/node" "/home/mustofa/.nvm/versions/node/v6.10.2/bin/npm" "run" "development"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! @ development: cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development script 'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/mustofa/Code/laravel-boilerplate/npm-debug.log

npm ERR! Linux 4.4.0-72-generic
npm ERR! argv "/home/mustofa/.nvm/versions/node/v6.10.2/bin/node" "/home/mustofa/.nvm/versions/node/v6.10.2/bin/npm" "run" "dev"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! @ dev: npm run development
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script 'npm run development'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run development
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/mustofa/Code/laravel-boilerplate/npm-debug.log
`

The Mix manifest does not exist

Hi,

I have set the project up, and get the home page fine, but when I load any internal pages (member area, sign up or log in) I get the following error:

ErrorException (E_ERROR)
The Mix manifest does not exist. (View: /home/namehere/public_html/project/resources/views/auth/login.blade.php)

Any ideas on this?

Many thanks,

Directory public/ does not exist

During installation $ php -S localhost:8080 -t public/ returns error "Directory public/ does not exist."

Checked the folders and i can see a public folder with an index.php file and other files in it. How do i resolve this?

Upgrade Laravel to v5.5

Laravel 5.5 is scheduled to be released in August of 2017 and will be the next major release.

Consider upgrading Laravel version to the latest 5.5

Database Renaming

I am using this boiler plate code to initiate a project. So I decided to chang my .env variable DB_DATABASE=mydatabasename. Then i went ahead and did php artisan migration reset, deleted the older db and created a new one, php artisan config:clear, php artisan config:clear, (just to be sure) and lastly php artisan migrate --seed.
After this I stated gettiing Uknown database laravel-boilerplate error every time i run validate() on inputs.
Though i fixed this by going into config\database.php and doing this 'mysql' => [ ...., 'database' => 'mydatabasename', ..... .
I would like to know what caused it and a better way to fix this.

Jquery was not initialized

I'm brazilian
I installed everything as in the tutorial, everything works correctly, but if I call a Jquery method I get returned an error stating that Jquery was not initialized, that is, it is applying the function before loading Juquery, somebody helps me.

Problem with meta helper

Hello guys, I am trying to use the meta helper but i cant find how ..

i am using on my controller meta()->tag('description', ' test description'); but its not working....

p.s I have the blade directive @meta on my blade file

Thanks!

Remember Me functionality

Hi, thanks for this nice boilerplate for laravel projects.
I am trying to use remember me functionality of laravel, but I can't find any place where is user is attempting to authenticate. I need to use Auth::attempt or viaRemember, but I didn't found it in your repo. Could you please help me about it?? It's a bit urgent.

OCL rumtime exec failed: exec faild: container_linux.go:296: starting container process caused "no such file or directory": unknown

I want to use this library.
There is an existing Rarabel framework, but I didn't know how to insert it into my framework so I received it through a single bond.
The first question is, is it my way of using this library?

After deciding to go ahead, I followed the docker section.

  1. git clone https://github.com/Labs64/laravel-boilerplate.git
  2. cp .env.example .env (after cd laravel-boilerplate)
  3. docker-compose up -d
  4. docker exec laravelboilerplate_laravel-env_1 ./dockerfiles/bin/prj-build.sh

But an error occurred in this fourth part. The contents are identical with the title.
"OCL rumtime exec failed: exec faild: container_linux.go:296: starting container process caused "no such file or directory": unknown"

If the docker was normally terminated, it could enter the bash script, or it could be connected directly to the BusLogic, but I am stuck in this situation. Help me figure out what the problem is.

Fine-tune build project step

Verify project's build step (Run / 4. Build project) in order to align this with docker compose standard patterns (see also docker compose run command):

$ docker exec laravel-env ./dockerfiles/bin/prj-build.sh
  vs.
$ docker-compose run --rm laravel-env ./dockerfiles/bin/prj-build.sh

jQuery.Deferred exception: Date.today is not a function

After cloned the repo, install and run. The following error appears in the browser's console: jQuery.Deferred exception: Date.today is not a function TypeError: Date.today is not a function

And is refered to this instruction, in the function: init_flot_chart, from the file: /public/assets/admin/js

captura

The error don't appear always, just in some views. But when appears, the elements of the view don't respond correctly.

Have you any idea about what is the cause or how fix it?

Thanks in advance! :)

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.