PHP App Server Tools: Automate the creation of Laravel based app servers

Recommend this page to a friend!
  Info   View files Documentation   View files View files (63)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2020-12-15 (10 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 54 This week: 1All time: 10,056 This week: 282Up
Version License PHP version Categories
app-server-tools 1.0.0GNU General Publi...5PHP 5, Utilities and Tools, Systems a...
Description Author

This package can be used to automate the creation of Laravel based app servers.

It provides commands that can work as tools to execute several steps of creating PHP application server. Currently it provides commands to help:

- Create the application directory
- Setup nginx Web server configuration
- Setup the necessary permissions to directories that need to be writable
- Show the current configuration information for setting up Envoyer
- Input your envoyer worker public key
- Delete an existing site
- Setup MySQL database and access credentials
- Perform security steps

Innovation Award
PHP Programming Innovation award nominee
December 2020
Number 8
Laravel is a popular framework to develop PHP applications. Putting a Laravel project to run requires more steps besides setting up the project files.

This package helps doing other important setup steps like setting up the directory of the application, MySQL database access, the NGinx Web server, the integration with the Envoyer application deployment service and some security steps.


Manuel Lemos
Picture of TJ Webb
Name: TJ Webb <contact>
Classes: 4 packages by
Country: Canada Canada
Age: ???
All time rank: 423589 in Canada Canada
Week rank: 153 Up4 in Canada Canada Up
Innovation award
Innovation award
Nominee: 1x

Details

Appserv Tools

Intro

Appserv Tools is a bunch of commands to automate all of the general laravel app setup stuff. This tool can: 1. Create your app's directory 2. Setup nginx configs 3. Make necessary directories writable 4. Show you config info for setting up envoyer (IP, user, etc. etc.) 5. Let you input your envoyer worker public key 6. Delete an existing site 7. Setup MySQL credentials for you (create the db, user, etc.) 8. Secure the site

The available commands are listed below. They can be run either using Artisan directly by cding into this apps directory and replacing appserv with php artisan cm:, or you can run them from anywhere using the appserv utility. Either way, some tools need sudoer permissions to run, so you may be prompted for your user's password. Your user should be in the sudoers group.

TODO

  • "guide" mode
  • "help" updates
  • readme updates
  • general cleanup and refactoring
  • normalize name ("Appserv", "App Server Tools", "Appserv Tools")
  • DO Integration (spin up new app, worker, db servers)
  • Automate the above
  • UI for master management, notifications, reports, etc. etc. etc.

Commands

--todo--

  Files folder image Files  
File Role Description
Files folder imageapp (1 file, 4 directories)
Files folder imagebootstrap (1 file)
Files folder imageconfig (13 files)
Files folder imagedatabase (2 directories)
Files folder imageroutes (4 files)
Files folder imagetemplates (3 files)
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  /  app  
File Role Description
Files folder imageConsole (1 file, 1 directory)
Files folder imageExceptions (1 file)
Files folder imageHttp (1 file, 2 directories)
Files folder imageProviders (5 files)
  Plain text file User.php Class Class source

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

  Files folder image Files  /  app  /  Console  /  Commands  
File Role Description
  Plain text file CreateSite.php Class Class source
  Plain text file DeleteSite.php Class Class source
  Plain text file DomainAlias.php Class Class source
  Plain text file EchoEnvoyer.php Class Class source
  Plain text file GetHelp.php Class Class source
  Plain text file InitTools.php Class Class source
  Plain text file MysqlBind.php Class Class source
  Plain text file UtilMysql.php Class Class source
  Plain text file UtilSsl.php Class Class source
  Plain text file UtilWritable.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 (1 file, 1 directory)
Files folder imageMiddleware (7 files)
  Plain text file Kernel.php Class Class source

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

  Files folder image Files  /  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  /  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  /  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. 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  /  database  
File Role Description
Files folder imagefactories (1 file)
Files folder imageseeds (1 file)

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

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

  Files folder image Files  /  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  /  templates  
File Role Description
  Accessible without login Plain text file .env Data Auxiliary data
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Plain text file nginx-site.conf Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:54
This week:1
All time:10,056
This week:282Up
For more information send a message to info at phpclasses dot org.