Download the PHP package hwai/slim-skeleton without Composer

On this page you can find all versions of the php package hwai/slim-skeleton. 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 slim-skeleton

slim-skeleton Project

Introduction

Welcome to the Slim HWAI Project! This project provides a boilerplate setup using the Slim Framework, a PHP micro-framework designed for creating simple yet powerful web applications. This setup is intended to streamline the process of starting a new PHP project with Slim by providing a ready-to-use skeleton.

Installation

To install the Slim HWAI project, you will need Composer, a dependency management tool for PHP. Follow these steps to create a new project:

  1. Ensure Composer is Installed: Make sure you have Composer installed on your system. You can download it from getcomposer.org.

  2. Create a New Project: Run the following command in your terminal to create a new project based on the Slim HWAI boilerplate:

    This command will create a new directory with the Slim HWAI project structure and install all necessary dependencies.

Project Structure

After installation, you will have a project with the following structure:

Running the Application

To start the application and view it in your web browser, you can use the built-in PHP web server. Navigate to the root directory of your project and run:

This will start a local server at http://localhost:8080. Open this URL in your browser to view your application.

Configuration

Configuration files are located in the config/ directory. Here, you can adjust settings specific to your environment, such as database credentials, environment variables, and other configuration parameters.

Development and Contribution

If you wish to contribute to the development of this project, follow these steps:

  1. Fork the Repository: Click on the "Fork" button at the top-right of the repository page on GitHub.

  2. Create a Feature Branch: Create a new branch for your feature or bug fix:

  3. Make Changes: Implement your changes and test them locally.

  4. Submit a Pull Request: Push your changes to your forked repository and open a Pull Request (PR) on the original repository, providing a clear description of the changes you made.

Issues and Support

If you encounter any issues or have questions about the project, please:

  1. Open an Issue on GitHub with a detailed description of the problem or question.
  2. Contact us via email at [email protected] for additional support.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

luma-new-back

Routing

Register

📍 Endpoint

POST /register

📝 Description

تُستخدم هذه النقطة لتسجيل مستخدم جديد في النظام. يجب إرسال جميع البيانات المطلوبة في جسم الطلب بصيغة JSON.


📤 Request Headers

Header Value
Content-Type application/json
Accept application/json

📦 Request Body (JSON)

🔒 ملاحظات:

  • privacy_policy يجب أن تكون 1 لتأكيد الموافقة على الشروط.
  • يجب أن تطابق password_confirmation كلمة المرور.
  • user_type يمكن أن تكون Student, Teacher, أو نوع آخر حسب النظام.

✅ Successful Response (201 Created)


❌ Error Response Example


📌 Notes


🧪 Example using cURL

Login

📍 Endpoint

POST /login

الوصف

نقطة النهاية /login تُستخدم لتسجيل دخول المستخدمين عبر إرسال بيانات البريد الإلكتروني وكلمة المرور.
تقوم الخدمة بالتحقق من صحة البيانات، التحقق من حالة المستخدم، تسجيل المحاولات، وإنشاء توكن JWT في حالة النجاح.


طلب تسجيل الدخول (Request)

جسم الطلب (Body)


استجابة ناجحة (Success Response)

مثال على الاستجابة


استجابة في حالة الخطأ (Error Response)

مثال على استجابة خطأ في حالة بيانات غير صحيحة أو فشل تسجيل الدخول


All versions of slim-skeleton with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
slim/slim Version 4.*
slim/psr7 Version ^1.7
nyholm/psr7-server Version ^1.1
guzzlehttp/psr7 Version ^2
sapphirecat/slim4-http-interop-adapter Version ^1.1
laminas/laminas-diactoros Version ^3.3
tuupola/slim-basic-auth Version ^3.3
slim/http Version ^1.3
tuupola/cors-middleware Version ^1.4
intervention/image Version ^3.3
phpmailer/phpmailer Version ^6.9
illuminate/database Version ^11.0
robmorgan/phinx Version ^0.16.0
guzzlehttp/guzzle Version ^7.8
amphp/http-server Version ^3.3
amphp/amp Version ^3.0
amphp/socket Version ^2.3
react/stream Version ^1.4
defuse/php-encryption Version ^2.4
predis/predis Version ^2.2
twig/twig Version ^3.11
slim/twig-view Version ^3.4
symfony/console Version 6.4
nyholm/psr7 Version ^1.8
spiral/roadrunner-http Version ^3.5
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 hwai/slim-skeleton contains the following files

Loading the files please wait ...