Download the PHP package flexyourrights/openpolice without Composer

On this page you can find all versions of the php package flexyourrights/openpolice. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package openpolice

FlexYourRights/OpenPolice

Laravel Survloop License: GPL v3

Table of Contents

About

Code bytes measured as stored on Mac disk:

<a href="https://packagist.org/packages/flexyourrights/openpolice-departments" target="_blank"

Separate package:

  • Survloop-Generated PHP Police Departments & Oversight Seeders ~ 15.9 MB

OpenPolice is an open-source, open data web app empowering citizens to prepare, file, and track reports of police conduct. The site helps users submit complaints or commendations to appropriate police oversight agencies. By allowing users to publish reports online, we aim to establish better public transparency and oversight of police activity in the U.S. OpenPolice extends Survloop, which runs atop Laravel.

OpenPolice.org This software began as an internal tool to design our database, then prototype survey generation. Then it was adapted to the Laravel framework, and has continued to grow towards a content-management system for data-focused websites.

The upcoming OpenPolice web app can be tested out here, feedback welcome via the end of the beta demo submission process: /file-your-police-complaint The resulting database designed using the engine, as well as the branching tree which specifies the user's experience: /db/OP, /tree/complaint Among other methods, the resulting data can also be provided as XML included an automatically generated schema: /complaint-xml-schema, /complaint-xml-example, /complaint-xml-all

Requirements

Getting Started

Installing OpenPolice

Full install instructions also describe how to set up a development environment using VirutalBox, Vargrant, and Laravel's Homestead. For these instructions, the new project directory is 'myopenpolice'.

Install Laravel, Survloop, & OpenPolice on Homestead

Edit these lines of the environment file to connect the default MYSQL database:

Next, install Laravel's out-of-the-box user authentication tools, Survloop, and the OpenPolice.org software:

From your Laravel installation's root directory, update composer.json to require and easily reference OpenPolice:

Hopefully, editing config/app.php is no longer needed, but this can be tried if later steps break.

If installing on a server, you might also need to fix some permissions before the following steps...

Clear caches and publish the package migrations...

With certain databases (like some managed by DigitalOcean), you may need to tweak the Laravel migration:

Add this line before the "Schema::create" line in each file:

Then initialize the database:

Initialize OpenPolice Installation

Then browsing to the home page should prompt you to create the first admin user account:
http://myopenpolice.local

If everything looks janky, then manually load the style sheets, etc:
http://myopenpolice.local/css-reload

After logging in as an admin, this link rebuilds many supporting files:
http://myopenpolice.local/dashboard/settings?refresh=2

Documentation

Once installed, documentation of this system's database design can be found at /dashboard/db/all . This system's user experience design for data entry can be found at /dashboard/tree/map?all=1&alt=1 or publicly visible links like those above.

Better documentation is juuust beginning to be created...
openpolice.org/code-package-files-folders-and-classes

More on the Survloop level is also starting here:
survloop.org/package-files-folders-classes.

Roadmap

Here's the TODO list for the next release (1.0). It's my first time building on Laravel, or GitHub. So sorry.

Contribution Guidelines

Please help educate me on best practices for sharing code in this community. Please report any issue you find in the issues page.

Reporting a Security Vulnerability

We want to ensure that Open Police Complaints is a secure HTTP open data platform for everyone. If you've discovered a security vulnerability in OpenPolice.org, we appreciate your help in disclosing it to us in a responsible manner.

Publicly disclosing a vulnerability can put the entire community at risk. If you've discovered a security concern, please email us at rockhoppers at runbox.com. We'll work with you to make sure that we understand the scope of the issue, and that we fully address your concern. We consider correspondence sent to rockhoppers at runbox.com our highest priority, and work to address any issues that arise as quickly as possible.

After a security vulnerability has been corrected, a release will be deployed as soon as possible.


All versions of openpolice with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package flexyourrights/openpolice contains the following files

Loading the files please wait ....