Download the PHP package thomas-thony/safephp without Composer

On this page you can find all versions of the php package thomas-thony/safephp. 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 safephp

SafePHP PHP

Tests

GitHub Repo stars GitHub forks

Sommaire

Contribution au projet

Le projet SafePHP est en open source et libre de toute utilisation, que ce soit personnelle comme pédagogique. Vous pouvez bien évidement contribuer activement au projet en faisant des fixs, des tests, des features ou en complétant les différentes documentations par exemple. Vous pouvez me conctacter à l'adresse mail [email protected] .

Introduction

Pourquoi faire SafePHP

SafePHP est une librairie PHP qui permet d'implémenter des moyens de cybersécurité facilement !
Cela rend le développement de moyens de cybersécurité rapide, efficace et facile à maintenir.

Avant toute chose

Ce projet a été fait par un étudiant en informatique, avec le moins d'utilisation d'IA possible (Pas même pour la documentation), et vérification auprès de communautées certifiées quand c'est le cas. Je vous remercie d'être indulgent sur la qualité de code mais en étant pédagogique sur l'apport d'améliorations (dans le code ou simplement la manière de faire, tous les avis sont bon à prendre), ce projet a pour but de faciliter la vie des développeurs pour la cybersécurité. J'espère évidement que SafePHP sera utilisé par le plus grand nombre de développeurs et/ou qu'il sera maintenu par les plus enthousiastes de la libraire.

Contenu de la librairie

Cette librairie contient plusieurs fichiers de configuration qui sont à disposition dans le dossier config comme :

Outils requis

Composer : Version 2.9.3 \ PHP : Version 8.0.0 minimum \ Serveur LAMP ou XAMP

Installation

Vous pouvez l'installer avec composer :

N'oubliez pas d'installer les dépendences associées pour assurer le bon fonctionnement du la librairie:

Windows :

Linux :

Configuration générale

Avant de pouvoir utiliser pleinement SafePHP, pensez à importer les fichiers de configuration présents dans ./config à la racine de votre projet et de mettre vos variables d'environnement à jour dans le fichier .env .

Utiliser les variables d'environnement

La classe Secret permet de gérer l'importation de votre fichier .env .

Utilisation générale

La documentation détaillée des classes est disponible à cette adresse : https://safephp.alwaysdata.net/docs/

SafePHP (Alpha Version) PHP

Summary

The SafePHP project is in open-source and free of usage, for personal or educative purpose. You can of course contribute by doing fixes, tests, creating new features or documentation. To join me, you can e-mail me at [email protected].

Introduction-Bis

Why make SafePHP

SafePHP is a PHP library that allows to implement cybersecurity means easily!
This makes the development of cybersecurity means fast, effective and easy to maintain.

Before anything

This project was made by a student in computer science, with the least AI as possible (not even for documentation), and verification with certified communities when it was used. Thank you for being lenient on the quality of the code but by being educational about making improvements (in the code or simply the way to do it, all opinions are good), this project aims to facilitate developers for cyber-security. Of course, I hope SafePHP will be used by the most of people and/or will be maintenend by the most enthousiats of the library.

Library's content

Even more, a couple of configuration's files are aviables in the folder config like :

A file for Apache configuration nammed .htaccess A .env.example file where use your's environnement variables A php.ini file with modules enables & disabled by default

Requirements

Composer : Version 2.9.3 \ PHP : Version 8.0.0 at least \ LAMP or XAMP server

Installation

You can install the library with composer like this :

Don't forget to install all dependences linked to the library to ensure the good utility :

Windows :

Linux :

Global configuration

Before fully use SafePHP, don't forget to import your files of configuration in ./config in the root folder of your project and update your environnement variables in the .env file.

Use environnement variables

The class Secret can manage importation of .env file.

Global usage

The detailled documentation of classes is aviable here : https://safephp.alwaysdata.net/docs/


All versions of safephp with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.0
vlucas/phpdotenv Version ^5.6
phpdocumentor/shim Version ^3.9
phpmailer/phpmailer Version ^7.0
monolog/monolog Version ^3.10
cyclonedx/cyclonedx-php-composer Version ^6.1.0
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 thomas-thony/safephp contains the following files

Loading the files please wait ...