The Laravel.io Community Portal.

Overview

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.

Comments
  • Style ads

    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
    opened by joedixon 23
  • Notifications

    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.

    opened by LucasLeandro1204 21
  • Laravel 8.x Shift

    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.

    opened by driesvints 20
  • Laravel 5.8 Shift

    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.

    opened by driesvints 20
  • Laravel 5.5 Shift

    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.

    opened by driesvints 15
  • Weird HTML/CSS issue in pastebin

    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?

    bug 
    opened by anlutro 15
  • Laravel 7.x Shift

    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.

    opened by driesvints 14
  • Laravel 5.6 Shift

    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.

    opened by driesvints 13
  • Laravel 9.x Shift

    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.

    opened by driesvints 12
  • Trying to get in touch regarding a security issue

    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)

    opened by JamieSlome 12
  • PHPUnit to Pest Converter

    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
    opened by jasonmccreary 11
  • Document new API

    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.

    enhancement 
    opened by driesvints 4
  • Disconnect and connect GitHub account

    Disconnect and connect GitHub account

    Users should be able to connect or disconnect their GitHub account after creating their account. Should be a new box on the settings page. Connecting their GitHub account will fill in their GitHub username.

    Explain why we ask to connect their GitHub account (as opposed to let them fill in a text field for their username):

    1. We offer social authentication this way
    2. We use their GitHub account to verify they're real persons (and not bots)
    3. We integrate with GitHub for upcoming features
    enhancement 
    opened by driesvints 2
  • GitHub usernames should be unique

    GitHub usernames should be unique

    Filter out any duplicates with:

    SELECT
        github_username,
        COUNT(github_username)
    FROM
        users
    GROUP BY
        github_username
    HAVING
        COUNT(github_username) > 1;
    
    SELECT
        *
    FROM
        users
    WHERE
        github_username = 'duplicate';
    

    These can actually be synced from their GitHub ID. We should run a queued job that goes over all accounts and syncs them. Maybe also a scheduled job or a GitHub webhook.

    enhancement help wanted 
    opened by driesvints 4
Releases(v2.1.3)
  • v2.1.3(Feb 14, 2015)

    • Temporarily use local storage for backups until S3 adapter has been fixed
    • Fix forgotten Laravel 5 tag indications (3db54bc0bbf5e0e2bd6c4f9f338b63492ee45ff9)
    Source code(tar.gz)
    Source code(zip)
  • v2.1.2(Feb 14, 2015)

    • Integrate Backup Manager package for DB backups (7c15dc1ef8be06b904e16ecf5508585a2f4b9fc5)
    • Add Laravel 5 tag to threads (#212)
    • Removed unused contributors functionality (f3ea49b821117b3cddb71ac9dd22c018d1a14706)
    • Allow users to update their usernames (38af463c50476e2be47c29d0c4ae300e90fd29c0)
    • Several bug fixes
    Source code(tar.gz)
    Source code(zip)
  • v2.1.1(Dec 14, 2014)

  • v2.1.0(Dec 14, 2014)

    • Allow users to choose their email address and username on signup (bd860003d0169533fe76535b4f406cb5d982d7d5)
    • Add user settings page (86df6f9fca073bf1ed462a6201697175c3e3b415)
    • Implemented E-mail confirmation (e21f37f98e3f36f2075a7ac7124f06a96e44c1c9)
    • Activated Mandrill for e-mail sending (63584c9c0d8014e191c4e0dc616a849a23374cfc)
    • Use Snappy for customer support (4550fb72deb0b30632c45b0d004a180a40377edf)
    • Started logging of ip addresses for users, threads and replies (e48544b0b6035d2870bc2e5e4b1aaece1fb901f1)
    • Implemented filtering on phone numbers for threads and implement auto-banning of spammers (8910649997673886e45790212f6bbcdaed79e76b)
    • Reworked footer (2104eb3f11ccf6ec9ba5c3ac4fa97a73f7ab76a9)
    • Added a navigation item for admins (79741f872aa0de3316c1dcb4fde48d10ee7e01d5)
    • Fixed a bug with reply time indication (#209, 351b0adbe554f202cd83ccd623ab3082c8f9987e)
    Source code(tar.gz)
    Source code(zip)
  • v2.0.12(Dec 6, 2014)

  • v2.0.11(Nov 9, 2014)

    • Implement Captcha on user registration (2dfecdf9058ab17fa0a53e0ec96cf1e83694edcd)
    • Implement pinned threads (c566bbc46e03326b9ae4a3e078ec993c76c29c0a)
    • Hide email and remember_token from public api (#200)
    Source code(tar.gz)
    Source code(zip)
  • v2.0.10(Nov 3, 2014)

    • Implemented new anti-spam solution (#192)
    • New moderator tool (https://github.com/LaravelIO/laravel.io/commit/c9b1f32c5c5a78e0625a7b1bf16dcdfc28054aec)
    • Updated dependencies (#191, #195)
    • Fixed an issue with tests on Windows (#194)
    Source code(tar.gz)
    Source code(zip)
  • v2.0.9(Nov 2, 2014)

  • v2.0.8(Oct 17, 2014)

  • v2.0.7(Oct 17, 2014)

  • v2.0.6(Sep 21, 2014)

  • v2.0.5(Sep 10, 2014)

  • v2.0.4(Sep 4, 2014)

  • v2.0.3(Aug 23, 2014)

    • The pastebin is now responsive thanks to @mattstauffer (#155)
    • When browsing user threads/replies in a user profile, you may now click the user profile image to quickly go back to the main user profile page (#147)
    • Added a detailed contribution guide (#148)
    • Refactored test suite and integrated Travis CI
    • Better naming for pastebin shortcuts (#157)
    • Fixed a bug where pastebin buttons weren't clickable (#156)
    • Bugfixes
    Source code(tar.gz)
    Source code(zip)
  • v2.0.2(Aug 18, 2014)

  • v2.0.1(Aug 17, 2014)

  • v2.0.0(Aug 17, 2014)

  • v1.0.0(Aug 17, 2014)

Owner
Laravel.io
The Laravel Community Portal
Laravel.io
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

Attendize 3.6k Jan 6, 2023
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

Antvel - Official 650 Dec 28, 2022
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

Todd Austin 3.1k Jan 2, 2023
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

vuedo 2.3k Dec 24, 2022
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

Matt Stauffer 1.7k Dec 30, 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

Laravel.io 2.2k Dec 30, 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

Laravel.io 2.2k Dec 23, 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.

Martti Malmi 17 Dec 15, 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

The Ramen Robot Disco Code 18 Nov 8, 2022
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

Namibia 19 Oct 8, 2022
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

null 6 Dec 7, 2022
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

Siddharth Saxena 1 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

Shubham Singh 1 Oct 29, 2021
: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

RundesBalli 9 Aug 31, 2022
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

Christine Coomans 3 Feb 12, 2022
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

Dawood Khan Masood 5 Feb 2, 2022
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

Dawood Khan Masood 5 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.

Tuhin Chakrabarty 3 Jul 16, 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

Institut National de l'Information Géographique et Forestière 8 Nov 21, 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.

Laudivan Freire de Almeida 2 Mar 9, 2022