Skip to content

laravelio/paste.laravel.io

Repository files navigation

Tests Coding Standards

Laravel.io Pastebin

This is the repository for the Laravel.io pastebin. The code is entirely open source and licensed under the MIT license. We welcome your contributions but we encourage you to read the the contributing guide before creating an issue or sending in a pull request. Read the installation guide below to get started with setting up the app on your machine.

Requirements

The following tools are required in order to start the installation.

Installation

  1. Clone this repository locally with git clone git@github.com:laravelio/paste.laravel.io.git paste.laravel.io
  2. Copy the .env.example file to .env
  3. Install the PHP dependencies with composer install
  4. Generate a new app key with php artisan key:generate
  5. Install and compile the front-end dependencies with npm install && npm run dev
  6. Serve the website locally by running php artisan serve

You can now visit the app in your browser by visiting http://127.0.0.1:8000.

Commands

Command Description
php artisan test Run the tests
php artisan migrate:fresh --seed Reset the database
npm run dev Watch for changes in CSS and JS files

Maintainers

The Laravel.io pastebin is currently maintained by Dries Vints and Joe Dixon. If you have any questions please don't hesitate to create an issue on this repo.

Contributing

Please see the contributing guide for details.

Code of Conduct

Please read our Code of Conduct before contributing or engaging in discussions.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

The MIT License. Please see the license file for more information.