PHP Classes

Laravel Automatic CRUD: Generate a CRUD interface for Web and API requests

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 69 All time: 10,305 This week: 455Up
Version License PHP version Categories
laravel-automatic 1.0.0GNU General Publi...7PHP 5, Libraries, Web services, Desig...
Description 

Author

This package can generate a CRUD interface for Web and API requests.

It can route requests that provide basic create, read, update and delete operations to manage records of data.

The requests can handle regular Web requests that serve Web pages as response, or API requests.

Picture of Paulo Henrique
Name: Paulo Henrique is available for providing paid consulting. Contact Paulo Henrique .
Classes: 5 packages by
Country: Brazil Brazil
Age: 40
All time rank: 3745299 in Brazil Brazil
Week rank: 227 Up20 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 4x

Example

<?php

use Illuminate\Http\Request;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

Route::resources([
   
"users"=>"UserController",
   
"products"=>"ProductController"
   
]);

Route::middleware('auth:api')->get('/user', function (Request $request) {
    return
$request->user();
});


Details

Automated Laravel

Simple sample to automated CRUD....

Starting

  • Clone this repository;
  • To Build docker run on terminal:
    $ docker-compose up -d --build
    
    #####*You can omit the '-d' and show the servers running.
  • Now we need to check if the VM is running:
    $ docker ps
    
    $ docker-compose exec app composer install
    $ docker-compose exec app php artisan key:generate
    $ docker-compose exec app php artisan migrate ###### Done.
  • Go to the browser and open http://localhost/ default. If it's okay, congratulations, if not, I do not know how you screwed it up! Fix it. ;)

  Files folder image Files (102)  
File Role Description
Files folder imageapp (7 directories)
Files folder imagebootstrap (1 file)
Files folder imageconfig (13 files)
Files folder imagedatabase (3 directories)
Files folder imagepublic (4 files, 3 directories)
Files folder imageresources (4 directories)
Files folder imageroutes (4 files)
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 app.dockerfile 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 docker-compose.yml 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 vhost.conf Data Auxiliary data
Accessible without login Plain text file web.dockerfile Data Auxiliary data
Accessible without login Plain text file webpack.mix.js Data Auxiliary data

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

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

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

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

  Files folder image Files (102)  /  app  /  Http  /  Controllers  
File Role Description
Files folder imageAuth (5 files)
  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 (102)  /  app  /  Http  /  Controllers  /  Auth  
File Role Description
  Plain text file ForgotPasswordController.php Class Class source
  Plain text file LoginController.php Class Class source
  Plain text file RegisterController.php Class Class source
  Plain text file ResetPasswordController.php Class Class source
  Plain text file VerificationController.php Class Class source

  Files folder image Files (102)  /  app  /  Http  /  Middleware  
File Role Description
  Plain text file Authenticate.php Class Class source
  Plain text file CheckForMaintenanceMode.php Class Class source
  Plain text file EncryptCookies.php Class Class source
  Plain text file RedirectIfAuthenticated.php Class Class source
  Plain text file TrimStrings.php Class Class source
  Plain text file TrustProxies.php Class Class source
  Plain text file VerifyCsrfToken.php Class Class source

  Files folder image Files (102)  /  app  /  Models  
File Role Description
Files folder imageInterfaces (1 file)
  Plain text file Product.php Class Class source
  Plain text file User.php Class Class source

  Files folder image Files (102)  /  app  /  Models  /  Interfaces  
File Role Description
  Plain text file ModelInterface.php Class Class source

  Files folder image Files (102)  /  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 (102)  /  app  /  Repositories  
File Role Description
Files folder imageSuperclass (6 files)
  Plain text file ProductRepository.php Class Class source
  Plain text file UserRepository.php Class Class source

  Files folder image Files (102)  /  app  /  Repositories  /  Superclass  
File Role Description
  Plain text file FindRepository.php Class Class source
  Plain text file HelpRepository.php Class Class source
  Plain text file ModelRepository.php Class Class source
  Plain text file ModelRepositoryInterface.php Class Class source
  Plain text file PersistRepositoryInterface.php Class Class source
  Plain text file SaveRepository.php Class Class source

  Files folder image Files (102)  /  app  /  Services  
File Role Description
Files folder imageAutomate (2 files)
Files folder imageControl (4 files)
Files folder imageUtils (1 file)

  Files folder image Files (102)  /  app  /  Services  /  Automate  
File Role Description
  Plain text file FindService.php Class Class source
  Plain text file SaveDataService.php Class Class source

  Files folder image Files (102)  /  app  /  Services  /  Control  
File Role Description
  Plain text file ObjectControl.php Class Class source
  Plain text file ObjectControlInterface.php Class Class source
  Plain text file RequestControl.php Class Class source
  Plain text file RequestControlInterface.php Class Class source

  Files folder image Files (102)  /  app  /  Services  /  Utils  
File Role Description
  Plain text file ResultControl.php Class Class source

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

  Files folder image Files (102)  /  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 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
  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 services.php Class Class source
  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 (102)  /  database  
File Role Description
Files folder imagefactories (1 file)
Files folder imagemigrations (3 files)
Files folder imageseeds (1 file)

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

  Files folder image Files (102)  /  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 2018_11_25_080000_..._products_table.php Class Class source

  Files folder image Files (102)  /  database  /  seeds  
File Role Description
  Plain text file DatabaseSeeder.php Class Class source

  Files folder image Files (102)  /  public  
File Role Description
Files folder imagecss (1 file)
Files folder imagejs (1 file)
Files folder imagesvg (4 files)
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login Plain text file index.php Example Example script
  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 (102)  /  public  /  css  
File Role Description
  Accessible without login Plain text file app.css Data Auxiliary data

  Files folder image Files (102)  /  public  /  js  
File Role Description
  Accessible without login Plain text file app.js Data Auxiliary data

  Files folder image Files (102)  /  public  /  svg  
File Role Description
  Accessible without login Plain text file 403.svg Data Auxiliary data
  Accessible without login Plain text file 404.svg Data Auxiliary data
  Accessible without login Plain text file 500.svg Data Auxiliary data
  Accessible without login Plain text file 503.svg Data Auxiliary data

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

  Files folder image Files (102)  /  resources  /  js  
File Role Description
Files folder imagecomponents (1 file)
  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 (102)  /  resources  /  js  /  components  
File Role Description
  Accessible without login Plain text file ExampleComponent.vue Data Auxiliary data

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

  Files folder image Files (102)  /  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 (102)  /  resources  /  sass  
File Role Description
  Accessible without login Plain text file app.scss Data Auxiliary data
  Accessible without login Plain text file _variables.scss Data Auxiliary data

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

  Files folder image Files (102)  /  routes  
File Role Description
  Accessible without login Plain text file api.php Example Example script
  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 (102)  /  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 (102)  /  tests  /  Feature  
File Role Description
  Plain text file ExampleTest.php Class Class source

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:69
This week:0
All time:10,305
This week:455Up