PHP Classes

Laravel Swagger Sanctum: Product management application with an API

Recommend this page to a friend!
  Info   View files Documentation   View files View files (88)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-08-27 (3 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 21 All time: 10,743 This week: 189Up
Version License PHP version Categories
laravel-swagger-sanc 1.0The PHP License5PHP 5, E-Commerce, Web services
Description Author

This package provides a product management application with an API.

It provides a Web interface and implements an API that allows users to perform several types of operations to manage records of products stored in a database.

Currently, it can:

- List all products

- Store a new product

- Show a single product

- Update a given product

- Delete a product

Picture of Hicri
Name: Hicri <contact>
Classes: 7 packages by
Country: Turkey Turkey
Age: 28
All time rank: 405871 in Turkey Turkey
Week rank: 201 Up4 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 1x

Details

Build


 - commposer update
 - .env edit
 - php artisan migrate
 - php artisan serve

swagger route list

  • route http://127.0.0.1:8000/api/documentation

swagger

sanctum route list

 - http://127.0.0.1:8000/api/register


* field
  * name
  * email
  * password
  * password_confirmation

register

 - http://127.0.0.1:8000/api/login

* field
  * email
  * password

login

 - http://127.0.0.1:8000/api/product
 
 * token
 

product

  Files folder image Files  
File Role Description
Files folder image.idea (4 files)
Files folder imageswapi (11 files, 9 directories)
Accessible without login Image file login.png Data Auxiliary data
Accessible without login Image file product.png Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Image file register.png Data Auxiliary data
Accessible without login Image file swagger.png Data Auxiliary data

  Files folder image Files  /  .idea  
File Role Description
  Accessible without login Plain text file laravel-todo.iml Data Auxiliary data
  Accessible without login Plain text file modules.xml Data Auxiliary data
  Accessible without login Plain text file php.xml Data Auxiliary data
  Accessible without login Plain text file vcs.xml Data Auxiliary data

  Files folder image Files  /  swapi  
File Role Description
Files folder imageapp (5 directories)
Files folder imagebootstrap (1 file)
Files folder imageconfig (16 files)
Files folder imagedatabase (3 directories)
Files folder imagepublic (4 files)
Files folder imageresources (3 directories)
Files folder imageroutes (4 files)
Files folder imagestorage (1 directory)
Files folder imagetests (2 files, 2 directories)
  Accessible without login Plain text file .editorconfig Data Auxiliary data
  Accessible without login Plain text file .env.example Data Auxiliary data
  Accessible without login Plain text file .styleci.yml Data Auxiliary data
  Plain text file artisan Class Class source
  Accessible without login Plain text file composer.json Data Auxiliary data
  Accessible without login Plain text file composer.lock 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 server.php Aux. Auxiliary script
  Accessible without login Plain text file webpack.mix.js Data Auxiliary data

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

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

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

  Files folder image Files  /  swapi  /  app  /  Http  
File Role Description
Files folder imageControllers (3 files, 1 directory)
Files folder imageMiddleware (8 files)
Files folder imageResources (1 file)
  Plain text file Kernel.php Class Class source

  Files folder image Files  /  swapi  /  app  /  Http  /  Controllers  
File Role Description
Files folder imageapi (1 file)
  Plain text file Controller.php Class Class source
  Plain text file ProductController.php Class Class source
  Plain text file UserController.php Class Class source

  Files folder image Files  /  swapi  /  app  /  Http  /  Controllers  /  api  
File Role Description
  Plain text file HomeController.php Class Class source

  Files folder image Files  /  swapi  /  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 VerifyCsrfToken.php Class Class source

  Files folder image Files  /  swapi  /  app  /  Http  /  Resources  
File Role Description
  Plain text file ProductResource.php Class Class source

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

  Files folder image Files  /  swapi  /  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  /  swapi  /  bootstrap  
File Role Description
  Plain text file app.php Class Class source

  Files folder image Files  /  swapi  /  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. Auxiliary script
  Accessible without login Plain text file cache.php Aux. Auxiliary script
  Accessible without login Plain text file cors.php Aux. Auxiliary script
  Accessible without login Plain text file database.php Aux. Auxiliary script
  Accessible without login Plain text file filesystems.php Aux. Auxiliary script
  Accessible without login Plain text file hashing.php Aux. Auxiliary script
  Accessible without login Plain text file l5-swagger.php Aux. Auxiliary script
  Plain text file logging.php Class Class source
  Accessible without login Plain text file mail.php Aux. Auxiliary script
  Accessible without login Plain text file queue.php Aux. Auxiliary script
  Plain text file sanctum.php Class Class source
  Accessible without login Plain text file services.php Aux. Auxiliary script
  Accessible without login Plain text file session.php Aux. Auxiliary script
  Accessible without login Plain text file view.php Aux. Auxiliary script

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

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

  Files folder image Files  /  swapi  /  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_...rd_resets_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
  Plain text file 2022_08_26_200218_..._products_table.php Class Class source

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

  Files folder image Files  /  swapi  /  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
  Accessible without login Plain text file web.config Data Auxiliary data

  Files folder image Files  /  swapi  /  resources  
File Role Description
Files folder imagejs (2 files)
Files folder imagelang (1 directory)
Files folder imageviews (1 file, 1 directory)

  Files folder image Files  /  swapi  /  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  /  swapi  /  resources  /  lang  
File Role Description
Files folder imageen (4 files)

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

  Files folder image Files  /  swapi  /  resources  /  views  
File Role Description
Files folder imagevendor (1 directory)
  Accessible without login Plain text file welcome.blade.php Aux. Auxiliary script

  Files folder image Files  /  swapi  /  resources  /  views  /  vendor  
File Role Description
Files folder imagel5-swagger (1 file)

  Files folder image Files  /  swapi  /  resources  /  views  /  vendor  /  l5-swagger  
File Role Description
  Accessible without login Plain text file index.blade.php Aux. Auxiliary script

  Files folder image Files  /  swapi  /  routes  
File Role Description
  Plain text file api.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
  Accessible without login Plain text file web.php Aux. Auxiliary script

  Files folder image Files  /  swapi  /  storage  
File Role Description
Files folder imageapi-docs (1 file)

  Files folder image Files  /  swapi  /  storage  /  api-docs  
File Role Description
  Accessible without login Plain text file api-docs.json Data Auxiliary data

  Files folder image Files  /  swapi  /  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  /  swapi  /  tests  /  Feature  
File Role Description
  Plain text file ExampleTest.php Class Class source

  Files folder image Files  /  swapi  /  tests  /  Unit  
File Role Description
  Plain text file ExampleTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:21
This week:0
All time:10,743
This week:189Up