Download the PHP package sandromiguel/php-sceleto without Composer

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

PHP Sceleto

Welcome to PHP Sceleto

A PHP directory structure for my libraries.

PHP Sceleto is a directory structure template designed for creating PHP libraries. It provides a well-organized skeleton that I use for my PHP library projects and have decided to share with the community. This template is intended to streamline the development of PHP libraries, saving you time on initial setup and configuration.

Features

Directory structure

Files and Folders

Files and folders overview.

File/Folder Description
src/ Source code of the application
src/SomeClass.php Example PHP class file (SomeClass)
src/AnotherClass.php Example PHP class file (AnotherClass)
src/tests/ Tests directory
tests/SomeClassTest.php PHPUnit test case for SomeClass (Example class)
tests/AnotherClassTest.php PHPUnit test case for AnotherClass (Example class)
logs/ Log files (e.g., code coverage report)
docs/ Documentation files (e.g., PHPDoc)
vendor/ Composer vendor directory contains your dependencies
.editorconfig IDE coding style settings
.gitignore Files and directories that Git should ignore
.htaccess Hypertext access file for Apache configuration
composer.json Composer dependencies
composer.lock Composer lock file
phpunit.xml.dist PHPUnit configuration file
LICENSE License document
CONTRIBUTING.md Contributing guidelines
README.md This document

Getting Started

Follow these steps to use PHP Sceleto as a starting point for your PHP library:

Step 1 - Create a new project using Composer:

Replace your-php-library with your desired name

Now, you have a clean slate to begin developing your PHP library independently. You can add your own code, configuration, and documentation within the provided directory structure.

Step 2 - Bonus: Continue Your Project Setup

If you wish to further enhance your project and follow best practices, consider continuing your project setup with Some Awesome Project. Some Awesome Project provides a set of guidelines and additional configurations that can make your project development even more efficient.

Composer commands

You can use Composer commands to streamline various development tasks. Here are the available commands and how to run them:

Check for Outdated Dependencies

To check for outdated Composer dependencies that are defined directly in your project, run:

Run PHP CodeSniffer

To run PHP CodeSniffer on the source code in the src/php directory, use the following command:

Run PHP CodeSniffer on a Specific File

For running PHP CodeSniffer on a specific file, use the following command, replacing [file] with the path to your target file:

Analyze Code Quality and Architecture

To analyze code quality and architecture with PHP Insights, run:

Generate PHP Metrics Report

Generate a PHP Metrics report and display the Node.js version with:

Run PHPStan Analysis

For PHPStan analysis with level 7 on the source code in the src/php directory, use:

Run Psalm Static Analysis

To run Psalm static analysis, simply use:

Tail Application Logs

To tail the application log located at ./storage/log/app.log, use:

Run PHPUnit Tests

For running PHPUnit tests, execute:

To run PHPUnit tests with filtering, execute:

Run PHPUnit Tests with Coverage Report

To run PHPUnit tests and generate a coverage report in the log/report directory, use:

Credits

Contributing

Want to contribute? All contributions are welcome. Read the contributing guide.

Questions

If you have questions tweet me at @sandro_m_m or open an issue.

Changelog

See CHANGELOG.md

License

This project is licensed under the MIT License - see the LICENSE file for details

~ sharing is caring ~


All versions of php-sceleto with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
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 sandromiguel/php-sceleto contains the following files

Loading the files please wait ....