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.
The following tools are required in order to start the installation.
- Clone this repository locally with
git clone git@github.com:laravelio/paste.laravel.io.git paste.laravel.io
- Copy the
.env.example
file to.env
- Install the PHP dependencies with
composer install
- Generate a new app key with
php artisan key:generate
- Install and compile the front-end dependencies with
npm install && npm run dev
- 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.
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 |
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.
Please see the contributing guide for details.
Please read our Code of Conduct before contributing or engaging in discussions.
Please review our security policy on how to report security vulnerabilities.
The MIT License. Please see the license file for more information.