The essential news about content management systems and mobile technology. Powered by Perfect Publisher and XT Search for Algolia.
The News Site publishes posts to the following channels: Facebook, Instagram, Twitter, Telegram, Web Push, Tumblr, and Blogger.
The Laravel Updater package is a CLI command that can check for new versions of your application and upgrade to the latest version with one command.
It works by running the php artisan updater:update
command, which checks for a new release on GitHub, updates to the
latest version, and does the following:
optimize
commandThis package has some configuration options, such as turning on maintenance mode before the update and then disabling it after the update completes. You can also run custom pipelines before and after the update. Lastly, you can define a custom "repository source" that would enable you to check whatever source you want to see if updates are available.
If you want to update the application via a user interface programmatically, you can run the following method provided by this package:
use Salahhusa9\Updater\Facades\Updater;
Updater::update();
Check out the Laravel Updater documentation for setup instructions and package configuration options.
The post Automatically Upgrade your Laravel Application with the Laravel Updater package appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/laravel-updater
MongoDB has taken over development of the community-driven MongoDB integration for Laravel framework! This means you can expect regular updates with improvements to the functionality, bug fixes, and compatibility with most recent Laravel and MongoDB releases.
Formerly known as jenssegers/laravel-mongodb, the library extends Eloquent, Laravel's ORM, offering Eloquent models, query builders, and transactions for a seamless experience for PHP developers working with MongoDB.
To use MongoDB with Laravel framework, check out the latest release of this library, which added support for Laravel 10 - Laravel MongoDB 4.0.0. If you’re just getting started with MongoDB PHP projects, they have a tutorial on how to build a Laravel + MongoDB back end service and documentation for the library.
The post MongoDB Laravel Integration Now Officially Supported appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/mongodb-laravel-integration
The Laravel Updater package is a CLI command that can check for new versions of your application and upgrade to the latest version with one command.
It works by running the php artisan updater:update
command, which checks for a new release on GitHub, updates to the
latest version, and does the following:
optimize
commandThis package has some configuration options, such as turning on maintenance mode before the update and then disabling it after the update completes. You can also run custom pipelines before and after the update. Lastly, you can define a custom "repository source" that would enable you to check whatever source you want to see if updates are available.
If you want to update the application via a user interface programmatically, you can run the following method provided by this package:
use Salahhusa9\Updater\Facades\Updater;
Updater::update();
Check out the Laravel Updater documentation for setup instructions and package configuration options.
The post Automatically Upgrade your Laravel Application with this Package appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/laravel-updater
This article is a comprehensive introduction to the concept of PHP namespaces, offering readers a lucid and insightful explanation of their significance and practical application. It dives into the intricacies of namespace syntax, covering key aspects such as declaration and referencing, sub-namespaces, namespace importation, and aliasing for class names. Moreover, the article delves into the realm of autoloading with namespaces, aligning with the PSR-4 standard and showcasing how Composer streamlines the autoloading process.
To streamline and enhance your PHP project’s namespace management, you can explore PHP-Prefixer, an automated online service powered by a complex rule-based system. PHP-Prefixer simplifies the process of applying prefixes to Composer dependencies, ensuring a consistent and organized namespace structure in your project. You can try it out to improve your code organization and namespace management.
Read more @ Understanding PHP Namespaces: Organising Your Code
The post Mastering PHP Namespaces: A Comprehensive Guide appeared first on PHP Prefixer Blog.
Read more https://blog.php-prefixer.com/2023/11/09/mastering-php-namespaces-a-comprehensive-guide/
BookStack is a simple and free Wiki software offering a self-hosted, easy-to-use platform for organizing and storing information. Built on Laravel (v9 at the time of writing) and MySQL, this application is easy to get started with for Laravel developers looking for a polished application with a host of features for managing documentation and other content.
Bookstack offers a robust set of features:
BookStack is fully free and open, MIT licensed. The source is available on GitHub. There is no cost to downloading and installing your own instance of bookstack.
Simplicity has been the top priority when building BookStack. The page editor has a simple WYSIWYG interface and all content is broken into three simple real world groups: Book, Chapter, Pages
The content in BookStack is fully searchable. You are able to search at book level or across all books, chapters & pages. The ability to link directly to any paragraph allows you to keep your documentation connected.
Configuration options allow you to set-up BookStack to suit your use case. You can change the name, logo and registration options. You can also change whether the whole system is publicly viewable or not.
BookStack is built using PHP, on top of the Laravel framework and it uses MySQL to store data. Performance has been kept in mind and BookStack can run happily on a $5 Digital Ocean VPS.
The page editor within BookStack has diagrams.net drawing capability built-in, allowing the quick and easy creation of diagrams within your documentation.
BookStack users can set their preferred language. Thanks to great community contributors, current languages built into BookStack include EN, FR, DE, ES, IT, JA, NL, PL, RU and many more.
If you prefer to write in Markdown then BookStack supports you. A markdown editor is provided and includes a live-preview as you write your documentation.
As well as the default email/password login social providers such as GitHub, Google, Slack, AzureAD and more can be used. Okta, SAML2 and LDAP options are available for enterprise environments.
On top of the powerful search and linking there is also cross-book sorting, page revisions and image management. A full role and permission system allow you to lock down content and actions as required.
MFA is built in & can be enforced at a per-role level where desired. MFA options include TOTP (Google/Microsoft Authenticator, Authy, etc...) and static backup codes.
BookStack provides its user interface in both a light theme and a dark theme, saving the eyes of those that prefer to work in the shadows. This is configurable at a user level.
To get started, check out the main BookStack website.
The source code is hosted on GitHub, which is an excellent learning opportunity to review a production-ready Laravel application. Alongside the web application, the source code includes a Bookstack API. Finally, check out the live demo of the user and admin-facing application.
The post BookStack is a simple and free Wiki software Written in Laravel appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/bookstack-documentation-wiki-software