Best of PHP — October 2023
- 1
- 2
Community Picks·2y
Viewi - Reactive application for PHP
Viewi is a reactive application framework for PHP that allows you to create web applications with both server-side and client-side reactivity. It provides a simple template engine and built-in router, allowing you to create components that maintain their own state and update the view accordingly. You can easily integrate external libraries and frameworks with Viewi, such as the 'marked' library for real-time conversion of text into markdown HTML. Viewi offers a new approach to writing web applications, avoiding the need for a separate JavaScript framework and providing a seamless experience for both developers and users.
- 3
Community Picks·2y
Hacking Laravel Prompts for Fun and Profit
The article explores the use of Laravel Prompts to create interactive text-based user interfaces (TUIs). It discusses the structure of Prompts, the program flow, and how to build TUIs using the library. The article also provides a step-by-step guide to creating a simple Kanban board using Laravel Prompts.
- 4
- 5
Hacker Noon·3y
Is PHP The Middle Child Of Web Development?
PHP's evolution into modern versions, such as PHP 8, has made it more secure and scalable for enterprise-level applications. The key reasons for PHP's continued popularity include its user-friendly nature, accessibility, and early adoption by startups for rapid and cost-effective development.
- 6
- 7
- 8
Laravel News·3y
Configure and Display a Schedule of Opening Hours in PHP
A PHP package called Opening Hours by Spatie allows users to query and format business operating hours, including exceptions for holidays and other specific dates. The package offers extensive configuration options and can be used in any PHP project.
- 9
W endell Adriel·2y
Understanding Value Objects in PHP
Value Objects are small, immutable objects that encapsulate related data together. They improve code quality, reduce duplication, and make the code more understandable. Value Objects are different from Data Transfer Objects, which are used for data transfer between different parts of an application.
- 10
Java Code Geeks·3y
Unlocking Digital Success: The Power of PHP Development
PHP development is important due to its versatility, cost-effectiveness, and wide adoption. It offers server-side scripting capabilities, a large and active community, and scalability. Key aspects of PHP development include mastering PHP's syntax, server-side scripting, database handling, frameworks and libraries, security practices, performance optimization, API integration, and more. Custom PHP web applications provide tailored user experiences, scalability, optimized performance, unique features, enhanced security, optimized SEO strategies, integration capabilities, ownership and control, brand consistency, and responsive support and maintenance.
- 11
Laravel News·3y
LangCountry is a Localization Package for Laravel
LangCountry is a localization package for Laravel that provides automatic date formatting, language switching, and more. It offers a configurable set of supported languages and countries, middleware for setting the locale and country of the user, optional language switcher UI component, date/time helpers, language helpers, currency helpers, and the ability to store the user's preferred language in the database.
- 12
- 13
- 14
- 15
Community Picks·3y
Symfony 7.0 Type Declarations (Symfony Blog)
Symfony is adding PHP type declarations to its code, with the goal of adding every possible PHP type declaration in Symfony 7.0. The changes include adding return types to methods, adding the 'void' return type, and adding types to class properties. Applications can be prepared by making changes in Symfony 6.4 and using the type patcher utility provided by Symfony.