GithubHelp home page GithubHelp logo

rappasoft / laravel-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
5.5K 301.0 1.6K 46.28 MB

The Laravel Boilerplate Project - https://laravel-boilerplate.com

Home Page: https://rappasoft.com

PHP 85.79% Vue 0.02% Shell 0.28% Blade 13.90%
php laravel-boilerplate laravel skeleton boilerplate starter-project

laravel-boilerplate's People

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  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

Add check if db driver is MySQL on DatabaseSeeder

I use PostgreSQL so these statement not supported,

DB::statement('SET FOREIGN_KEY_CHECKS=0;');

...

DB::statement('SET FOREIGN_KEY_CHECKS=1;');

Maybe need to check database driver type eg:

if(env('DB_DRIVER')=='mysql'){
    DB::statement('SET FOREIGN_KEY_CHECKS=0;');
}

Error when same email for different providers

For i.e: if user using same email for facebook & google, then it will be error.

I think provider info should be in different table. one user can has many different provider based on same email.

And then each row in provider info table will be mapped with a user_id in users table

How to get data using related table?

Hello,

I just want to ask if how to get data from related tables? Like here in "EloquentUserRepository.php" with this example line:

public function getUsersPaginated($per_page, $status = 1, $order_by = 'id', $sort = 'asc') {
return User::where('status', $status)->orderBy($order_by, $sort)->paginate($per_page);
}

I want have a query from two table joined or something? or get user based from specified role from table roles, anyone?

Thank you. This is a great package.

Will the be updated to 5.1

I see a bunch of changes implemented especially dealing with user auth and something affecting the blade compiler.

Debugg not working

Hi!
I was verry glad to see your sweet repo with this stuff. Really like it!

But, i seem to have some trouble with my debugging.
I have done 3 resets of my project to get my head around this but i get the same error.

When i have an error in my code and a error message/debugg msg should show, I instead get the source code of the jQuery lib. The url looks like this: '/_debugbar/assets/javascript?1423122680'
but in my browser i only show the minified jquery.js file. At the bottom i can see what I believe is the source code for the debugger.

Like i said I have tried this 3 times and I now need your help to figure this out, or is this a bug in the setup right now?

Your Account is Banned message when creating accounts via seeding

I am getting this message automatically when I create accounts via seeding, I looked around in the database and I don't see a 'status' field that is set to 2. How can I either fix the problem in the seeding itself or easily unban these accounts without going through the password reset steps.

Error versioning CSS file on clean install

I've just cloned the repo and ran gulp. I can see that the js seems to have been versioned correctly, but there is no .css in thebuild/cssfolder. In theerror_log` file, I've got:

PHP Fatal error:  Class 'App\Hash' not found in /home5/rappaso1/public_html/laravel-boilerplate/testing/app/User.php on line 61

User Create always uses the Member Role

So when using the register form, I have the Default Role set as Validating via access.php
however when a user registers they end up in the Member Role by default regardless of what I set the Default User Role as during registration :(

Getting Bad Request on Amazon EC2.

Hi I'm getting this Bad Request from facebook on amazon ec2 during login via FB. Everything works fine on my local machine. When I debugged the bad request error it seems that facebook is saying the token has already been used. Please help.

page(/admin/dashboard) seems not working with firefox well

It seems that with Firefox, I refresh the page(/admin/dashboard) several times, then redirect to /dashboard(the homepage),
sometimes, summit from a from then I get a TokenMismatchException in compiled.php.

But with IE, chrome, it works well.

ErrorException in helpers.php line 668

I have followed the instructions, however I've got this error in browser:

ErrorException in helpers.php line 668:
file_get_contents(D:\wampstack\apache2\htdocs\klmon\starter-laravel-angular\public/build/rev-manifest.json): failed to open stream: No such file or directory (View: D:\wampstack\apache2\htdocs\klmon\starter-laravel-angular\resources\views\layout.blade.php)

layout.blade.php is there, but I've noticed that when running gulp, that there are missing files:

D:\wampstack\apache2\htdocs\klmon\starter-laravel-angular>gulp
[16:52:35] Using gulpfile D:\wampstack\apache2\htdocs\klmon\starter-laravel-angular\gulpfile.js
[16:52:35] Starting 'default'...
[16:52:35] Starting 'less'...
[16:52:35] Running Less: resources/assets/less/app.less
[16:52:35] Finished 'default' after 371 ms
[16:52:37] gulp-notify: [Laravel Elixir] Less Compiled!
[16:52:37] Finished 'less' after 1.55 s
[16:52:37] Starting 'styles'...
[16:52:37] Merging: resources/assets/css/style.css
[16:52:37] File not found: resources/assets/css/style.css
[16:52:37] Finished 'styles' after 39 ms
[16:52:37] Starting 'scripts'...
[16:52:37] Merging: resources/assets/js/libs/**/*.js,resources/assets/js/app.js,resources/assets/js/appRoutes.js,resources/assets/js/control
lers/**/*.js,resources/assets/js/services/**/*.js,resources/assets/js/directives/**/*.js
[16:52:37] File not found: resources/assets/js/appRoutes.js
[16:52:37] File not found: resources/assets/js/app.js
[16:52:37] Finished 'scripts' after 8.07 ms
[16:52:37] Starting 'version'...
[16:52:37] Versioning: public/css/all.css,public/js/all.js
[16:52:37] File not found: public/js/all.js
[16:52:37] File not found: public/css/all.css
[16:52:37] Finished 'version' after 8.82 ms
[16:52:37] Starting 'copy'...
[16:52:37] Finished 'copy' after 2.23 ms

Socialite Integration

Would it be possible to add socialite to this project? It seems to me to be unclear as to how you are actually supposed to implement socialite within a project. Normally I'd fork a project for something so simple, but I myself have no idea how to do it.

Any idea how to seed a Postgres DB?

I'm getting the following error:
QLSTATE[42704]: Undefined object: 7 ERROR: unrecognized configuration parameter "foreign_key_checks" (SQL: SET FOREIGN_KEY_CHECKS=0;)

Tried various things found here
https://gist.github.com/isimmons/8202227
here
http://espadav8.co.uk/2015/03/04/laravel-database-seeding-with-postgresql/
and here
http://www.estelnetcomputing.com/index.php?/archives/7-Postgresql-equivalent-of-SET-FOREIGN_KEY_CHECKS-in-mysql.html

Still struggling. Any tips would be greatly appreciated.

Socialite Issues

Just be advised there are issues with socialite currently in this project. Due to the lack of documentation I implemented it wrong. I'm trying to find time to redo it. Everything else works.

rev-manifest.json missing after all installation steps

Hi,
I did all the installation steps of your readme. I also installed your Vault package.
Now when I go to localhost I get this a few times:
file_get_contents(/server/public/vapp/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /server/public/vapp/resources/views/layouts/master.blade.php) (View: /server/public/vapp/resources/views/layouts/master.blade.php)

How do I create rev-manifest.json?

Getting BadMethodCallException when a new user registers with confirm_email setting is false.

Hi, I am getting this error BadMethodCallException in Builder.php line 1992:Call to undefined method Illuminate\Database\Query\Builder::only() when i try to register a new user with confirm_email setting is false. I deleted composer.lock and ran (dumpautoload -o), but still getting the same error.

Here's my error stack trace:
stack20062015

btw thanks for the awesome boilerplate ๐Ÿ‘

Macro's broken when updating app:name

I updated app:name to something other than 'App'. I edited config/access.php and gave the new model location for Role and Permission and everything seems to work ok except the Macro's page.

When loading the Macro's page the following error occurs:

FatalErrorException in ClassLoader.php line 347:
Maximum function nesting level of '100' reached, aborting!

Dont get socialite to work

Hi again!

I created my google-app, got all my credentials that i entered to the suggested .env variables.
my GOOGLE_REDIREC=http://subdomain.mysite.com/auth/login/google

I have pushed my stuff up to the real server that was registered at google.

So i tried to create a new app and keys, i applied them on the .env on the server

And the FIRST time when i click "Login with Google" i get this error:
InvalidStateException in AbstractProvider.php line 161:
And then i go back, refresh and click the same link i get this error:
ClientException in RequestException.php line 89: Client error response [url] https://www.googleapis.com/plus/v1/people/me?prettyPrint=false [status code] 403 [reason phrase] Forbidden

Is there anything else I need to do? Cause i do not get any further after that error.
I pulled the repo after your latest commit where you stated the Socialite to be fixed.
I have done your new migrations and all that jazz.

Hope we can figure this out as well!

Problem with Gulp

Gulp don't generate a new css with clean install.

I use less, and the css don't change..

Why,

Thanks !

Role save problem

Select a role, and click the edit button , and then save. repeat this action ,The permissions will duplicate each time in the list.
71eabc96-46ec-4f7b-be32-16b8edfa8e65

PHP Debug not working correctly?

Also it seems even with APP_DEBUG=true the debugging doesn't work as expected. ie - if you do a dd('die and dump'); this is not output, it seems to be ignored.

Pagination Render

in resources/views/backend/access/index.blade.php

change:

    <div class="pull-left">
        {{ $users->total() }} user(s) total
    </div>

    <div class="pull-right">
        {{ $users->render() }}
    </div>

to

    <div class="pull-left">
        {!! $users->total() !!} user(s) total
    </div>

    <div class="pull-right">
        {!! $users->render() !!}
    </div>

Move docs into wiki

I've noticed the readme file has become very messy with the recent additions to the boilerplate. I have a bit of free time at the moment, so (If it's okay with you @rappasoft) I'll migrate some stuff into the wiki.

Socialite: Google oauth issues

Having some issues with Google/socialite.

Everything seems configured right in the sense that the login with google link takes me to login, asks me to grant permissions, and redirects me back to mysite.com/auth/login/google with the ?state= string from google tacked on, but laravel says "Whoops, looks like something went wrong." and generates the following error log.

Any ideas?

[2015-08-12 16:24:53] production.ERROR: exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: 401' in /www/vendor/guzzlehttp/guzzle/src/Middleware.php:69
Stack trace:
#0 /www/vendor/guzzlehttp/promises/src/Promise.php(199): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response))
#1 /www/vendor/guzzlehttp/promises/src/Promise.php(152): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array)
#2 /www/vendor/guzzlehttp/promises/src/TaskQueue.php(60): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}()
#3 /www/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(96): GuzzleHttp\Promise\TaskQueue->run()
#4 /www/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(123): GuzzleHttp\Handler\CurlMultiHandler->tick()
#5 /www/vendor/guzzlehttp/promises/src/Promise.php(240): GuzzleHttp\Handler\CurlMultiHandler->execute(true)
#6 /www/vendor/guzzlehttp/promises/src/Promise.php(217): GuzzleHttp\Promise\Promise->invokeWaitFn()
#7 /www/vendor/guzzlehttp/promises/src/Promise.php(261): GuzzleHttp\Promise\Promise->waitIfPending()
#8 /www/vendor/guzzlehttp/promises/src/Promise.php(219): GuzzleHttp\Promise\Promise->invokeWaitList()
#9 /www/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#10 /www/vendor/guzzlehttp/guzzle/src/Client.php(130): GuzzleHttp\Promise\Promise->wait()
#11 /www/vendor/guzzlehttp/guzzle/src/Client.php(88): GuzzleHttp\Client->request('post', 'https://account...', Array)
#12 /www/vendor/laravel/socialite/src/Two/GoogleProvider.php(55): GuzzleHttp\Client->__call('post', Array)
#13 /www/vendor/laravel/socialite/src/Two/GoogleProvider.php(55): GuzzleHttp\Client->post('https://account...', Array)
#14 /www/vendor/laravel/socialite/src/Two/AbstractProvider.php(187): Laravel\Socialite\Two\GoogleProvider->getAccessToken('4/lBQk0JuUOk4af...')
#15 /www/app/Repositories/Frontend/Auth/EloquentAuthenticationRepository.php(137): Laravel\Socialite\Two\AbstractProvider->user()
#16 /www/app/Repositories/Frontend/Auth/EloquentAuthenticationRepository.php(106): App\Repositories\Frontend\Auth\EloquentAuthenticationRepository->getSocialUser('google')
#17 /www/app/Http/Controllers/Frontend/Auth/AuthController.php(99): App\Repositories\Frontend\Auth\EloquentAuthenticationRepository->loginThirdParty(Array, 'google')
#18 [internal function]: App\Http\Controllers\Frontend\Auth\AuthController->loginThirdParty(Object(Illuminate\Http\Request), 'google')
#19 /www/bootstrap/cache/compiled.php(8445): call_user_func_array(Array, Array)
#20 /www/bootstrap/cache/compiled.php(8514): Illuminate\Routing\Controller->callAction('loginThirdParty', Array)
#21 /www/bootstrap/cache/compiled.php(8494): Illuminate\Routing\ControllerDispatcher->call(Object(App\Http\Controllers\Frontend\Auth\AuthController), Object(Illuminate\Routing\Route), 'loginThirdParty')
#22 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))
#23 /www/bootstrap/cache/compiled.php(9151): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#24 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#25 /www/bootstrap/cache/compiled.php(9133): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#26 /www/bootstrap/cache/compiled.php(8495): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#27 /www/bootstrap/cache/compiled.php(8480): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(App\Http\Controllers\Frontend\Auth\AuthController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'loginThirdParty')
#28 /www/bootstrap/cache/compiled.php(7455): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'App\Http\Contro...', 'loginThirdParty')
#29 /www/bootstrap/cache/compiled.php(7426): Illuminate\Routing\Route->runWithCustomDispatcher(Object(Illuminate\Http\Request))
#30 /www/bootstrap/cache/compiled.php(7079): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#31 [internal function]: Illuminate\Routing\Router->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))
#32 /www/bootstrap/cache/compiled.php(9151): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#33 /www/app/Http/Middleware/RedirectIfAuthenticated.php(41): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#34 [internal function]: App\Http\Middleware\RedirectIfAuthenticated->handle(Object(Illuminate\Http\Request), Object(Closure))
#35 /www/bootstrap/cache/compiled.php(9143): call_user_func_array(Array, Array)
#36 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#37 /www/bootstrap/cache/compiled.php(9133): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#38 /www/bootstrap/cache/compiled.php(7080): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#39 /www/bootstrap/cache/compiled.php(7068): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#40 /www/bootstrap/cache/compiled.php(7053): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#41 /www/bootstrap/cache/compiled.php(2066): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#42 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}(Object(Illuminate\Http\Request))
#43 /www/bootstrap/cache/compiled.php(9151): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#44 /www/bootstrap/cache/compiled.php(2687): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#45 /www/app/Http/Middleware/VerifyCsrfToken.php(17): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))
#46 [internal function]: App\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))
#47 /www/bootstrap/cache/compiled.php(9143): call_user_func_array(Array, Array)
#48 /www/bootstrap/cache/compiled.php(12399): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#49 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#50 /www/bootstrap/cache/compiled.php(9143): call_user_func_array(Array, Array)
#51 /www/bootstrap/cache/compiled.php(11048): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#52 [internal function]: Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#53 /www/bootstrap/cache/compiled.php(9143): call_user_func_array(Array, Array)
#54 /www/bootstrap/cache/compiled.php(12137): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#55 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#56 /www/bootstrap/cache/compiled.php(9143): call_user_func_array(Array, Array)
#57 /www/bootstrap/cache/compiled.php(12076): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#58 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#59 /www/bootstrap/cache/compiled.php(9143): call_user_func_array(Array, Array)
#60 /www/bootstrap/cache/compiled.php(2737): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#61 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#62 /www/bootstrap/cache/compiled.php(9143): call_user_func_array(Array, Array)
#63 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#64 /www/bootstrap/cache/compiled.php(9133): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#65 /www/bootstrap/cache/compiled.php(2013): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#66 /www/bootstrap/cache/compiled.php(1999): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#67 /www/webroot/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#68 {main}

Testing Issues

I was writing some tests, and I encountered an error.

This issue can be replicated by simply doing two tests with the call or visit methods.

public function testFirstVisit()
{
    $this->visit('/')
        ->see('Home');
}

public function testSecondVisit()
{
    $this->visit('/')
        ->see('Home');
}

This throws an error...

It seems that PHPUnit does not like the require_once in the routes.php file. If we move the required files in the routes file the issue is resolved.

Bootstrap glyphicon 404 issue in gulpfile.js

I got Bootstrap glyphicon 404 issue

So in gulpfile.js, correct this line

.copy('vendor/twbs/bootstrap-sass/assets/fonts/bootstrap', 'public/fonts')

to

 .copy('vendor/twbs/bootstrap-sass/assets/fonts/bootstrap', 'public/build/fonts/bootstrap')

Model Factories is missing?

Hi again @rappasoft
Now I have finally gotten the time to dig into your repo and I am using it in one of my current projects.

I have a question though..
How come the database/factories is not in your repo? Haven't updated from dev branch to the current 5.1?

If I knew how to make a pull request about this I would have. I have no clue of what you need to do to include it or how I even can import it to my own projekt? Cause I really want it!

Issue with User EloquentUserRepository and UserContract

Hello,

I really like the new changes to the boilerplate, very slick. However I'm having an issue with the EloquentUserRepository. I have not changed either the EloquentUserRepository nor the UserContract. The bug is as follows:

FatalErrorException in EloquentUserRepository.php line 13: Declaration of App\Repositories\Backend\User\EloquentUserRepository::create() must be compatible with App\Repositories\Backend\User\UserContract::create($input)

Any help would be greatly appreciated

git icon wont show for git-related files

Hi, I love this theme, I think its really great, big thanks to your hard and fast work.

But I have stumbled upon an error that uninstall/install reboot wont fix.

I have the sweet laravel logo, php logo, js, json, yml icons but on my .gitignore file i only have a dark cogwheel.

sidebar

Here is my config, don't know what could be causing this so i post my entire Settings - User file.

{
    "always_show_minimap_viewport": true,
    "bold_folder_labels": true,
    "caret_extra_width": 2,
    "caret_style": "phase",
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
    "copy_with_empty_selection": false,
    "drag_text": false,
    "draw_indent_guides": true,
    "draw_minimap_border": true,
    "enable_tab_scrolling": false,
    "ensure_newline_at_eof_on_save": true,
    "fade_fold_buttons": false,
    "font_face": "Roboto Mono",
    "font_options":
    [
        "gray_antialias"
    ],
    "font_size": 14,
    "highlight_line": true,
    "ignored_packages":
    [
        "Vintage"
    ],
    "indent_guide_options":
    [
        "draw_normal",
        "draw_active"
    ],
    "line_padding_bottom": 3,
    "line_padding_top": 3,
    "match_brackets_content": false,
    "match_selection": false,
    "match_tags": false,
    "open_files_in_new_window": false,
    "overlay_scroll_bars": "enabled",
    "preview_on_click": false,
    "rulers":
    [
        80
    ],
    "scroll_past_end": true,
    "scroll_speed": 5.0,
    "show_full_path": false,
    "sidebar_default": true,
    "tab_size": 4,
    "theme": "Material-Theme.sublime-theme",
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true,
    "word_wrap": true
}

Got any idea of how i can fix this?

Update local from your repo

Hi @rappasoft

This question might be a bit silly.. But I cant get my head around this.

I have cloned your repo, then I deleted the .git folder (to get only my own history).
Now, one of my projects is a bit behind your repo (ex. the ModelFactory). How do I update and pull/merge the updates from your repo to my local repo?

In my head, something like composer updateor npm install should do the trick but it clearly doesnt..

How should I work/think/act properly?

Permitted to enter admin section from Default User

I was testing the Access functionality for the Default User and found out that i was able to access the admin section even though I was logged in through the Default User generated from the DB Seed

I eventually found the problem, So thought should share:

RouteNeedsRoleOrPermission.php

From

if ($assets['needsAll'])
            if (! access()->hasRoles($assets['roles'], true) || ! access()->canMultiple($assets['permissions'], true))
                return $this->getRedirectMethodAndGo($request, $params);
        else
            if (! access()->hasRoles($assets['roles'], false) && ! access()->canMultiple($assets['permissions'], false))
                return $this->getRedirectMethodAndGo($request, $params);

TO

if ($assets['needsAll']) {
            if (!access()->hasRoles($assets['roles'], true) || !access()->canMultiple($assets['permissions'], true)){
                return $this->getRedirectMethodAndGo($request, $params);
            }
        }else {
            if (!access()->hasRoles($assets['roles'], false) && !access()->canMultiple($assets['permissions'], false)){
                return $this->getRedirectMethodAndGo($request, $params);
            }
        }

I had issues with the conditions bracket.

Gulp Configuration

In a GulpFile the destination of compile file is frontend.css, etc...
but when i compile or activate gulp watch the compiled is in app.css and link on my master.blades is to frontend.css.

Whats is wrong here?

When user confirmed email it is not authenticated user & redirected to dashboard

In AuthController when user confirmed email it is not authenticated user & redirected to dashboard

I see your code in
https://github.com/rappasoft/laravel-5-boilerplate/blob/master/app/Http/Controllers/Frontend/Auth/AuthController.php#L120

Try to redirect user to frontend dashboard but it not logged in.

in https://github.com/rappasoft/laravel-5-boilerplate/blob/master/app/Repositories/Frontend/User/EloquentUserRepository.php#L187

no login attempt made.

How to fix this by redirect user instead to login page..?

Screenshots would be nice

Hi there,

Could you show some screenshots of the backend? I'm wondering what the common sections look like.

[Question] User Registration

So with the Access Seeder making the User Role
How does one put the user in the User Role as soon as they confirm their account?

composer.json dependencies

Hello Rappsoft,

Could you add the required packages on the composer.json (not only on composer.lock) ?

Routing via Role

Hi,

Firstly, just to say that this piece of software has been invaluable to me over the past month. It has definitely saved me lots of time!

Just a question about routing via permission. I can't seem to get it to work.
I have three different roles: 'Administrators', 'Power Users' and 'Users'.
I would like to restrict access to certain routes for each of these roles?

Appologies, if it has been covered elsewhere.

Issue with Facebook Login

I was create a app and adding ids to .env.
When I try to log in with facebook, I cant an show me a error.
screen shot 2015-07-10 at 3 55 24 pm

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.