PHP Classes

How to Learn to Use the Laravel Framework using a Laravel Example App Provided by the Package Laravel Examples: Teach how to use Laravel from examples

Recommend this page to a friend!
  Info   View files Example   View files View files (108)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-06-30 (Yesterday) RSS 2.0 feedNot yet rated by the usersTotal: 21 This week: 21All time: 11,216 This week: 3Up
Version License PHP version Categories
laravel-examples 1.0MIT/X Consortium ...7Libraries, Web services, Design Patterns, P...
Description 

Author

This package can be used to teach how to use Laravel from examples.

It provides an application to demonstrate how to create a Web application, with an API and console commands using the Laravel framework.

The application shows how to manage user profiles with authentication to control access to the functions of the application.

Picture of Ewerton Daniel
  Performance   Level  
Name: Ewerton Daniel <contact>
Classes: 4 packages by
Country: Brazil Brazil

Example

<?php

use Illuminate\Foundation\Inspiring;
use
Illuminate\Support\Facades\Artisan;

/*
|--------------------------------------------------------------------------
| Console Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of your Closure based console
| commands. Each Closure is bound to a command instance allowing a
| simple approach to interacting with each command's IO methods.
|
*/

Artisan::command('inspire', function () {
   
$this->comment(Inspiring::quote());
})->
purpose('Display an inspiring quote');


Details

Laravel Examples

Repository with examples created to help friends and co-workers solve their doubts.

? Requirements

? Laravel 10

?? PHP >= 8.1<br/> ?? Ctype PHP Extension<br/> ?? cURL PHP Extension<br/> ?? DOM PHP Extension<br/> ?? Fileinfo PHP Extension<br/> ?? Filter PHP Extension<br/> ?? Hash PHP Extension<br/> ?? Mbstring PHP Extension<br/> ?? OpenSSL PHP Extension<br/> ?? PCRE PHP Extension<br/> ?? PDO PHP Extension<br/> ?? Session PHP Extension<br/> ?? Tokenizer PHP Extension<br/> ?? XML PHP Extension<br/>


  Files folder image Files  
File Role Description
Files folder imageapp (5 directories)
Files folder imagebootstrap (1 file)
Files folder imageconfig (15 files)
Files folder imagedatabase (3 directories)
Files folder imagelang (1 directory)
Files folder imagepublic (3 files)
Files folder imageresources (3 directories)
Files folder imageroutes (5 files)
Files folder imagetests (2 files, 2 directories)
Plain text file artisan Class Class source
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file vite.config.js Data Auxiliary data

  Files folder image Files  /  app  
File Role Description
Files folder imageConsole (1 file)
Files folder imageExceptions (1 file)
Files folder imageHttp (1 file, 3 directories)
Files folder imageModels (1 file)
Files folder imageProviders (5 files)

  Files folder image Files  /  app  /  Console  
File Role Description
  Plain text file Kernel.php Class Class source

  Files folder image Files  /  app  /  Exceptions  
File Role Description
  Plain text file Handler.php Class Class source

  Files folder image Files  /  app  /  Http  
File Role Description
Files folder imageControllers (2 files, 1 directory)
Files folder imageMiddleware (9 files)
Files folder imageRequests (1 directory)
  Plain text file Kernel.php Class Class source

  Files folder image Files  /  app  /  Http  /  Controllers  
File Role Description
Files folder imageAuth (10 files)
  Plain text file Controller.php Class Class source
  Plain text file ProfileController.php Class Class source

  Files folder image Files  /  app  /  Http  /  Controllers  /  Auth  
File Role Description
  Plain text file AuthenticatedSessionController.php Class Class source
  Plain text file ConfirmablePasswordController.php Class Class source
  Plain text file EmailVerificationN...ationController.php Class Class source
  Plain text file EmailVerificationPromptController.php Class Class source
  Plain text file NewPasswordController.php Class Class source
  Plain text file PasswordController.php Class Class source
  Plain text file PasswordResetLinkController.php Class Class source
  Plain text file RegisteredUserController.php Class Class source
  Plain text file SocialiteController.php Class Class source
  Plain text file VerifyEmailController.php Class Class source

  Files folder image Files  /  app  /  Http  /  Middleware  
File Role Description
  Plain text file Authenticate.php Class Class source
  Plain text file EncryptCookies.php Class Class source
  Plain text file PreventRequestsDuringMaintenance.php Class Class source
  Plain text file RedirectIfAuthenticated.php Class Class source
  Plain text file TrimStrings.php Class Class source
  Plain text file TrustHosts.php Class Class source
  Plain text file TrustProxies.php Class Class source
  Plain text file ValidateSignature.php Class Class source
  Plain text file VerifyCsrfToken.php Class Class source

  Files folder image Files  /  app  /  Http  /  Requests  
File Role Description
Files folder imageAuth (2 files)

  Files folder image Files  /  app  /  Http  /  Requests  /  Auth  
File Role Description
  Plain text file SocialiteCallbackRequest.php Class Class source
  Plain text file SocialiteRegisterRequest.php Class Class source

  Files folder image Files  /  app  /  Models  
File Role Description
  Plain text file User.php Class Class source

  Files folder image Files  /  app  /  Providers  
File Role Description
  Plain text file AppServiceProvider.php Class Class source
  Plain text file AuthServiceProvider.php Class Class source
  Plain text file BroadcastServiceProvider.php Class Class source
  Plain text file EventServiceProvider.php Class Class source
  Plain text file RouteServiceProvider.php Class Class source

  Files folder image Files  /  bootstrap  
File Role Description
  Plain text file app.php Class Class source

  Files folder image Files  /  config  
File Role Description
  Plain text file app.php Class Class source
  Plain text file auth.php Class Class source
  Accessible without login Plain text file broadcasting.php Aux. Configuration script
  Accessible without login Plain text file cache.php Aux. Configuration script
  Accessible without login Plain text file cors.php Aux. Configuration script
  Accessible without login Plain text file database.php Aux. Configuration script
  Accessible without login Plain text file filesystems.php Aux. Configuration script
  Accessible without login Plain text file hashing.php Aux. Configuration script
  Plain text file logging.php Class Class source
  Accessible without login Plain text file mail.php Aux. Configuration script
  Accessible without login Plain text file queue.php Aux. Configuration script
  Plain text file sanctum.php Class Class source
  Accessible without login Plain text file services.php Aux. Configuration script
  Accessible without login Plain text file session.php Aux. Configuration script
  Accessible without login Plain text file view.php Aux. Configuration script

  Files folder image Files  /  database  
File Role Description
Files folder imagefactories (1 file)
Files folder imagemigrations (4 files)
Files folder imageseeders (1 file)

  Files folder image Files  /  database  /  factories  
File Role Description
  Plain text file UserFactory.php Class Class source

  Files folder image Files  /  database  /  migrations  
File Role Description
  Plain text file 2014_10_12_000000_create_users_table.php Class Class source
  Plain text file 2014_10_12_100000_...et_tokens_table.php Class Class source
  Plain text file 2019_08_19_000000_...iled_jobs_table.php Class Class source
  Plain text file 2019_12_14_000001_...ss_tokens_table.php Class Class source

  Files folder image Files  /  database  /  seeders  
File Role Description
  Plain text file DatabaseSeeder.php Class Class source

  Files folder image Files  /  lang  
File Role Description
Files folder imageen (4 files)

  Files folder image Files  /  lang  /  en  
File Role Description
  Accessible without login Plain text file auth.php Aux. Configuration script
  Accessible without login Plain text file pagination.php Aux. Configuration script
  Accessible without login Plain text file passwords.php Aux. Configuration script
  Accessible without login Plain text file validation.php Aux. Configuration script

  Files folder image Files  /  public  
File Role Description
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Plain text file index.php Class Class source
  Accessible without login Plain text file robots.txt Doc. Documentation

  Files folder image Files  /  resources  
File Role Description
Files folder imagecss (1 file)
Files folder imagejs (2 files)
Files folder imageviews (2 files, 4 directories)

  Files folder image Files  /  resources  /  css  
File Role Description
  Accessible without login Plain text file app.css Data Auxiliary data

  Files folder image Files  /  resources  /  js  
File Role Description
  Accessible without login Plain text file app.js Data Auxiliary data
  Accessible without login Plain text file bootstrap.js Data Auxiliary data

  Files folder image Files  /  resources  /  views  
File Role Description
Files folder imageauth (6 files)
Files folder imagecomponents (14 files)
Files folder imagelayouts (3 files)
Files folder imageprofile (1 file, 1 directory)
  Accessible without login Plain text file dashboard.blade.php Aux. Configuration script
  Accessible without login Plain text file welcome.blade.php Aux. Configuration script

  Files folder image Files  /  resources  /  views  /  auth  
File Role Description
  Accessible without login Plain text file confirm-password.blade.php Aux. Configuration script
  Accessible without login Plain text file forgot-password.blade.php Aux. Configuration script
  Accessible without login Plain text file login.blade.php Aux. Configuration script
  Accessible without login Plain text file register.blade.php Aux. Configuration script
  Accessible without login Plain text file reset-password.blade.php Aux. Configuration script
  Accessible without login Plain text file verify-email.blade.php Aux. Configuration script

  Files folder image Files  /  resources  /  views  /  components  
File Role Description
  Accessible without login Plain text file application-logo.blade.php Aux. Configuration script
  Accessible without login Plain text file auth-session-status.blade.php Aux. Configuration script
  Accessible without login Plain text file danger-button.blade.php Aux. Configuration script
  Accessible without login Plain text file dropdown-link.blade.php Aux. Configuration script
  Accessible without login Plain text file dropdown.blade.php Aux. Configuration script
  Accessible without login Plain text file icons.blade.php Aux. Configuration script
  Accessible without login Plain text file input-error.blade.php Aux. Configuration script
  Accessible without login Plain text file input-label.blade.php Aux. Configuration script
  Accessible without login Plain text file modal.blade.php Aux. Configuration script
  Accessible without login Plain text file nav-link.blade.php Aux. Configuration script
  Accessible without login Plain text file primary-button.blade.php Aux. Configuration script
  Accessible without login Plain text file responsive-nav-link.blade.php Aux. Configuration script
  Accessible without login Plain text file secondary-button.blade.php Aux. Configuration script
  Accessible without login Plain text file text-input.blade.php Aux. Configuration script

  Files folder image Files  /  resources  /  views  /  layouts  
File Role Description
  Accessible without login Plain text file app.blade.php Aux. Configuration script
  Accessible without login Plain text file guest.blade.php Aux. Configuration script
  Accessible without login Plain text file navigation.blade.php Aux. Configuration script

  Files folder image Files  /  resources  /  views  /  profile  
File Role Description
Files folder imagepartials (3 files)
  Accessible without login Plain text file edit.blade.php Aux. Configuration script

  Files folder image Files  /  resources  /  views  /  profile  /  partials  
File Role Description
  Accessible without login Plain text file delete-user-form.blade.php Aux. Configuration script
  Accessible without login Plain text file update-password-form.blade.php Aux. Configuration script
  Accessible without login Plain text file update-profile-inf...tion-form.blade.php Aux. Configuration script

  Files folder image Files  /  routes  
File Role Description
  Accessible without login Plain text file api.php Example Example script
  Plain text file auth.php Class Class source
  Accessible without login Plain text file channels.php Example Example script
  Accessible without login Plain text file console.php Example Example script
  Plain text file web.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageFeature (1 file)
Files folder imageUnit (1 file)
  Plain text file CreatesApplication.php Class Class source
  Plain text file TestCase.php Class Class source

  Files folder image Files  /  tests  /  Feature  
File Role Description
  Accessible without login Plain text file ExampleTest.php Example Example script

  Files folder image Files  /  tests  /  Unit  
File Role Description
  Accessible without login Plain text file ExampleTest.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:21
This week:21
All time:11,216
This week:3Up