To add scafold to Laravel 5.1

Overview

Scafold

Installation Laravel 5.3

To install on Laravel 5.3 go to Scafold 5.3.

Installation Laravel 5.1

You can install this package by using Composer, running this command:

    composer require bestmomo/scafold

The next required step is to add the service provider to config/app.php :

    Bestmomo\Scafold\ScafoldServiceProvider::class,

Publish

The last required step is to publish views and assets in your application with :

    php artisan vendor:publish

If you get the error

    Nothing to publish for tag []!

Then run this command :

    php artisan config:clear

Congratulations, you have successfully installed Scafold !

Comments
  • Class not found on clean install via composer

    Class not found on clean install via composer

    Hi, after a clean install (on a fresh project) like in the README a subsequent call "composer update" fails with the following error. The only additional service provider installed is barryvdh/laravel-ide-helper, apart from that it's a vanilla Laravel 5.1. Any clue? I'm fairly new to Laravel, so my search ended when digging into the Autoloader and its magic...

    vagrant@dev:/var/www/example.com/web$ php artisan clear-compiled
    PHP Fatal error:  Class 'Bestmomo\Scafold\ScafoldServiceProvider' not found in /var/www/example.com/web/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 146
    PHP Stack trace:
    PHP   1. {main}() /var/www/example.com/web/artisan:0
    PHP   2. Illuminate\Foundation\Console\Kernel->handle() /var/www/example.com/web/artisan:36
    PHP   3. Illuminate\Foundation\Console\Kernel->bootstrap() /var/www/example.com/web/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:98
    PHP   4. Illuminate\Foundation\Application->bootstrapWith() /var/www/example.com/web/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:206
    PHP   5. Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap() /var/www/example.com/web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:203
    PHP   6. Illuminate\Foundation\Application->registerConfiguredProviders() /var/www/example.com/web/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17
    PHP   7. Illuminate\Foundation\ProviderRepository->load() /var/www/example.com/web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:507
    PHP   8. Illuminate\Foundation\ProviderRepository->compileManifest() /var/www/example.com/web/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:60
    PHP   9. Illuminate\Foundation\ProviderRepository->createProvider() /var/www/example.com/web/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:114
    
    
    
      [Symfony\Component\Debug\Exception\FatalErrorException]
      Class 'Bestmomo\Scafold\ScafoldServiceProvider' not found
    
    opened by novalis111 7
  • Changing Scaffold Authentication Default Files

    Changing Scaffold Authentication Default Files

    Hy guys,

    Would be a problem if I change the default Auth files according with my bussiness rules? Will Laravel replace my changes when I perfom 'composer update'?

    By example: Changing the default User.php model (located originally at app/).

    Thanks.

    opened by DaltonCastro 4
  • does not work with OpenClassrooms Tutorial example

    does not work with OpenClassrooms Tutorial example

    Hi, It seems that there is an issue with your OpenClassrooms Laravel Tutorial and this Scafold (chapitre L'AUTHENTIFICATION). I can't login in the demo app because the method used to check the password always returns false. In the tutorial, passwords are encrypted with the PHP bcrypt function, but they are checked by default by the Illuminate\Hashing\BcryptHasher with the PHP password_hash function : [30] $hash = password_hash($value, PASSWORD_BCRYPT, ['cost' => $cost]);

    The PHP password_check function in the BCryptHasher->check method returns false : [53] return password_verify($value, $hashedValue);

    And so it is impossible to login... Shouldn't it be better to use the BCryptHasher->make method to store the passwords when registering in the demo app ?

    PS : sorry I know this is not the right place to post this message, but I can't find another way to reach you. Great tutorial otherwise ;-)

    opened by ligne13 2
  • l'adresse email n'existe pas

    l'adresse email n'existe pas

    Bonsoir Maurice,

    Déjà un grand merci pour vos tutos que je suis à la lettre sur openclassrooms, cela m'aide énormément et vous êtes très pédagogue. Je débute avec Laravel et suite à la l'étape d'authentification je me butte pas un pb pour lequel je ne sais pas par ou investiguer.

    Lorsque je m'authentifie j'obtiens toujours le message d'erreur l'adresse email n'existe pas. Par contre dès lors que je reset mon mdp je suis bien redirigé sur la page home en me disant que je suis loggué.

    Avez vous des pistes pour m'aider à avancer car j'avoue que je me sens un peu perdu là :-) Merci encore d'avance, Nicolas

    opened by Nikolas33 2
  • overwriting existing views

    overwriting existing views

    Hi, thanks for this great package. I firstly followed the instructions on laravel 5.1 authentication docs.As told in there, I created the two views by using the sample login and register forms.

    resources/views/auth/login.blade.php resources/views/auth/register.blade.php

    Since these look like crap, I googled and found your scaffold and followed the instructions. However artisan vendor:publish did not overwrite the existing files which I created above. I removed those and published again and it worked fine.

    It'd be great if you enable overwriting of any existing files on vendor:publish.

    Thanks.

    opened by ilterocal 2
  • request to fix the readme.md

    request to fix the readme.md

    hi bestmomo developers,

    the other day, i noticed the bellow reading the readme.md.

    • current

      Bestmomo\Scafold\ScafoldServiceProvider::class,
    • fixed

      Bestmomo\Scafold\ScafoldServiceProvider,

    how do you think ?

    best regards hi-time.

    opened by hi-time 1
  • OpenClassRoom

    OpenClassRoom

    Hello,

    Following your Laravel 5.1 tutorial, you ask people to get your package from GitHub.

    I can see you recently removed Glyphicons and the included CSS. Your tutorial isn't yet updated for these changes so... have you replaced all this by CDN links ? Can I still follow your tutorial without any issue ?

    Kind regards.

    opened by FHoulbreque 1
  • Controller and routes not needed

    Controller and routes not needed

    I just need to publish the views Is there a way to disable the controller and the routes? The only way I see is by commenting the provider after publishing

    opened by isometriq 1
  • Fails If Namespace Is Already Set

    Fails If Namespace Is Already Set

    If I already set up the app namespace for my project, installation of this package fails with the following error when trying to run artisan commands:

    [ReflectionException]                                          
      Class App\Http\Controllers\Auth\AuthController does not exist
    
    opened by mikebronner 1
  • Add the password reset email view

    Add the password reset email view

    Salut momo, You have forgotten the password reset email view on your package. I added the email view and its directory and i modified the src/ScafoldServiceprovider.php file to include the views/emails/password.blade.php file.

    opened by hedii 1
Releases(V1.0.0)
Owner
null
LittleLink Custom provides you with a website similar to Linktree. Many social media platforms only allow you to add one link

LittleLink Custom is a fork of LittleLink Admin with a set goal of making the admin panel easier to use and setup, for inexperienced and first-time users, with the addition of many custom features themed around customization for the individual user's, LittleLink pages.

Julian Prieber 612 Jan 3, 2023
A Laravel Starter Kit for Laravel. Built with Laravel 8.

Laravel Get Started Project Laravel Get Started Project is a basic crud app built with laravel 8. In this app a basic product crud created. Features i

Nazmul Hasan Robin 8 Nov 24, 2022
LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like Advanced CRUD Generation, Module Manager, Backups and many more.

LaraAdmin 1.0 LaraAdmin is a Open source CRM for quick-start Admin based applications with features like Advanced CRUD Generation, Schema Manager and

Dwij IT Solutions 1.5k Dec 29, 2022
The Laravel Boilerplate Project - https://laravel-boilerplate.com

Laravel Boilerplate (Current: Laravel 8.*) (Demo) Demo Credentials Admin: [email protected] Password: secret User: [email protected] Password: secret Offici

Anthony Rappa 5.4k Jan 4, 2023
A Laravel 5 package that switchs default Laravel scaffolding/boilerplate to AdminLTE template and Pratt Landing Page with Bootstrap 3.0

AdminLTE template Laravel package A Laravel package that switch default Laravel scaffolding / boilerplate to AdminLTE template with Bootstrap 3.0 and

Sergi Tur Badenas 1.8k Jan 3, 2023
A Laravel Admin Panel (Laravel Version : 6.0)

Laravel Admin Panel (Current: Laravel 7.*) Introduction Laravel Admin Panel provides you with a massive head start on any size web application. It com

ftxinfotech 903 Dec 31, 2022
Laravel Vue SPA, Bulma themed. For demo login use `[email protected]` & `password` -

Laravel Enso Hit the ground running when building your new Laravel SPA project with boilerplate and extra functionality out of the box! click on the p

Laravel Enso 1k Jan 3, 2023
High scalable boilerplate for Laravel - Vue using laravel-mix.

Why use this ? This boilerplate make developer easier to make monolith Laravel project which integrated with Vue.js and vue-router as default front-en

Carvel Saputra Martaloho 5 Sep 21, 2022
Gestor de Contraseñas basado en Laravel 8 + PHP 8 + MySQL 8. Self-hosted Password Manager based on Laravel 8 + PHP 8 + MySQL 8.

English Gestor de Contraseñas Esta aplicación permite una gestión completa de contraseñas para múltiples tipos de servicios (web, ssh, teléfonos, wifi

Lito 134 Jan 2, 2023
Laravel Vue SPA, Bulma themed. For demo login use `[email protected]` & `password` -

Laravel Enso Hit the ground running when building your new Laravel SPA project with boilerplate and extra functionality out of the box! click on the p

Laravel Enso 1k Jan 3, 2023
laravel/ui with auth scaffolding for Laravel 8

Legacy UI Presets with Auth scaffolding for Laravel 8 Introduction This project brings old Auth scaffolding to Laravel 8 for projects that cannot migr

Roger Vilà 56 Jul 17, 2022
Laravel Starter With Laravel, Vite, Vue 2, Inertia.js, Ziggy

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Oskars Germovs 1 Oct 29, 2021
Laravel Starter With Laravel, Vite, Vue 2, Inertia.js, Ziggy, Typescript

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Oskars Germovs 1 Oct 29, 2021
Base Laravel project with React and Laravel Sanctum authentication

About this project This is a base Laravel project with ReactJS frontend and Laravel Sanctum API authentication. You could read more about here. Instal

David Toth 8 Oct 25, 2022
Laravel and AngularJS Starter Application Boilerplate featuring Laravel 5.3 and AngularJS 1.5.8

?? Zemke/starter-laravel-angular has been upgraded to AngularJS 1.5.8. ?? Zemke/starter-laravel-angular has been upgraded to Laravel 5.3. You can pull

Florian Zemke 372 Nov 21, 2022
Laravel Boilerplate (Current: Laravel 8.*)

Laravel Boilerplate (Current: Laravel 8.*) (Demo) Demo Credentials Admin: [email protected] Password: secret User: [email protected] Password: secret Offici

Anthony Rappa 5.2k Nov 17, 2021
🔥 基于 Laravel 的后台系统构建工具 (Laravel Admin),使用很少的代码快速构建一个功能完善的高颜值后台系统,内置丰富的后台常用组件,开箱即用,让开发者告别冗杂的HTML代码

Dcat Admin是一个基于laravel-admin二次开发而成的后台系统构建工具,只需很少的代码即可快速构建出一个功能完善的高颜值后台系统。内置丰富的后台常用组件,开箱即用,让开发者告别冗杂的HTML代码,对后端开发者非常友好。 官方网站 中文文档 English documentions D

Jiang Qinghua 3.3k Dec 22, 2022
Laravel Quick-Start - a boilerplate for Laravel Application with typical packages preinstalled and configured

Laravel Quickstart is a boilerplate for Laravel Application with typical packages preinstalled and configured to extend a full-fledged application. We tried to make it as minimal as possible.

Vijay Goswami 18 Sep 8, 2022