The Laravel.io Community Portal.

Last update: Jun 25, 2022

Tests Code Style

Laravel.io

This is the repository for the Laravel.io community portal. 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.

Sponsors

We'd like to thank these amazing companies for sponsoring us. If you are interested in becoming a sponsor, please visit the Laravel.io Github Sponsors page.

Requirements

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

Installation

Note that you're free to adjust the ~/Sites/laravel.io location to any directory you want on your machine. In doing so, be sure to run the valet link command inside the desired directory.

  1. Clone this repository with git clone [email protected]:laravelio/laravel.io.git ~/Sites/laravel.io
  2. Run composer install to install the PHP dependencies
  3. Set up a local database called laravelio
  4. Run composer setup to setup the application
  5. Set up a working e-mail driver like Mailtrap
  6. Configure the (optional) features from below

You can now visit the app in your browser by visiting http://laravel.io.test. If you seeded the database you can login into a test account with johndoe & password.

Github Authentication (optional)

To get Github authentication to work locally, you'll need to register a new OAuth application on Github. Use http://laravel.io.test for the homepage url and http://laravel.io.test/auth/github for the callback url. When you've created the app, fill in the ID and secret in your .env file in the env variables below. You should now be able to authentication with Github.

GITHUB_ID=
GITHUB_SECRET=
GITHUB_URL=http://laravel.io.test/auth/github

Algolia Search (optional)

To get Algolia search running locally, you'll need to register for a new account and create an index called threads. Algolia has a free tier which satisfies all of the requirements needed for a development environment. Now update the below variables in your .env file. The App ID and secret keys can be found in the API Keys section of the Algoila UI.

SCOUT_DRIVER=algolia
SCOUT_QUEUE=true

ALGOLIA_APP_ID=
ALGOLIA_SECRET="Use the Write API Key"

MIX_ALGOLIA_APP_ID="${ALGOLIA_APP_ID}"
MIX_ALGOLIA_SECRET="Use the Search API Key"
MIX_ALGOLIA_INDEX=threads

In order to index your existing threads, run the following command:

php artisan scout:import App\\Models\\Thread

New threads will be automatically added to the index and threads which get edited will be automatically updated. If you need to flush your index and start again, you can run the following command:

php artisan scout:flush App\\Models\\Thread

Twitter Sharing (optional)

To enable published articles to be automatically shared to on Twitter, you'll need to create a Twitter app. Once the app has been created, update the below variables in your .env file. The consumer key and secret and access token and secret can be found in the Keys and tokens section of the Twitter developers UI.

TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_SECRET=

Approved articles are shared in the order they were submitted for approval. Articles are shared twice per day at 14:00 and 18:00 UTC. Once an article has been shared, it will not be shared again.

Commands

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

Maintainers

The Laravel.io portal 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 read the contributing guide before creating an issue or sending in a pull request.

Code of Conduct

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

Security Vulnerabilities

If you discover a security vulnerability within Laravel.io, please send an email immediately to [email protected]. Do not create an issue for the vulnerability.

License

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

GitHub

https://github.com/laravelio/portal
Comments
  • 1. Style ads

    @driesvints, you may need to test this locally as I can't see the ad sense ads. They seem to be taking up around about the right amount of space, but would be nice to see them rendered. I think it's just the homepage, sidebar and footer I can't see.

    Screenshot 2019-08-09 at 16 51 13
    Reviewed by joedixon at 2019-08-09 15:57
  • 2. Notifications

    I'm working on the notifications, we need that to #271, #270 and #279. But I'm not a good designer, so I need help before getting deep into it xd

    It's using vue, he will turn the job easier later.

    This is how it looks now

    image

    The first one are in the hover state, the last one are marked as read.

    Reviewed by LucasLeandro1204 at 2017-07-11 07:11
  • 3. Laravel 8.x Shift

    This pull request includes the changes for upgrading to Laravel 8.x. Feel free to commit any additional changes to the shift-35839 branch.

    Before merging, you need to:

    • Checkout the shift-35839 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 8
    • Run composer update (if the scripts fail, add --no-scripts)
    • Thoroughly test your application (no tests?)

    If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

    Reviewed by driesvints at 2020-11-03 08:42
  • 4. Laravel 5.8 Shift

    This pull request includes the changes for upgrading to Laravel 5.8. Feel free to commit any additional changes to the shift-19040 branch.

    Before merging, you need to:

    • Checkout the shift-19040 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 5.8
    • Run composer update (if the scripts fail, add --no-scripts)
    • Thoroughly test your application (no tests?)

    If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

    Reviewed by driesvints at 2019-09-28 15:05
  • 5. Laravel 5.5 Shift

    This pull request includes the changes for upgrading to Laravel 5.5. Feel free to commit any additional changes to the shift-4820 branch.

    Before merging, you should:

    • Checkout the shift-4820 branch
    • Review all pull request comments for additional changes
    • Run composer update (if the pre-commands fail, add --no-scripts)
    • Thoroughly test your application

    If you would like more help with your upgrade, check out the human services from Laravel Shift. If you need to level-up your Git skills, check out Getting Git.

    Reviewed by driesvints at 2017-10-12 10:08
  • 6. Weird HTML/CSS issue in pastebin

    See image: http://i.imgur.com/eRkcCLe.png - Notice the scroll bar at the bottom. I get this problem in Chrome (Windows and Linux), FireFox (only tested Windows) and Internet Explorer 11.

    This seems to be related to the css of body.bin .show-container { width: 200%; overflow-x: scroll; }

    If I remove either the 200% width or the overflow-x things immediately look better. To get rid of the scrollbar at the bottom I need to do overflow-x: hidden on body, which I'm sure is not the intent.

    These changes were introduced in #105 and I'd love to hear more reasoning behind them. Were they even tested?

    Reviewed by anlutro at 2014-03-07 19:09
  • 7. Laravel 7.x Shift

    This pull request includes the changes for upgrading to Laravel 7.x. Feel free to commit any additional changes to the shift-24472 branch.

    Before merging, you need to:

    • Checkout the shift-24472 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 7
    • Run composer update (if the scripts fail, add --no-scripts)
    • Thoroughly test your application (no tests?)

    If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

    Reviewed by driesvints at 2020-03-11 14:41
  • 8. Laravel 5.6 Shift

    This pull request includes the changes for upgrading to Laravel 5.6. Feel free to commit any additional changes to the shift-6274 branch.

    Before merging, you should:

    • Checkout the shift-6274 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 5.6
    • Run composer update (if the pre-scripts fail, add --no-scripts)
    • Thoroughly test your application

    If you need help with your upgrade, check out the Shift Human Services or join the Shifty Coders Slack room to get answers to all your Laravel questions.

    Reviewed by driesvints at 2018-02-11 11:04
  • 9. Laravel 9.x Shift

    This pull request includes the changes for upgrading to Laravel 9.x. Feel free to commit any additional changes to the shift-60141 branch.

    Before merging, you need to:

    • Checkout the shift-60141 branch
    • Review all pull request comments for additional changes
    • Run composer update (if the scripts fail, add --no-scripts)
    • Clear any config, route, or view cache
    • Thoroughly test your application (no tests?, no CI?)

    If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

    Reviewed by driesvints at 2022-04-06 14:09
  • 10. Trying to get in touch regarding a security issue

    Hey there!

    I belong to an open source security research community, and a member (@hdvinnie) has found an issue, but doesn’t know the best way to disclose it.

    If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

    Thank you for your consideration, and I look forward to hearing from you!

    (cc @huntr-helper)

    Reviewed by JamieSlome at 2021-12-10 15:25
  • 11. PHPUnit to Pest Converter

    This pull request contains changes for migrating your test suite from PHPUnit to Pest automated by the Pest Converter.

    Before merging, you need to:

    • Checkout the shift-49229 branch
    • Review all of the comments below for additional changes
    • Run composer update to install Pest with your dependencies
    • Run vendor/bin/pest to verify the conversion
    Reviewed by jasonmccreary at 2021-09-02 18:06
  • 12. Ban reason

    Open a modal when clicking the ban button. This modal contains a text field that's required to be filled in to internally reference so we always know the reason why a user got banned.

    Reviewed by driesvints at 2022-06-10 08:04
  • 13. Display article pageviews by using the Fathom API

    I think it could be cool if we could show the total pageviews an article has received. We could set up a scheduled task that dispatches queued jobs to call the Fathom API to update the counter in the database. The total pageviews are probably gotten from the moment the article was published so we'll need to use the publishing date as a start point.

    https://usefathom.com/api

    Updating this value can be done once or twice a day maybe? Not sure.

    In terms of UI an "x times read" can be shown under the title next to the other meta data as well as on the article overview in the page previews somewhere.

    This could also be a neat thing to kickstart the user dashboard again at some point which can aggregate the total reads of a user's articles.

    Reviewed by driesvints at 2022-02-23 14:29
  • 14. Document new API

    We should add some documentation for the new API sent in at https://github.com/laravelio/laravel.io/pull/793.

    I'm not sure if we should use a certain API documentation tool or just try to incorporate it into the current design.

    Reviewed by driesvints at 2022-01-08 13:53
Attendize is an open-source ticket selling and event management platform built on Laravel.
Attendize is an open-source ticket selling and event management platform built on Laravel.

Attendize is an open-source ticketing and event management application built using the Laravel PHP framework. Attendize allows event organisers to sel

Jun 28, 2022
Laravel e-commerce Application.

Antvel Introduction Antvel is an ecommerce project written in Laravel 5.* intended for building a friendly eStore either for startups or big companies

May 5, 2022
A Laravel publishing platform
A Laravel publishing platform

Introduction Canvas is a fully open source package to extend your existing Laravel application and get you up-and-running with a blog in just a few mi

Jun 30, 2022
Vuedo is a blog platform, built with Laravel and Vue.js.
Vuedo is a blog platform, built with Laravel and Vue.js.

Vuedo What is Vuedo? Vuedo is an open source project built with Laravel and Vue.js. It is a live example of how everything works together. Interested

Jun 15, 2022
Examples of using each Illuminate component in non-Laravel applications
Examples of using each Illuminate component in non-Laravel applications

Torch - Using Laravel's Illuminate Components Independently Torch is a project to provide instructions and examples for using Illuminate components as

Jun 16, 2022
The Laravel.io Community Portal.

Laravel.io This is the repository for the Laravel.io community portal. The code is entirely open source and licensed under the MIT license. We welcome

Jun 24, 2022
The Laravel.io Community Portal.

Laravel.io This is the repository for the Laravel.io community portal. The code is entirely open source and licensed under the MIT license. We welcome

Jun 29, 2022
Raspberry Pi wifi hotspot with an offline-first community portal. Optionally shares internet access over Tor.
Raspberry Pi wifi hotspot with an offline-first community portal. Optionally shares internet access over Tor.

Raspberry Pi wifi hotspot with an offline-first community portal. Optionally shares internet access over Tor.

Jun 8, 2022
PHP Laravel, MySQL and AIML chatbot engine and admin portal

Lemur Engine The Lemur Engine is a PHP/MySQL/AIML Chatbot. Written using the Laravel Framework. Demo You can demo the bot at the website: https://lemu

Jun 2, 2022
Joomla eHealth Portal
Joomla eHealth Portal

eHealth Portal (1.0.5) eHealth Portal is a secure web-based viewer that offers health care providers that may not have access to one of the provincial

May 27, 2022
Quickly deploy a seedbox with self-hosted services and a web portal using Docker and docker-compose.
Quickly deploy a seedbox with self-hosted services and a web portal using Docker and docker-compose.

Seedbox Quickly deploy and configure a seedbox with self-hosted services and a web portal using Docker and a single docker-compose.yml file. Screensho

Jun 6, 2022
It is an online portal to upload and download necessary documents.
It is an online portal to upload and download necessary documents.

Sidrive It is an online portal where different users can upload there necessary documents and they can download those documents whenever required. It

Oct 18, 2021
A web portal for university students to book laboratory sessions for course modules.

Lab-Booking-System A web portal for university students to book laboratory sessions for course modules. The frontend is built using HTML and CSS and t

Oct 29, 2021
:de::fuelpump: Tankersparnis Portal zur einfachen Berechnung des gesparten Geldes beim Tanken von Gas gegenüber herkömmlichen Kraftstoffen.
:de::fuelpump: Tankersparnis Portal zur einfachen Berechnung des gesparten Geldes beim Tanken von Gas gegenüber herkömmlichen Kraftstoffen.

⛽ Tankersparnis.net Tankersparnis.net ist ein Portal zur einfachen Berechnung des gesparten Geldes beim Tanken von Gas gegenüber herkömmlichen Kraftst

Mar 9, 2022
This is a simple PHP Student Portal. You can login, logout, register, and view your details.
This is a simple PHP Student Portal. You can login, logout, register, and view your details.

Student-Portal This is a simple PHP Student Portal with a MySQL Database. I made this as part of a university assignment, so you can login, logout, re

Feb 12, 2022
Customer Relationship Management (CRM) portal using PHP Codeigniter 4 & Tailwind CSS framework.
Customer Relationship Management (CRM) portal using PHP Codeigniter 4 & Tailwind CSS framework.

CRM Portal Customer Relationship Management (CRM) portal using PHP Codeigniter 4 & Tailwind CSS framework. Screenshots User (Dashboard) Admin (Employe

Feb 2, 2022
ZAP CRM is Customer Relationship Management portal built using PHP Codeigniter 4 & Tailwind CSS framework.
ZAP CRM is Customer Relationship Management portal built using PHP Codeigniter 4 & Tailwind CSS framework.

ZAP CRM ZAP CRM is Customer Relationship Management portal built using PHP Codeigniter 4 & Tailwind CSS framework. Screenshots User (Dashboard) Admin

Feb 2, 2022
A functional Prison Management Portal completely developed on php

A functional Prison Management Portal completely developed on php, Inspired by existing models. With interactive modules, and high scalability because of MySQL.

Feb 7, 2022
Web portal dedicated to the publication of data in the form of vector tiles

Géotuileur Ce projet constitue un portail web pour l'API entrepôt dédié à la publication de données sous forme de tuiles vectorielles. Ce dépôt ne con

May 9, 2022
CaraCracha - a captive portal project made for ISPs on my old city

CaraCracha - a captive portal project made for ISPs on my old city, Sobradinho, state of Bahia, Brazil. I found its code recently and hope it could be useful for someone.

Mar 9, 2022